File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 35
35
<HelixPreCommand Include =" call RunPowershell.cmd InstallNode.ps1 $(NodeVersion) || exit /b 1" />
36
36
</ItemGroup >
37
37
38
+ <!-- Heavy hammer: Run every test using shared Fx bits. -->
39
+ <PropertyGroup >
40
+ <TestDependsOnAspNetRuntime >true</TestDependsOnAspNetRuntime >
41
+ </PropertyGroup >
42
+
38
43
<!-- $(TestDependsOnAspNetRuntime) implies $(TestDependsOnAspNetPackages). Separate for the App.UnitTests case. -->
39
44
<PropertyGroup Condition =" $(TestDependsOnAspNetRuntime) AND !$(TestDependsOnAspNetPackages) " >
40
45
<TestDependsOnAspNetPackages >true</TestDependsOnAspNetPackages >
171
176
<ConvertToAbsolutePath Paths =" $(PublishDir)" >
172
177
<Output TaskParameter =" AbsolutePaths" PropertyName =" PublishAbsoluteDir" />
173
178
</ConvertToAbsolutePath >
179
+
180
+ <!-- Another heavy hammer: Overwrite assemblies from work item payload with those found in shared Fx. -->
181
+ <ItemGroup >
182
+ <_FilesFromSharedFx Include =" $(LocalDotNetRoot)shared\$(SharedFxName)\$(SharedFxVersion)\*.dll" />
183
+ <_FilesFromPublish Include =" $(PublishAbsoluteDir)*.dll" />
184
+ </ItemGroup >
185
+ <JoinItems Left =" @(_FilesFromSharedFx)" Right =" @(_FilesFromPublish)"
186
+ LeftKey =" Filename" RightKey =" Filename"
187
+ ItemSpecToUse =" Left" >
188
+ <Output TaskParameter =" JoinResult" ItemName =" _FilesToOverwrite" />
189
+ </JoinItems >
190
+ <Copy SourceFiles =" @(_FilesToOverwrite)"
191
+ DestinationFolder =" $(PublishAbsoluteDir)"
192
+ OverwriteReadOnlyFiles =" $(OverwriteReadOnlyFiles)"
193
+ Retries =" $(CopyRetryCount)"
194
+ RetryDelayMilliseconds =" $(CopyRetryDelayMilliseconds)"
195
+ SkipUnchangedFiles =" $(SkipCopyUnchangedFiles)" />
196
+
174
197
<ItemGroup >
175
198
<HelixWorkItem Include =" $(HelixTestName)" >
176
199
<PayloadDirectory >$(PublishAbsoluteDir)</PayloadDirectory >
You can’t perform that action at this time.
0 commit comments