16
16
<HelixPreCommand Include =" call RunPowershell.cmd InstallNode.ps1 $(NodeVersion) %25HELIX_CORRELATION_PAYLOAD%25\node\bin || exit /b 1" />
17
17
</ItemGroup >
18
18
19
- <ItemGroup Condition =" '$(IsHelixJob)' == 'true' AND '$(TestDependsOnAspNetRef)' == 'true' AND '$(IsTargetingPackBuilding)' == 'true'" >
20
- <HelixContent Include =" $(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Ref.$(AppRuntimeVersion).nupkg" />
21
- </ItemGroup >
22
-
23
19
<ItemGroup Condition =" '$(IsHelixJob)' == 'true' AND '$(TestDependsOnAspNetRuntime)' == 'true'" >
24
20
<HelixContent Include =" $(RepoRoot)artifacts\packages\Release\Shipping\*-ci.nupkg" />
25
21
</ItemGroup >
@@ -91,11 +87,23 @@ Usage: dotnet msbuild /t:Helix src/MyTestProject.csproj
91
87
</Target >
92
88
93
89
<Target Name =" _CreateHelixWorkItem" Condition =" $(BuildHelixPayload)" >
94
-
95
90
<ItemGroup >
96
91
<HelixContent Include =" $(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestAdapter.dll" />
97
92
<HelixContent Include =" $(OutputPath)/Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestLogger.dll" />
98
- <HelixContent Condition =" '$(TestDependsOnAspNetRuntime)' == 'true'" Include =" $(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Runtime.win-x64.$(AppRuntimeVersion).nupkg" />
93
+ </ItemGroup >
94
+
95
+ <!--
96
+ Could use _GetPackageVersionInfo target (defined in eng/targets/Packaging.targets and included in every C#
97
+ and F# project) instead of the $(SharedFxVersion) property but the property works everywhere except in site
98
+ extensions projects. Could also use $(TargetingPackVersion) but that has slightly more complicated semantics
99
+ and doesn't keep up when in servicing.
100
+ -->
101
+ <ItemGroup Condition =" '$(TestDependsOnAspNetRef)' == 'true' AND '$(IsTargetingPackBuilding)' == 'true' " >
102
+ <HelixContent Include =" $(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Ref.$(SharedFxVersion).nupkg" />
103
+ </ItemGroup >
104
+
105
+ <ItemGroup Condition =" '$(TestDependsOnAspNetRuntime)' == 'true' " >
106
+ <HelixContent Include =" $(RepoRoot)artifacts\packages\Release\Shipping\Microsoft.AspNetCore.App.Runtime.win-x64.$(SharedFxVersion).nupkg" />
99
107
</ItemGroup >
100
108
101
109
<PropertyGroup >
@@ -117,8 +125,8 @@ Usage: dotnet msbuild /t:Helix src/MyTestProject.csproj
117
125
<TestAssembly >$(TargetFileName)</TestAssembly >
118
126
<PreCommands >@(HelixPreCommand)</PreCommands >
119
127
<PostCommands >@(HelixPostCommand)</PostCommands >
120
- <Command Condition =" $(IsWindowsHelixQueue)" >call runtests.cmd $(TargetFileName) $(NETCoreSdkVersion) $(MicrosoftNETCoreAppRuntimeVersion) $(_HelixFriendlyNameTargetQueue) $(TargetArchitecture) $(RunQuarantinedTests) $(DotnetEfPackageVersion) Microsoft.AspNetCore.App.Runtime.win-x64.$(AppRuntimeVersion ).nupkg Microsoft.AspNetCore.App.Ref.$(AppRuntimeVersion ).nupkg $(HelixTimeout)</Command >
121
- <Command Condition =" !$(IsWindowsHelixQueue)" >./runtests.sh $(TargetFileName) $(NETCoreSdkVersion) $(MicrosoftNETCoreAppRuntimeVersion) $(_HelixFriendlyNameTargetQueue) $(TargetArchitecture) $(RunQuarantinedTests) $(DotnetEfPackageVersion) Microsoft.AspNetCore.App.Runtime.win-x64.$(AppRuntimeVersion ).nupkg Microsoft.AspNetCore.App.Ref.$(AppRuntimeVersion ).nupkg $(HelixTimeout)</Command >
128
+ <Command Condition =" $(IsWindowsHelixQueue)" >call runtests.cmd $(TargetFileName) $(NETCoreSdkVersion) $(MicrosoftNETCoreAppRuntimeVersion) $(SharedFxVersion) $( _HelixFriendlyNameTargetQueue) $(TargetArchitecture) $(RunQuarantinedTests) $(DotnetEfPackageVersion) Microsoft.AspNetCore.App.Runtime.win-x64.$(SharedFxVersion ).nupkg Microsoft.AspNetCore.App.Ref.$(SharedFxVersion ).nupkg $(HelixTimeout)</Command >
129
+ <Command Condition =" !$(IsWindowsHelixQueue)" >./runtests.sh $(TargetFileName) $(NETCoreSdkVersion) $(MicrosoftNETCoreAppRuntimeVersion) $(SharedFxVersion) $( _HelixFriendlyNameTargetQueue) $(TargetArchitecture) $(RunQuarantinedTests) $(DotnetEfPackageVersion) Microsoft.AspNetCore.App.Runtime.win-x64.$(SharedFxVersion ).nupkg Microsoft.AspNetCore.App.Ref.$(SharedFxVersion ).nupkg $(HelixTimeout)</Command >
122
130
<Command Condition =" $(HelixCommand) != ''" >$(HelixCommand)</Command >
123
131
<Timeout >$(HelixTimeout)</Timeout >
124
132
</HelixWorkItem >
0 commit comments