I have a .NET 3.5 (target framework) web application. I have some code that looks like this:
public string LogPath { get; private set; } public string ErrorMsg
You are correct; that style is allowed.
I'd look into the standard assemblies referenced. I'm not sure which you'd need to get that to compile, but I figure somewhat you're pointing to the .Net v2.0 version of csc.exe.