Re: CS1595 after installing VS2005 side by side with VS2003

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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!


"Guogang Hu" <guogang@xxxxxxx> wrote in message
news:%23k8PYEuRGHA.4264@xxxxxxxxxxxxxxxxxxxxxxx
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.



.



Relevant Pages

  • CS1595 after installing VS2005 side by side with VS2003
    ... Unable to generate a temporary class. ... warning CS1595: 'string' is defined in multiple places; ...
    (microsoft.public.dotnet.framework)
  • Re: When to throw exceptions and when to use System.err?
    ... have it handle the exception. ... Why should we give you more advice when you're not listening to the answers, and we can't tell that you're following the advice? ... Null pointer access = Warning ... You are throwing an exception that contains a string. ...
    (comp.lang.java.help)
  • Re: When to throw exceptions and when to use System.err?
    ... That sounds like an exception which should never happen. ... I want the program to crash if they pass in a null String. ... Null pointer access = Warning ... Then a quick graceful exit from the low level, with a signal (like a bad ...
    (comp.lang.java.help)
  • Re: Function GetData doesnt return a value on all code paths...
    ... Application is running smoothly, it's only a warning, but I'd like to ... reference exception could occur at run time when the result is used. ... ConnectionString As String, ByVal strQuery As String) As DataTable ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Functions that return more than 1 value - Such a beast?
    ... If I used ByRef parameters as the others suggest to return multiple values ... Suggests that you are "returning" an error or exception. ... status" can other other programmers using your function to easily ignore the ... > String AND Something else! ...
    (microsoft.public.dotnet.languages.vb)