Install NuGet.CommandLine 3.5.0 to acquire nuget.exe

This commit is contained in:
Pranav K 2017-05-15 13:47:17 -07:00
Родитель 2c5132251b
Коммит 1d9dcdf7ae
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -3,10 +3,12 @@
<MicrosoftCommonTargetsImported>true</MicrosoftCommonTargetsImported>
<VerifyDependsOn>$(VerifyDependsOn);PublishPackage</VerifyDependsOn>
<PublishFeed>https://dotnet.myget.org/F/aspnetcoremodule/api/v2/package</PublishFeed>
<NuGetCommandLineVersion>3.5.0</NuGetCommandLineVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="PackagePublisher" Version="1.0.1-*" />
<PackageReference Include="NuGet.CommandLine" Version="$(NuGetCommandLineVersion)" />
</ItemGroup>
<Target Name="_LocateMSBuildExe">
@ -33,7 +35,7 @@
<Target Name="PackageProjects">
<PropertyGroup>
<NuGetExePath>$(RepositoryRoot).build\nuget.exe</NuGetExePath>
<NuGetExePath>$([MSBuild]::EnsureTrailingSlash('$(NuGetPackageRoot)'))nuget.commandline\$(NuGetCommandLineVersion)\tools\nuget.exe</NuGetExePath>
<NuspecPath>$(RepositoryRoot)nuget\AspNetCore.nuspec</NuspecPath>
</PropertyGroup>