Hi everybody,
We're in the process of switching from EDMX to Code First using Reverse POCO. I added MetaData classes for autogenerated classes. Now when I tried to run the project I got an error about changed models and a need to re-generate the views. So I right-clicked on the DbContext file and chose EF menu, Generate views.
Unfortunately, that resulted in this error.
---------------------------
Microsoft Visual Studio
---------------------------
Unable to open configSource file 'db.config'. (C:\Users\Naomi\AppData\Local\Temp\tmp1BDD.tmp line 15)
---------------------------
OK
---------------------------
The db.config file is actually in the same project as DbContext file and it is not located in the AppData\Local but rather at
C:\_Siriusware\Main\SysManager\Siriusware.Data\db.config
Output Directory said 'Do not copy' in the properties for this file.
What should I do to re-generate the views?
Thanks in advance.
If it's not broken, fix it until it is.
My Blog