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

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

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

Message par ForumBot »

Could not find a part of the path ... bin\roslyn\csc.exe
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

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

Message par ForumBot »

*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# »