Account for missing trailing slash in package path when restoring vsix

This commit is contained in:
Pranav K 2017-03-09 10:34:59 -08:00
parent 3ba44f5038
commit addbac24aa
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
<Target Name="_RestoreProject"> <Target Name="_RestoreProject">
<PropertyGroup> <PropertyGroup>
<NuGetExe>$(NuGetPackageFolders)nuget.commandline\$(NuGetCommandLineVersion)\tools\nuget.exe</NuGetExe> <NuGetExe>$([MSBuild]::EnsureTrailingSlash('$(NuGetPackageFolders)'))nuget.commandline\$(NuGetCommandLineVersion)\tools\nuget.exe</NuGetExe>
</PropertyGroup> </PropertyGroup>
<Exec Command="$(NuGetExe) restore &quot;$(VSIXProject)&quot; -SolutionDir &quot;$(RepositoryRoot) &quot; -verbosity quiet" /> <Exec Command="$(NuGetExe) restore &quot;$(VSIXProject)&quot; -SolutionDir &quot;$(RepositoryRoot) &quot; -verbosity quiet" />
</Target> </Target>