msbuild
doesn't seem to allow me build unsafe
blocks even though my .csproj
specify:
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
...
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
my build command is:
msbuild myProject.sln /p:Configuration=Release /p:Platform="Any CPU" /t:Clean,Build