I ran into an issue where my Visual Studio 2010 Professional reported "CS0227: Unsafe code may only appear if compiling with /unsafe".
But I had already checked the appropriate checkbox in the solution properties dialog!
Turns out the problem was having the unsafe code reside in the App_Code folder. Moving it to a different location solved the problem.
Ingen kommentarer:
Send en kommentar