4

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

1 Answer 1

6

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

Sign up to request clarification or add additional context in comments.

1 Comment

This helped me solve a similar issue. I had imported both C# and VB versions of a library.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.