Compile - Microsoft.CSharp.Core.targets(84, 5): [MSB6004] "C:\Program Files\dotnet\sdk\2.1.2\Roslyn\RunCsc.cmd" Follow
Since a few day's I get following error when I try to compile an aspcore Project
Microsoft.CSharp.Core.targets(84, 5): [MSB6004] The specified Task executable location "C:\Program Files\dotnet\sdk\2.1.2\Roslyn\RunCsc.cmd" is invalid.
Compiling in VS(Version 15.5.2) is not a problem.
How can I fix that?
Please sign in to leave a comment.
This bug was fixed in the latest EAP build, which is available here: https://www.jetbrains.com/rider/eap/
new EAP build fixed this for me, hopefully it is more stable than the last one
When will be there the next release date?
Georg Ploesch Very soon, before the end of the year.
When I tried clicking on the EAP link it told me it is closed. Can't use Rider for my .NET Core work at the moment where it offers the biggest bang for the buck.
There is workaround: https://youtrack.jetbrains.com/issue/RIDER-11973
Copy Roslyn/bincore/RunCsc to Roslyn/RunCsc.sh
Edit it so that THISDIR=$(dirname $0)/bincore
I checked it works.
The EAP program is currently closed because Rider 2017.3 final build was released. This bug is fixed there as well, please go to Rider Downloads to get v2017.3: https://www.jetbrains.com/rider/download/