CS1595 after installing VS2005 side by side with VS2003

G

Guogang Hu

I installed VS2005 and .Net 2.0. After the installation, my existing project
in VS2003 starting to show me this error message:

"
An unhandled exception of type 'System.InvalidOperationException' occurred
in system.xml.dll

Additional information: Unable to generate a temporary class (result=0).
warning CS1595: 'string' is defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\MSCORLIB.DLL'
warning CS1595: 'string' is defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\MSCORLIB.DLL'
warning CS1595: 'string' is defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\MSCORLIB.DLL'
warning CS1595: 'string' is defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\MSCORLIB.DLL'
warning CS1595: 'string' is defined in multiple places; using definition
from 'c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\MSCORLIB.DLL'
.... (followed by 900 similar lines.)
"

The project worked before and I did a recompile of the project which does
not seem to help.

Thanks for any suggestions.
 
G

Guogang Hu

I have used the "ULTIMATE" solution: uninstall .Net Framework 2.0. Now my
programs come back to life again (without re-compile).

Some clarifications:
the exceptions are generated during run-time on a WinForm application;
I ran a .Net 1.1 program that was compiled before I install the new .Net
2.0 framework, I get this exception;
then I tried to re-compile the solution and ran the program, I get the
same exception;

This seem to indicate that the installation of .NET 2.0 may interfere with
existing .Net 1.1 program.

Anyone with better solution or some insight please speak up, Thank you!
 

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