"Could not parse configuration file ..." when I add EF6 to the solution

I get an error when I add EF6 to the solution. I think this also happens when I update a model from a database. The error appears in the "Exit" window immediately after adding EF: "Failed to parse the configuration file. Error message:" The library is not registered. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTRpton)) "Try editing the file manually and then saving it."

The β€œerror” does not seem to affect the compilation or launch of the application (or the EF function). However, such a mistake is always a concern when it is associated with technology, which should be the basis of your data management strategy.

+4
source share
1 answer

I believe that I have discovered a problem. I can play it on my development machine and on several other development machines.

I am using VS 2013. The solution I used included a second project, an installation / deployment project, an InstallShield Limited Edition project. If I delete this project, the errors disappear.

If I create a new project, add EF via Nuget, add the EF model to the solution, and then add this installation project, I can reproduce the error. If you try it yourself, just remember that you need to open the VS and the solution, open the model in the designer, click anywhere in the space of the design space, the error should appear in Output. Details are there in an earlier post.

+7

All Articles