What I want to achieve is create package that works like NuGetPSVariables. After Install-Package it does it's work and uninstalls itself.
我想要实现的是创建类似于NuGetPSVariables的包。在Install-Package之后,它可以正常工作并自行卸载。
I tried to download NuGetPSVariables package using Powershell script - http://weblogs.asp.net/jgalloway/archive/2011/02/02/downloading-a-local-nuget-repository-with-powershell.aspx and check it's scripts but it wasn't downloaded, weird.
我尝试使用Powershell脚本下载NuGetPSVariables包 - http://weblogs.asp.net/jgalloway/archive/2011/02/02/downloading-a-local-nuget-repository-with-powershell.aspx并检查它的脚本但是它没有下载,很奇怪。
I want my package to download snippets and disappear (leaving snippets). Maybe you have some other suggestions on how it should work?
我希望我的包下载片段并消失(留下片段)。也许你对它应该如何运作有其他一些建议?
1 个解决方案
#1
1
Use Nuget Package Explorer to view the contents of that package and see how it does auto-uninstall.
使用Nuget Package Explorer查看该包的内容,并查看它是如何自动卸载的。
#1
1
Use Nuget Package Explorer to view the contents of that package and see how it does auto-uninstall.
使用Nuget Package Explorer查看该包的内容,并查看它是如何自动卸载的。