Install NuGet.CommandLine 3.5.0 to acquire nuget.exe
This commit is contained in:
parent
2c5132251b
commit
1d9dcdf7ae
|
|
@ -3,10 +3,12 @@
|
||||||
<MicrosoftCommonTargetsImported>true</MicrosoftCommonTargetsImported>
|
<MicrosoftCommonTargetsImported>true</MicrosoftCommonTargetsImported>
|
||||||
<VerifyDependsOn>$(VerifyDependsOn);PublishPackage</VerifyDependsOn>
|
<VerifyDependsOn>$(VerifyDependsOn);PublishPackage</VerifyDependsOn>
|
||||||
<PublishFeed>https://dotnet.myget.org/F/aspnetcoremodule/api/v2/package</PublishFeed>
|
<PublishFeed>https://dotnet.myget.org/F/aspnetcoremodule/api/v2/package</PublishFeed>
|
||||||
|
<NuGetCommandLineVersion>3.5.0</NuGetCommandLineVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="PackagePublisher" Version="1.0.1-*" />
|
<PackageReference Include="PackagePublisher" Version="1.0.1-*" />
|
||||||
|
<PackageReference Include="NuGet.CommandLine" Version="$(NuGetCommandLineVersion)" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<Target Name="_LocateMSBuildExe">
|
<Target Name="_LocateMSBuildExe">
|
||||||
|
|
@ -33,7 +35,7 @@
|
||||||
|
|
||||||
<Target Name="PackageProjects">
|
<Target Name="PackageProjects">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NuGetExePath>$(RepositoryRoot).build\nuget.exe</NuGetExePath>
|
<NuGetExePath>$([MSBuild]::EnsureTrailingSlash('$(NuGetPackageRoot)'))nuget.commandline\$(NuGetCommandLineVersion)\tools\nuget.exe</NuGetExePath>
|
||||||
<NuspecPath>$(RepositoryRoot)nuget\AspNetCore.nuspec</NuspecPath>
|
<NuspecPath>$(RepositoryRoot)nuget\AspNetCore.nuspec</NuspecPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue