When I update the dotNet MVC project to use Microsoft.CodeDom.Providers.DotNetCompilerPlatform v1.0.6, I get deployment problems because the roslyn directory no longer fits under the deployment bin directory.
I have v2.3.1 from Microsoft.Net.Compilers in my project, and nothing has changed in the project except updating Microsoft.CodeDom.Providers.DotNetCompilerPlatform through the NuGet Package Management function VS2015.
If I go back to version 1.0.5 of Microsoft.CodeDom.Providers.DotNetCompilerPlatform, everything works fine.
This updated version of Microsoft.CodeDom.Providers.DotNetCompilerPlatform seems to break / remove Microsoft.Net.Compilers links from the project.
I tried uninstalling and then reinstalling Microsoft.CodeDom.Providers.DotNetCompilerPlatform and Microsoft.Net.Compilers from my project, but this does not solve the problem.
I tried the sentences in the next StackOverflow article without success.
Could not find part of the path ... bin \ roslyn \ csc.exe
I also tried to manually copy the roslyn directory to the output directory, but the directory is deleted every time the project is built.
I would appreciate it if anyone could help shed light on how to solve the problem.
Le
source share