Skip to content
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

Can't refer to ProjectName with itemTemplates when new project is created out of a projectTemplate. #402

Open
erik3355 opened this issue Mar 9, 2017 · 0 comments

Comments

@erik3355
Copy link

erik3355 commented Mar 9, 2017

I have a solution with 2 projects. One ProjectTemplate-Project and one VSIXProject with a sidewaffle reference to the ProjectTemplate (like the video tutorial by Sayed Hashimi). Then in this VSIX project i also have some item templates which have a parameter to refer to the $rootnamespace$ of the project. Everything builds and works fine. BUT when i create a new project out of the template, and add a new item to it from one of the item templates, the refrence of $rootnamespace$ refers to the name of the ProjectTemplate instead of name of the newly created project. Example I create project with name DemoPlugin, the generated project skeleton classes will have namespace DemoPlugin.commands and the added items will get ProjectTemplate.commands as namespace.

Is this intentional and am i missing the point? or is it not possible to have the itemtemplates refer to the newly created project's name that is created out of the projectTemplate?

I have also used all the other parameters out there and tried fiddling around with custom parameters but nothing seems to work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant