Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem generating views for EF
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Entity Framework
Titre:
Problem generating views for EF
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01605591
Message ID:
01605591
Vues:
38
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
Répondre
Fil
Voir

Click here to load this message in the networking platform