简体   繁体   中英

Excluding files from Project Template C#

I'm creating a project template to make the development process here in the company smoother.

I've created the template and it works ok, I can create a new project based on the template. The only issue is that some files are included in the new project that I don't want included for instance the .vstemplate file.

I've searched the web/here on how to do this, but I can't find the answer...

What am I missing?

Would excluding files from the template project achieve what you want? You can do that by right clicking on a file in the solution explorer and clicking Exclude From Project

Example:

从项目中排除

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM