This will produce something similar to the following: T21:07:25.0630293Z Task Parameter:WarningLevel=4 (TaskId:23)
#Microsoft visual studio 2017 v15.7.6 to v15.8 code
To discover the underlying issue of Error MSB6006: “csc.exe” exited with code 1, set the following flag in the MSBuild arguments: /v:diag It's unclear if any other versions were affected by this bug, but upgrading to VS Build Tools to 15.8.2 resolved the issue. but will be my next effort if a short term fix cannot be found.īasically, our new server is dead without a solution so I'm hoping someone has a answer here, otherwise, I may end up scrapping this all together for something more reliable.Īppears to be a bug in version 15.7.1. I have not tried updating the build server yet because the high complexity of generating an offline package, zipping, uploading, etc. I also noticed a newer version of VS Build Tools (v15.8). Does anyone know of a work-around or a way to fix this issue? My project does not reference this library and I have Code Analysis turned off at the project level so I think this is an issue with the VS Build Tools. The system cannot find the file specified. I turned on debugging and discovered the errorĬould not load file or assembly ',
![microsoft visual studio 2017 v15.7.6 to v15.8 microsoft visual studio 2017 v15.7.6 to v15.8](https://docs.microsoft.com/en-us/visualstudio/releases/2019/media/16.7/mergeeditor16.7p2.gif)
After creating a very simple C# project, the server build fails with Error MSB6006: "csc.exe" exited with code 1. I recently built a new TFS 2018 (update 3) server and added the Visual Studio Build Tools (v15.7.1).