Just downloaded Visual Studio Professional for Mac and I cannot seem to build anything as I always get the same error:
/Library/Frameworks/Mono.framework/Versions/4.8.0/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->
CSC: error CS0041: Unexpected error writing debug information -- 'Operation is not supported on this platform.'
19 Warning(s)
1 Error(s)
Not sure what to change on my project to get things to compile.
visual-studio-mac
(it's a problem with xbuild, I only experience this on one project, a web/asp.net project which builds on Windows fine, and then hosts on Mac fine, but doesn't build on mac.) – Rambowcsc.exe
(Microsoft .NET) is being used to compile instead ofmcs
(Mono) – RambowCscToolExe
property? The default should bemcs.exe
. What kind of projects are you seeing this issue with? – Clarsach<package id="Microsoft.Net.Compilers" version="1.0.0" targetFramework="net45" developmentDependency="true" />
will have this problem -- fix likely requires modification of this compiler for mono/xamarin/mac platform/env. as a long-time .NET developer I don't much care which compiler is used, as long as it works and the resulting images are debuggable when they're done compiling. – Rambow