cakeforcerberus
cakeforcerberus

Reputation: 4657

"...ambiguous in the namespace..." errors when compiling VB.NET code

I'm getting a ton of errors like this when attempting to build an empty VB.NET project:

'GenerateCodeAttribute' is ambiguous in the namespace 'System.CodeDom.Compiler'

Is this some problem with my .NET installation?

Thanks

Upvotes: 4

Views: 9112

Answers (1)

Cryogen
Cryogen

Reputation: 176

Have you checked your references that you're not linked to multiple copies of core libs ?

If you've recently converted, this can happen.

Looks like this guy had the same issue:

http://vbcity.com/forums/t/161172.aspx

Upvotes: 6

Related Questions