Skip to content

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

Description

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?

Activity

  1. TylerLeonhardt commented on Feb 26, 2019

    @TylerLeonhardt
    Member

    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.

  2. StingyJack commented on Feb 26, 2019

    @StingyJack
    Author

    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.

  3. TylerLeonhardt commented on Feb 26, 2019

    @TylerLeonhardt
    Member

    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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions