- Where Developers Learn, Share, & Build Careers
I have an ASP.NET MVC4 web application project in .NET 4.5 (VS 2012). It is in VB. It fails to load the name of System.Data.Linq name (with all sections and sub-namespaces) in the project is a reference set System.Data.Linq.dll.
Any ideas where the problem is?
When I try to add Linq2Sql classes, I receive such a warning:
Specify the type specified in the namespace or import 'System.Data.Linq' The member is also not public or can not be found to make sure that the namespace or type is defined and it includes at least one public member, make sure that the name of the imported element does not use any aliases < P> and such errors: System.Data.Linq.DataContext But this is just the beginning: if I'm from the name of System.Data.Linq If I try to use anything, I get an error, for example if I try to use System.Data.Linq.Mapping.DatabaseAttribute, I get such an error: < Pre> type 'System.Data.Linq.Mapping.DatabaseAttribute' is not defined. I had this same problem - and was able to get past it. I am not completely sure which one of these steps has been solved - but this is what I have done.
- I originally created DBL under APICX / GCM
- I deleted
- I deleted the dBML and made it outside the epacaid folder
- I created the project (no errors / warnings)
- I took the DBML back into the epicode folder and made it again (no errors / warnings again) < / Li>
Hope you have to come over it.
Comments
Post a Comment