CSC: error CS0041: Unexpected error writing debug information — 'Operation is not supported on this platform.'

前端 未结 5 805
生来不讨喜
生来不讨喜 2021-02-04 05:52

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/Version         


        
5条回答
  •  鱼传尺愫
    2021-02-04 06:56

    To solve this problem you need to do :

    1. Select project

    2. Right click and select options

    3. Select tab Build -> Compiler
    4. Debug information -> None

    It solved this error but gives me another one

    "System.IO.FileNotFoundException Could not find file "/Users/.../.../bin\roslyn\csc.exe"

提交回复
热议问题