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

Basic Scaffolder #329

Open
morgot37 opened this issue Dec 19, 2015 · 2 comments
Open

Basic Scaffolder #329

morgot37 opened this issue Dec 19, 2015 · 2 comments
Labels

Comments

@morgot37
Copy link

Hello!
Big TY for u project!
Can u some help me?
I used this guide http://blogs.msdn.com/b/webdev/archive/2014/04/03/creating-a-custom-scaffolder-for-visual-studio.aspx

In this code:
this.AddFileFromTemplate(Context.ActiveProject,
"CustomCode",
"CustomTextTemplate",
parameters,
skipIfExists: false);

I wanna replace Context.ActiveProject for Context.ActiveSolution. How its possible?
Sry for language :(

@morgot37
Copy link
Author

How get like this "this.AddFileFromTemplate(Context.ActiveSolution...)"
or "this.AddFileFromTemplate("SolutionName/Project" + "CustomFolder"...)"?

@codewithtyler
Copy link
Member

@sayedihashimi do you know how to do this?

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

No branches or pull requests

2 participants