This repository was archived by the owner on Apr 20, 2023. It is now read-only.
File tree 2 files changed +7
-2
lines changed
TestAssets/TestPackages/dotnet-dependency-tool-invoker
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 10
10
<PackageTargetFallback Condition =" '$(TargetFramework)' == 'netcoreapp1.0' " >$(PackageTargetFallback);portable-net45+win8;dnxcore50</PackageTargetFallback >
11
11
</PropertyGroup >
12
12
13
+ <PropertyGroup >
14
+ <SdkNugetVersion Condition =" '$(SdkNugetVersion)' == ''" >1.0.0-preview4-*</SdkNugetVersion >
15
+ </PropertyGroup >
16
+
13
17
<ItemGroup >
14
18
<Compile Include =" **\*.cs" Exclude =" bin\**;obj\**;**\*.xproj;packages\**" />
15
19
<Compile Include =" ..\..\..\src\dotnet\CommandLine\*.cs" Exclude =" bin\**;obj\**;**\*.xproj;packages\**" />
34
38
<Version >4.0.0-rc2</Version >
35
39
</PackageReference >
36
40
<PackageReference Include =" Microsoft.DotNet.Cli.Utils" >
37
- <Version >1.0.0-preview4-* </Version >
41
+ <Version >$(SdkNugetVersion) </Version >
38
42
</PackageReference >
39
43
</ItemGroup >
40
44
Original file line number Diff line number Diff line change 208
208
<DotNetPackMsbuildArgs Condition =" '$(IsDesktopAvailable)' == 'True' And '%(TestPackageProject.PackRuntime)' != '' " >/p:RuntimeIdentifier=%(TestPackageProject.PackRuntime)</DotNetPackMsbuildArgs >
209
209
</PropertyGroup >
210
210
211
+ <!-- https://github.com/NuGet/Home/issues/4063 -->
211
212
<DotNetPack NoBuild =" True"
212
213
Output =" $(TestPackagesDir)"
213
214
ProjectPath =" %(TestPackageProject.ProjectPath)"
214
215
ToolPath =" $(Stage0Directory)"
215
216
VersionSuffix =" %(TestPackageProject.VersionSuffix)"
216
- MsbuildArgs =" $(DotNetPackMsbuildArgs)" />
217
+ MsbuildArgs =" $(DotNetPackMsbuildArgs) /p:SdkNuGetVersion=$(SdkNugetVersion) " />
217
218
</Target >
218
219
219
220
<Target Name =" BuildTestAssetPackageProjects"
You can’t perform that action at this time.
0 commit comments