Skip to content

Instantly share code, notes, and snippets.

@rasikag
Created March 19, 2017 07:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasikag/69722e707edd5b12e2bd7d25312c184f to your computer and use it in GitHub Desktop.
Save rasikag/69722e707edd5b12e2bd7d25312c184f to your computer and use it in GitHub Desktop.
An error occurred while calling method 'ConfigureServices' on startup class 'Startup'. Consider using IDbContextFactory to override the initialization of the DbContext at design-time. Error: This method could not find a user secret ID because the application's entry assembly is not set. Try using the ".AddUserSecrets(string userSecretsId)" or ".AddUserSecrets<TStartup>()" method instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment