You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to install this module for use in the VS New project dialog? #59
I ran the correct command to install this using the dotnet cli (the blog post formatting is rekt, so I may not have done this correctly), but I don't see the project type available in the new project dialog.
dotnet new psmodule creates a csproj and it can be opened in vs and it works, but why should I have to shell out to the console and type all that when I can hit a few keystroke shortcuts to do the same?
I followed the 2012 era version of this guide back then to create custom project templates for my team, and it worked pretty well. We just had to put them into a folder somewhere in $home$\Documents. I dont imagine that has changed as an option. The newer docs cover using a vsix as well.
Activity
TylerLeonhardt commentedon Feb 26, 2019
Andrew Stanton (@StingyJack) is there some sort of way to install templates in VS? I personally don't use it so I'm unfamiliar with the process.
StingyJack commentedon Feb 26, 2019
I followed the 2012 era version of this guide back then to create custom project templates for my team, and it worked pretty well. We just had to put them into a folder somewhere in$home$ \Documents. I dont imagine that has changed as an option. The newer docs cover using a vsix as well.
TylerLeonhardt commentedon Feb 26, 2019
You might me able to use the template vsix which is found here:
https://www.nuget.org/packages/Microsoft.PowerShell.Standard.Module.Template/
Maybe give that a try?