feat: NuGet.vs 2.5.40416.9020

This commit is contained in:
Iristyle
2013-05-16 08:27:13 -04:00
parent 4a9da54423
commit 100e286228
3 changed files with 675 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
try {
$package = 'NuGet.vs'
$params = @{
PackageName = $package;
VsixUrl = 'http://visualstudiogallery.msdn.microsoft.com/27077b70-9dad-4c64-adcf-c7cf6bc9970c/file/37502/30/NuGet.Tools.vsix';
}
$vsKeys = Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\VisualStudio' |
Select -ExpandProperty PsChildName
# VS 2012, VS 2010
'11.0', '10.0' |
% {
if ($vsKeys -contains $_)
{
Install-ChocolateyVsixPackage @params -VsVersion [int]$_
}
}
Write-ChocolateySuccess $package
} catch {
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
}