Could not find a part of the path ... bin\roslyn\csc.exe

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Could not find a part of the path ... bin\roslyn\csc.exe

Message par Clippy »

Could not find a part of the path ... bin\roslyn\csc.exe
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: Could not find a part of the path ... bin\roslyn\csc.exe

Message par Clippy »

*Edited after Ian Robertson Response.*

The problem with the compiler is fixed in a newer version. You can try to reinstall the compiler first before you edit your csproj file.

`Update-Package Microsoft.CodeDom.Providers.DotNetCompilerPlatform -r

```

*Original:*

The problem with the default VS2015 templates is that the compiler isn't actually copied to the `tfr\bin\roslyn\` directory, but rather the `{outdir}\roslyn\` directory

Add this code in your .csproj file:

`







```
Répondre

Revenir à « .NET & C# »