Error "unable to copy the file XXX from the Project template to the project. Can't find the fi

Source: Internet
Author: User

Open-source projects often need to create projects according to certain templates.Code, Visual Studio template function is very suitable for this need.

 

Creating a template is actually very easy. You can easily use vs's "Export template.

However, if you want to support some advanced functions, You need to manually modify the file name and namespace according to the project name. Specific can refer to: http://weblogs.asp.net/scottgu/archive/2005/09/09/424780.aspx

However, after modifying various project files and manually modifying the. vstemplate file, the following error occurs during template testing:

I searched the internet for the reason that the. csproj file has not been modified. In this file, we need to replace the parameter like $ safeprojectname.

Online post: http://forums.asp.net/t/941773.aspx/1? Project + templates + error

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.