Multiple edml files in same project cause VS2010 Warning

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
r.m.saddler
Posts: 33
Joined: Thu 20 May 2010 08:57
Location: Wales, UK.

Multiple edml files in same project cause VS2010 Warning

Post by r.m.saddler » Thu 24 Jun 2010 15:35

Hi,

I have two models in my project pointing to different databases. After I add the second model I get a warning in VS2010 that states:

"Warning 2 Attribute 'System.Data.Objects.DataClasses.EdmSchemaAttribute' cannot be specified more than once in this project, even with identical parameter values."

The warning is trigged by this line of code in the EntityModel.Designer.vb file:



Is this something to be concerned about?

Thanks,

Rob.

Shalex
Site Admin
Posts: 8245
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 29 Jun 2010 16:33

I have reproduced this warning for the VB projects. Please ignore it.

r.m.saddler
Posts: 33
Joined: Thu 20 May 2010 08:57
Location: Wales, UK.

Post by r.m.saddler » Wed 30 Jun 2010 08:23

Great, as long as it's not a problem.

Thanks,

Rob.

Post Reply