-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exclude '*.vstemplate' in pw-templateinfo.ps1 #2
Comments
@mm98 does it work if you exclude it? I thought it would fail because the file wouldn't go into the vsix. |
Yes i works. I'm using it in my pecan template without any problems. |
I am having the same issue, it is not excluding the _project.vstemplate. I also want to exclude an folder and it is not excluding from the template. It seen like there is a cache issue... i comment out the section where it replace the project name and it still replacing the project name, when i debug.
|
I've noticed that there are issues when using the Visual Studio experimental instance. I'd suggest that you get your template working well from the command line first and then move to testing in VS. When you're testing in VS you can try the experimental instance (default when you CTRL + F5/F5). If you run into any "caching" issues then use the Reset Experimental Instance tool in the Start menu. You may still run into some issues with that, so if you do I'd suggest the following.
Hopefully that will work for you. |
I just re-installed the template and it worked fine. You are right there are issues with Visual Studio experimental instance |
Yeah that's the issue I'm referring to, glad you got it working. |
When creating a new Project from pecan-wafffle VSIX the "_project.vstemplate" file is also copied.
Include *.vstemplate to the exclude list:
$templateInfo | exclude-file 'pw-*.*','*.user','*.suo','*.userosscache','project.lock.json','*.vs*scc', '*.vstemplate', '*.sln'
The text was updated successfully, but these errors were encountered: