I recently updated the Nuget package Microsoft.CodeDom.Providers.DotNetCompilerPlatform to 1.0.7. After that it stopped publishing Roslyn to the website. I would then get the error 'Could not find a part of the path 'C:...\bin\roslyn\csc.exe' when I tried to access the website.
我最近将Nuget包Microsoft.CodeDom.Providers.DotNetCompilerPlatform更新为1.0.7。之后,它停止将Roslyn发布到网站上。当我试图访问该网站时,我会收到错误'找不到路径的一部分'C:... \ bin \ roslyn \ csc.exe'。
I works fine when I run the website from Visual Studio. Also, I noticed it also isn't copying Roslyn to the temp folder it creates before publishing to the website.
当我从Visual Studio运行网站时,我工作正常。此外,我注意到它也没有将Roslyn复制到它发布到网站之前创建的临时文件夹。
I reverted to 1.0.6 and it published rolsyn to the website and resumed working. I tried 1.0.7 again and it stop publishing rolsyn again.
我恢复到1.0.6,它发布了rolsyn到网站并恢复工作。我再次尝试1.0.7并再次停止发布rolsyn。
I would like to get the latest version working. Is there something I need to do to get it to work? Or is there someone wrong with 1.0.7 and I should wait for the next version?
我想让最新版本正常运行。为了让它发挥作用,我需要做些什么吗?或者1.0.7有人出错了我应该等下一个版本吗?
Also, this is happening in both of the projects I've tried updating.
此外,我在尝试更新的两个项目中也发生了这种情况。
Thanks
1 个解决方案
#1
0
Upgrading to 1.0.8 should fix the issue.
升级到1.0.8应该可以解决问题。
Looks like publish issues started in 1.0.6 (Roslyn binaries not copied properly on publish in 1.0.6).
看起来发布问题始于1.0.6(Roslyn二进制文件在1.0.6中的发布时未正确复制)。
The publish issues were still not resolved in 1.0.7 (Publish issue in 1.0.7 release ). Finally, everything appears to work in 1.0.8.
发布问题仍未在1.0.7(1.0.7发布中的发布问题)中得到解决。最后,一切似乎都在1.0.8中工作。
#1
0
Upgrading to 1.0.8 should fix the issue.
升级到1.0.8应该可以解决问题。
Looks like publish issues started in 1.0.6 (Roslyn binaries not copied properly on publish in 1.0.6).
看起来发布问题始于1.0.6(Roslyn二进制文件在1.0.6中的发布时未正确复制)。
The publish issues were still not resolved in 1.0.7 (Publish issue in 1.0.7 release ). Finally, everything appears to work in 1.0.8.
发布问题仍未在1.0.7(1.0.7发布中的发布问题)中得到解决。最后,一切似乎都在1.0.8中工作。