> > Some time ago I installed VC# 2003, made a small generic project,
compile
with the allow unsafe flag and I get the error below:
"error CS1577: Assembly generation failed -- Unexpected exception
processing attribute -- System.Argument Exception: Invalid directory on URL."
(If I do not compile with the unsafe flag compiler setting all compiles
perfect)
I just uninstalled the .NET framework and reinstalled it, and it got
worse. I also get this error when I do ot use the /unsafe switch from csc.exe.
:-(
Only one machine has this problem and it happens to be my development
machine (tested with the same code).
All other computers have no problems, with this csc.exe. This is clearly
some crash in the .NET v1.1 csc.exe, but I have no idea what causes it.
It is related to the unsafe compiler option, maybe it is deeper and at the
level of the CLR?
I reinstalled VC# many times, also uninstalled+rei nstalled, repaired,
installed .NET 1.1, uninstallerd+re installed....
Probably some silly path or environment variable that is incorrect, if only
I know how to find which one? Any tips are welcome.
Any tips how to debug this csc.exe to trace the problem would also be
welcom.
Here is an example of what I get.
-----------
D:\Source\Scrat ch\DICOM\Manage d\WindowsApplic ation1>csc form1.cs /unsafe+
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
error CS1577: Assembly generation failed -- Unexpected exception processing
attribute -- System.Argument Exception: Invalid directory on URL..
D:\Source\Scrat ch\DICOM\Manage d\WindowsApplic ation1>
------------
D:\Source\Scrat ch\DICOM\Manage d\WindowsApplic ation1>csc form1.cs /unsafe-
Microsoft (R) Visual C# .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
D:\Source\Scrat ch\DICOM\Manage d\WindowsApplic ation1>