Changing pwTemplateZipRelDir multiple times
mm98 opened this issue · comments
When changing pwTemplateZipRelDir in pecan-waffle-settings.props multiple times, the VSIX (zip) contains "VsTemplateProj1.project.zip" in every previously defined location.
I haven't been able to find where this information is stored.
Thanks for the report. We will have to add a target to extend Clean to delete the files previously generated. Does this cause any errors besides seeing extra templates?
No, this doesn't result in any errors. Only that the template exists in multiple locations in the VS "Create Project" window.
This even happens when you do a Build > Clean (empty bin folder), so this historic information must be stored somewhere.
@mm98 the info is not stored anywhere. The issue is that when you do a Clean
the files are not deleted. To fix this we need to add a new target to https://github.com/ligershark/pecan-waffle/blob/master/pecan-waffle-vs.targets which extends Clean to delete the templates temp dir.
@mm98 it should be fixed in the 0.0.22-beta
package. Let me know if you run into any issues with that. Closing this now.
I have updated the pecan project to 0.0.22-beta
. Two nodes were removed in pecan-waffle-settings.props
(overwritten on package update).
When i Build the solution I get an error, that it can't find the ProjectId defined in source.extension.vsixmanifest
. I have double checked, and the ProjectId's are the same in source.extension.vsixmanifest
and _project.vstemplate
.
Do i need to make any changes to _project.vstemplate
or pw-templateinfo.ps1
?
Note
The VSIX is created in the bin
/debug
folder and the VSIX is working when installing (#37).
Error List output
Extension 'MultiProjectTemplate.Carsten Petersen.ef4a14f9-7ab6-4ede-8716-81ea0e1cee9a' could not be found. Please make sure the extension has been installed. MultiProjectTemplate
This is some weirdness wth the VS experimental instance I think. When you see this, try a Clean and then a Build.
Helped when closing VS .. start project again and do a Clean
before Build
.