File tree 7 files changed +19
-7
lines changed
7 files changed +19
-7
lines changed Original file line number Diff line number Diff line change 23
23
<LoggingTestingDisableFileLogging Condition =" '$(IsHelixJob)' == 'true'" >false</LoggingTestingDisableFileLogging >
24
24
<NodeVersion >10.15.3</NodeVersion >
25
25
<TestDependsOnAspNetPackages >false</TestDependsOnAspNetPackages >
26
+ <TestDependsOnAspNetRuntime >false</TestDependsOnAspNetRuntime >
26
27
</PropertyGroup >
27
28
28
29
<ItemGroup Condition =" '$(TargetFrameworkIdentifier)' == '.NETFramework'" >
Original file line number Diff line number Diff line change 16
16
<ItemGroup Condition =" '$(TestDependsOnPlaywright)' == 'true' AND '$(IsWindowsHelixQueue)' == 'true'" >
17
17
<HelixPreCommand Include =" call RunPowershell.cmd installPlaywrightReqs.ps1 || exit /b 1" />
18
18
</ItemGroup >
19
-
19
+
20
20
<ItemGroup Condition =" '$(TestDependsOnIIS)' == 'true' AND '$(IsWindowsOnlyTest)' == 'true'" >
21
21
<HelixContent Include =" $(RepoRoot)src\Servers\IIS\tools\update_schema.ps1" />
22
22
<HelixContent Include =" $(RepoRoot)src\Servers\IIS\tools\UpdateIISExpressCertificate.ps1" />
35
35
<HelixPreCommand Include =" call RunPowershell.cmd InstallNode.ps1 $(NodeVersion) || exit /b 1" />
36
36
</ItemGroup >
37
37
38
- <ItemGroup Condition =" '$(TestDependsOnAspNetPackages)' == 'true' " >
38
+ <!-- $(TestDependsOnAspNetRuntime) implies $(TestDependsOnAspNetPackages). Separate for the App.UnitTests case. -->
39
+ <PropertyGroup Condition =" $(TestDependsOnAspNetRuntime) AND !$(TestDependsOnAspNetPackages) " >
40
+ <TestDependsOnAspNetPackages >true</TestDependsOnAspNetPackages >
41
+ </PropertyGroup >
42
+ <ItemGroup Condition =" $(TestDependsOnAspNetPackages) " >
39
43
<!-- Grab all shipping packages. -->
40
44
<HelixContent Include =" $(RepoRoot)artifacts\packages\$(Configuration)\Shipping\*$(SharedFxVersion).nupkg" />
41
45
</ItemGroup >
46
+
42
47
<ItemGroup >
43
48
<!-- Java test projects do not use xUnit. -->
44
49
<HelixContent Include =" $(OutputPath)Microsoft.VisualStudio.TestPlatform.Extension.Xunit.Xml.TestAdapter.dll"
Original file line number Diff line number Diff line change 1
1
<Project DefaultTargets="Build">
2
+ <PropertyGroup>
3
+ <IsTestProject>true</IsTestProject>
4
+ </PropertyGroup>
5
+
2
6
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
3
7
4
8
<PropertyGroup>
5
- <IsTestProject>true</IsTestProject>
6
9
<IsPackable>false</IsPackable>
7
10
</PropertyGroup>
8
11
Original file line number Diff line number Diff line change 3
3
<PropertyGroup >
4
4
<ContainsFunctionalTestAssets >true</ContainsFunctionalTestAssets >
5
5
<TargetFramework >$(DefaultNetCoreTargetFramework)</TargetFramework >
6
- <TestDependsOnAspNetPackages >true</TestDependsOnAspNetPackages >
6
+ <TestDependsOnAspNetRuntime >true</TestDependsOnAspNetRuntime >
7
7
</PropertyGroup >
8
8
9
9
<ItemGroup >
Original file line number Diff line number Diff line change 13
13
<!-- TestTemplateCreationFolder is the folder where the templates will be created. Will point out to $(OutputDir)$(TestTemplateCreationFolder) -->
14
14
<TestTemplateCreationFolder >TestTemplates\</TestTemplateCreationFolder >
15
15
<TestPackageRestorePath >$([MSBuild]::EnsureTrailingSlash('$(RepoRoot)'))obj\template-restore\</TestPackageRestorePath >
16
- <TestDependsOnAspNetPackages >true</TestDependsOnAspNetPackages >
16
+ <TestDependsOnAspNetRuntime >true</TestDependsOnAspNetRuntime >
17
17
<TestDependsOnMssql >true</TestDependsOnMssql >
18
18
<TestDependsOnPlaywright >true</TestDependsOnPlaywright >
19
19
</PropertyGroup >
Original file line number Diff line number Diff line change 18
18
<!-- TestTemplateCreationFolder is the folder where the templates will be created. Will point out to $(OutputDir)$(TestTemplateCreationFolder) -->
19
19
<TestTemplateCreationFolder >TestTemplates\</TestTemplateCreationFolder >
20
20
<TestPackageRestorePath >$([MSBuild]::EnsureTrailingSlash('$(RepoRoot)'))obj\template-restore\</TestPackageRestorePath >
21
- <TestDependsOnAspNetPackages >true</TestDependsOnAspNetPackages >
21
+ <TestDependsOnAspNetRuntime >true</TestDependsOnAspNetRuntime >
22
22
</PropertyGroup >
23
23
24
24
<ItemGroup >
Original file line number Diff line number Diff line change 1
1
<Project>
2
+ <PropertyGroup>
3
+ <IsTestProject>true</IsTestProject>
4
+ </PropertyGroup>
5
+
2
6
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), Directory.Build.props))\Directory.Build.props" />
3
7
4
8
<PropertyGroup>
5
9
<IsPackable>false</IsPackable>
6
10
<IsBuildable>false</IsBuildable>
7
- <IsTestProject>true</IsTestProject>
8
11
<!-- Npm tests don't run on Helix currently, so we need to set this to false to still run the tests on non-Helix -->
9
12
<BuildHelixPayload>false</BuildHelixPayload>
10
13
</PropertyGroup>
You can’t perform that action at this time.
0 commit comments