Skip to content

Commit 181dd82

Browse files
[rel/3.8] Try out props/targets refactoring (#5219)
Co-authored-by: Youssef1313 <[email protected]>
1 parent 94c71bf commit 181dd82

File tree

6 files changed

+89
-62
lines changed

6 files changed

+89
-62
lines changed

src/Adapter/MSTest.TestAdapter/buildTransitive/common/MSTest.TestAdapter.props

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<PropertyGroup>
44
<EnableMSTestV2CopyResources Condition=" '$(EnableMSTestV2CopyResources)' == '' ">true</EnableMSTestV2CopyResources>
5-
<EnableMSTestRunner Condition=" '$(EnableMSTestRunner)' == '' ">false</EnableMSTestRunner>
6-
<IsTestingPlatformApplication>$(EnableMSTestRunner)</IsTestingPlatformApplication>
75
</PropertyGroup>
86

97
<ItemGroup>

src/Adapter/MSTest.TestAdapter/buildTransitive/common/MSTest.TestAdapter.targets

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
<!-- Handle the coexistence between testing platform and Microsoft.NET.Test.Sdk -->
44
<PropertyGroup>
5-
<GenerateTestingPlatformEntryPoint Condition=" '$(GenerateTestingPlatformEntryPoint)' == '' ">$(EnableMSTestRunner)</GenerateTestingPlatformEntryPoint>
6-
<GenerateSelfRegisteredExtensions Condition=" '$(GenerateSelfRegisteredExtensions)' == '' ">$(EnableMSTestRunner)</GenerateSelfRegisteredExtensions>
5+
<EnableMSTestRunner Condition=" '$(EnableMSTestRunner)' == '' ">false</EnableMSTestRunner>
6+
<IsTestingPlatformApplication>$(EnableMSTestRunner)</IsTestingPlatformApplication>
7+
78
<GenerateProgramFile Condition=" '$(EnableMSTestRunner)' == 'true' ">false</GenerateProgramFile>
8-
<DisableTestingPlatformServerCapability Condition=" '$(EnableMSTestRunner)' == 'false' or '$(EnableMSTestRunner)' == '' " >true</DisableTestingPlatformServerCapability>
99
</PropertyGroup>
1010

1111
<PropertyGroup Condition=" '$(UseWinUI)' == 'true' ">

src/Platform/Microsoft.Testing.Platform.MSBuild/buildMultiTargeting/Microsoft.Testing.Platform.MSBuild.props

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
<?xml version="1.0" encoding="utf-8" ?>
22
<Project>
3-
<PropertyGroup>
4-
<!-- This is the knob to disable completely for this project the machinery -->
5-
<IsTestingPlatformApplication Condition=" '$(IsTestingPlatformApplication)' == '' ">True</IsTestingPlatformApplication>
6-
</PropertyGroup>
7-
83
<!-- Register the PlatformOutputDevice extension -->
94
<ItemGroup>
105
<TestingPlatformBuilderHook Include="8214564B-6107-422D-8A82-462F97602287" >

0 commit comments

Comments
 (0)