A
Andrew Falanga
Hi,
This is not the first time I've used unsafe code in C# projects.
Usually, I simply check the box in the project properties telling it
to allow unsafe code. I've done that for this project, yet VS is
telling that, "Unsafe code may only appear in compiling with /
unsafe." So, here's the command line being used to compile:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /
nowarn:618,1701,1702 /nostdlib+ /platform:x86 /errorreportrompt /
warn:4
I'm betting that this is complaining because the switch that appears
above is "/unsafe-" instead of "/unsafe". So, how can I edit the
build command line? I haven't found how to do this anywhere yet.
This is highly frustrating.
Andy
This is not the first time I've used unsafe code in C# projects.
Usually, I simply check the box in the project properties telling it
to allow unsafe code. I've done that for this project, yet VS is
telling that, "Unsafe code may only appear in compiling with /
unsafe." So, here's the command line being used to compile:
C:\WINDOWS\Microsoft.NET\Framework\v3.5\Csc.exe /noconfig /unsafe- /
nowarn:618,1701,1702 /nostdlib+ /platform:x86 /errorreportrompt /
warn:4
I'm betting that this is complaining because the switch that appears
above is "/unsafe-" instead of "/unsafe". So, how can I edit the
build command line? I haven't found how to do this anywhere yet.
This is highly frustrating.
Andy