MircosoftEntityFrameworkCore for DB access
up vote
0
down vote
favorite
I am currently using Microsoft Entity Framework Core to create a DB context using the Options Builder. When I installed the MicrosoftEntityFrameworkCore from Nuget packages everything worked great. However, when I close my solutuin in Visual Studio and then re-open, I get the following error: The type initializer for Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder threw and exception. If I uninstall the Nuget package and reinstall, it works totally fine until I close the project and re-open, then I get the same error again. Git doesn't detect any differences from when I close to when I re-open the solution. What could be going on?
c# nuget entity-framework-core nuget-package
add a comment |
up vote
0
down vote
favorite
I am currently using Microsoft Entity Framework Core to create a DB context using the Options Builder. When I installed the MicrosoftEntityFrameworkCore from Nuget packages everything worked great. However, when I close my solutuin in Visual Studio and then re-open, I get the following error: The type initializer for Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder threw and exception. If I uninstall the Nuget package and reinstall, it works totally fine until I close the project and re-open, then I get the same error again. Git doesn't detect any differences from when I close to when I re-open the solution. What could be going on?
c# nuget entity-framework-core nuget-package
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am currently using Microsoft Entity Framework Core to create a DB context using the Options Builder. When I installed the MicrosoftEntityFrameworkCore from Nuget packages everything worked great. However, when I close my solutuin in Visual Studio and then re-open, I get the following error: The type initializer for Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder threw and exception. If I uninstall the Nuget package and reinstall, it works totally fine until I close the project and re-open, then I get the same error again. Git doesn't detect any differences from when I close to when I re-open the solution. What could be going on?
c# nuget entity-framework-core nuget-package
I am currently using Microsoft Entity Framework Core to create a DB context using the Options Builder. When I installed the MicrosoftEntityFrameworkCore from Nuget packages everything worked great. However, when I close my solutuin in Visual Studio and then re-open, I get the following error: The type initializer for Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkServicesBuilder threw and exception. If I uninstall the Nuget package and reinstall, it works totally fine until I close the project and re-open, then I get the same error again. Git doesn't detect any differences from when I close to when I re-open the solution. What could be going on?
c# nuget entity-framework-core nuget-package
c# nuget entity-framework-core nuget-package
asked 32 mins ago
LizP
11
11
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53416045%2fmircosoftentityframeworkcore-for-db-access%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown