-
Notifications
You must be signed in to change notification settings - Fork 18
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
Enable in NuGet pkg mgr console / update install to insert into nuget profile #16
Comments
AFAIK, these are the only possible approaches to this (but feel free to correct me if I'm wrong :))
All approaches require checking whether psbuild is already installed or not. Also, the package should be a developmentOnly package. |
Thanks for the comments. This is a bit different from what you are thinking of. Here is the user statement.
In this case the user does not want/need to install the psbuild nuget package. Instead he wants the commands to be made available via the pkg manager console. Like many other PS hosts the pkg mgr console has its own PS profile. You can see this by printing out the value for $profile from inside the console. The idea here is that if the user invokes the GetPSBuild.psm1 script (see readme.md for directions). Typically this lives in the same folder as the standard PS profile and with the name Nuget_profile.ps1. The idea is that when the user installs via with the command
We add the module to the PS profile.ps1 and nuget_profile.ps1 that way users can invoke commands w/o having to install the nuget pkg. Does that make sense? |
Oooh, that makes perfect sense! |
When psbuild is installed we should add it to the nuget profile as well that way a VS user can easily use this from the package manager console.
The text was updated successfully, but these errors were encountered: