Skip to content

Commit 1bc41e7

Browse files
committed
scriptcs Chocolatey package should depend on the NuGet.CommandLine package
1 parent 2d8a70b commit 1bc41e7

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

src/ScriptCs/Properties/chocolateyInstall.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"Roslyn.Compilers.CSharp" = "1.2.20906.2";
1515
}
1616

17-
$dependencies.GetEnumerator() | %{ .$nuget install $_.Name -version $_.Value -o $nugetPath }
17+
$dependencies.GetEnumerator() | %{ &nuget install $_.Name -version $_.Value -o $nugetPath }
1818

1919
Get-ChildItem $nugetPath -Filter "*.dll" -Recurse | %{ Copy-Item $_.FullName $binPath -Force }
2020
Remove-Item $nugetPath -Recurse -Force

src/ScriptCs/Properties/scriptcs.nuspec

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@
1313
<frameworkAssemblies>
1414
<frameworkAssembly assemblyName="System.ComponentModel.Composition" targetFramework="net45" />
1515
</frameworkAssemblies>
16+
<dependencies>
17+
<dependency id="NuGet.CommandLine" version="2.5.0" />
18+
</dependencies>
1619
</metadata>
1720
<files>
1821
<file src="Properties\chocolateyInstall.ps1" target="tools" />
1922
<file src="Properties\chocolateyUninstall.ps1" target="tools" />
2023
<file src="bin\$configuration$\scriptcs.exe" target="tools/scriptcs" />
24+
<file src="bin\$configuration$\scriptcs.exe.config" target="tools/scriptcs" />
2125
<file src="bin\$configuration$\*.dll" target="tools/scriptcs" />
2226
<file src="bin\$configuration$\*.pdb" target="tools/scriptcs" />
2327
</files>

0 commit comments

Comments
 (0)