VS Publishing Site, error message: "Failed to copy file xxx to XXX, failed to find the file XX" three solutions!

Source: Internet
Author: User

Publish the site when you may encounter such a situation, that is, the error message said: "Failed to copy the file xxx to XXX, failed to find the file xx", this problem generally has three solutions, personal inclination of the third,



The solution is as follows:

Scenario one, the system prompts the missing files back into the corresponding folder, and then publish. But if the time is too long to find the document itself, this program is not recommended;

Scenario two, delete the ". csproj" project file in the < Content include> corresponding parameter line, with "ctrl+f" to find the next one to delete. This option is not recommended if there is more content.



Scenario three, first the corresponding folder of the error right click "Exclude from the project", and then click on the release. When you're done, copy the previously excluded folders from your project to your published folder.




Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

VS Publishing Site, error message: "Failed to copy file xxx to XXX, failed to find the file XX" three solutions!

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.