CS1595 after installing VS2005 side by side with VS2003

  • Thread starter Thread starter Guogang Hu
  • Start date Start date
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.
 
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!
 
Back
Top