I have a few powershell scripts inside my c# project. I added them to a solution folder. Would it be possible to make VS2010 run them inside the nuget powershell console by one of these methods :
Since the previous answer was posted this very simple package came about which does exactly what is needed:
In short, install the package and place those scripts in a folder called SolutionScripts
.
We followed up on this question at http://nuget.codeplex.com/Thread/View.aspx?ThreadId=239161 .
To summarize, try using an init.ps1 file. Look at the MvcScaffold package for a good example of this.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.