File tree 1 file changed +20
-0
lines changed
1 file changed +20
-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
+ <_FilesFromPublish Include =" $(PublishAbsoluteDir)*.dll" />
183
+ <_FilesFromSharedFx Include =" $(LocalDotNetRoot)shared\$(SharedFxName)\$(SharedFxVersion)\*.dll" />
184
+ <_FilesToOverwrite Include =" @(_FilesFromSharedFx)"
185
+ Condition =" '%(Filename)' != '' AND '@(_FilesFromPublish)' != '' " />
186
+ </ItemGroup >
187
+ <Copy SourceFiles =" @(_FilesToOverwrite)"
188
+ DestinationFolder =" $(PublishAbsoluteDir)"
189
+ OverwriteReadOnlyFiles =" $(OverwriteReadOnlyFiles)"
190
+ Retries =" $(CopyRetryCount)"
191
+ RetryDelayMilliseconds =" $(CopyRetryDelayMilliseconds)"
192
+ SkipUnchangedFiles =" $(SkipCopyUnchangedFiles)" />
193
+
174
194
<ItemGroup >
175
195
<HelixWorkItem Include =" $(HelixTestName)" >
176
196
<PayloadDirectory >$(PublishAbsoluteDir)</PayloadDirectory >
You can’t perform that action at this time.
0 commit comments