Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

350+ errors: The type 'blah.blah.blah' already contains a definition?

What does this mean. Is it because I have two different .DBML files that contain the same database table?

...
Error   343 The type 'mvc.Models.Bundle' already contains a definition for 'BundleIcon' C:\inetpub\wwwroot\Models\Assets1.designer.cs   3438    17  mvc
Error   344 The type 'mvc.Models.Bundle' already contains a definition for 'isScorm'    C:\inetpub\wwwroot\Models\Assets1.designer.cs   3459    15  mvc
Error   345 The type 'mvc.Models.Bundle' already contains a definition for 'scormPath'  C:\inetpub\wwwroot\Models\Assets1.designer.cs   3480    17  mvc
Error   346 The type 'mvc.Models.Bundle' already contains a definition for 'CompanyID'  C:\inetpub\wwwroot\Models\Assets1.designer.cs   3501    14  mvc
...
like image 765
MetaGuru Avatar asked Dec 29 '22 15:12

MetaGuru


1 Answers

Yes, if you keep them in the same namespace this would occurr.

like image 69
Robban Avatar answered Apr 06 '23 14:04

Robban