Site Publishing "Failed to find path" Path\bin\roslyn\csc.exe "..." and denied access to the workaround

Source: Internet
Author: User

Recently a new MVC project was created on 2017, and the issue was a strange one, with one of the errors being:

The path "Path\bin\roslyn\csc.exe" could not be found ....

After searching the Internet for information, the culprit is the two builds that NuGet contains:

microsoft.codedom.providers.dotnetcompilerplatform.1.0.0
Microsoft.Net.Compilers

Because there are dependencies, unloading is unloaded from top to bottom.

It's good to unload the two assemblies of related projects!!!

Moving the project output path also does not appear strange bug!!!

Conclusion:
When the MVC project was under construction, it was discovered that MVC5 could only be built, and that it might be MVC5.

After the MVC5 project was built, NuGet loaded many assemblies that had not been seen before.

However, due to the project time is too tight, desktop problems, there is only a 2017 version of the Notebook VS, have to prioritize the resolution of this bug.

Site Publishing "Failed to find path" Path\bin\roslyn\csc.exe "..." and denied access to the workaround

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.