-
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
Better Support for NuGet / Pkg Mgr Console #1
Comments
Makes sense! Regarding the first list item: AFAIK, the only way to "inherit" commands from another package (without relying on the file system, such as the package installation directory) is by exposing them in the NuGet PowerShell profile. Having a dependency to PSBuild would not make its commands available to the scripts contained within the depending package (unless perhaps with the approach taken in the first list item below?). Also:
Some stuff that can be accomplished today independent from the above:
|
RE: How to create a NuGet pkg which has PS command that other NuGet pkgs can leverage via a NuGet pkg dependencyI have put together a sample in a gist at https://gist.github.com/sayedihashimi/8511756. There are two NuGet packages in this gist, _Here is how to try out the sample_ More replies on your other comments coming later. Wanted to share this sample now though. |
Awesome! The gist verifies that dependent packages can inherit PowerShell functionality from another package, given the other package imports its module from within FYI, you might also be interested in the following repository: https://github.com/peters/myget |
Merge pull request #1 from ligershark/master
@xavierdecoster Were you still interested in this? |
I can still see the value in this (using psbuild in a PowerShell console that has knowledge about the current solution context can be interesting, eg Invoke-MsBuild ) |
Ok I'm still working on it as well. If you are interested in contributing that would be great. |
Interested in contributing, but running a little short on time lately :( A short-list of smaller tasks might be a great help though |
Better Support for NuGet / Pkg Mgr Console
We can have a better story around NuGet and the package manager console using psbuild. The following are some user statements.
The text was updated successfully, but these errors were encountered: