PowerShell/PowerShellStandard

How to install this module for use in the VS New project dialog?

StingyJack opened this issue · 3 comments

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?

@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.

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.

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?