Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem generating views for EF
Message
 
 
To
All
General information
Forum:
ASP.NET
Category:
Entity Framework
Title:
Problem generating views for EF
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01605591
Message ID:
01605591
Views:
36
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
Reply
Map
View

Click here to load this message in the networking platform