'DesignGeneratedAttribute' is ambiguous in the namespace 'Microsoft.VisualBasic.CompilerServices'.

B

bennett.sean

This is in a Visual Studio 2005 project.

I don't know what caused this, but my app is unable to compile now.

I get 5 compiler errors that mention "...ambious in the namespace..."

Example:

'DesignGeneratedAttribute' is ambiguous in the namespace
'Microsoft.VisualBasic.CompilerServices'.

Example line of code it refers to:

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class DialogLoginInformation


All the compiler errors point to designer generated code, hence I am
hesitant to fiddle with it

The last thing I did before theses errors came up was remove some
references to some unused libraries.

Anyone know how to fix this?
 
B

bennett.sean

A reference to "Microsoft.VisualBasic" got added to the project and was
causing the "ambiguous" error.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top