c# - adding custom parameter to install-package -



c# - adding custom parameter to install-package -

i building nuget bundle uses install.ps1 script in tools folder. want pass parameters install script in install-package command.

so running in bundle manger within visual studio

install-package mypackage -myparam param

param passed install.ps1 file within tools folder.

is possible? there improve way accomplish this?

afaik that's not possible. install-package cmdlet exposes few options map properties on installpackagecommand in nuget sources. maybe log issue or submit pull request kind of functionality?

instead of trying extend install-package cmdlet, why not create own cmdlets , expose 1 after installation (similar mvc scaffolding package)?

c# visual-studio powershell nuget

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -