runtime: MyProject.GeneratedMSBuildEditorConfig.editorconfig' could not be found. Receiving error MSB6006: "csc.dll" exited with code 139
Version Used: 7.0.302
Steps to Reproduce:
I have an ASP.NET Identity app in GitHub actions, and when building the web app (with code analysts enabled) I’m receiving the following error:
MSB6006: "csc.dll" exited with code 139.
Following the instructions in this comment, I’ve executed code analysts in isolation, and the output is:
error CS2001: Source file '/home/runner/work/appcyc-monorepo-demo/appcyc-monorepo-demo/identity-sts/obj/Release/net7.0/Appcyc.IdentitySts.GeneratedMSBuildEditorConfig.editorconfig' could not be found.
The issue does not occur on my local machine, Ubunto (WSL2), nor in a docker build.
Diagnostic Id: MSB6006 & CS2001
Expected Behavior:
The build executes successfully.
Actual Behavior:
The build fails with error MSB6006: "csc.dll" exited with code 139.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 20 (11 by maintainers)
Jan was able to investigate and working on a fix.
@mangod9
Mostly. The crash is happening on a GitHub actions workflow in a private repository. In that workflow it reproduces fairly regularly: around 90+% of the time. I have not gotten it to reproduce locally.
@JSkimming sure that works.