Skip to content

Commit 909ac25

Browse files
authored
fix: package props/targets for MTP (#229)
1 parent 303e150 commit 909ac25

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
<Project>
22

3-
<PropertyGroup>
4-
<!-- Makes the new platform/runner opt-in feature -->
5-
<EnableExpectoTestingPlatformIntegration Condition=" '$(EnableExpectoTestingPlatformIntegration)' == '' ">false</EnableExpectoTestingPlatformIntegration>
6-
<!-- Defines the new platform capability -->
7-
<IsTestingPlatformApplication>$(EnableExpectoTestingPlatformIntegration)</IsTestingPlatformApplication>
8-
</PropertyGroup>
9-
103
<ItemGroup>
114
<!--
125
!!! IMPORTANT !!!
@@ -19,8 +12,4 @@
1912
</TestingPlatformBuilderHook>
2013
</ItemGroup>
2114

22-
<ItemGroup>
23-
<ProjectCapability Include="TestContainer" />
24-
</ItemGroup>
25-
2615
</Project>

src/YoloDev.Expecto.TestSdk/build/net8.0/YoloDev.Expecto.TestSdk.targets

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<Project>
22

3-
<!-- Handle the coexistance between testing platform and Microsoft.NET.Test.Sdk -->
3+
<!-- Handle the coexistance between Microsoft.Testing.Platform and Microsoft.NET.Test.Sdk -->
44
<PropertyGroup>
5-
<GenerateTestingPlatformEntryPoint Condition=" '$(GenerateTestingPlatformEntryPoint)' == '' ">$(EnableExpectoTestingPlatformIntegration)</GenerateTestingPlatformEntryPoint>
6-
<GenerateSelfRegisteredExtensions Condition=" '$(GenerateSelfRegisteredExtensions)' == '' ">$(EnableExpectoTestingPlatformIntegration)</GenerateSelfRegisteredExtensions>
5+
<!-- Makes the new platform/runner opt-in feature -->
6+
<EnableExpectoTestingPlatformIntegration Condition=" '$(EnableExpectoTestingPlatformIntegration)' == '' ">false</EnableExpectoTestingPlatformIntegration>
7+
8+
<IsTestingPlatformApplication>$(EnableExpectoTestingPlatformIntegration)</IsTestingPlatformApplication>
79
<GenerateProgramFile Condition=" '$(EnableExpectoTestingPlatformIntegration)' == 'true' ">false</GenerateProgramFile>
8-
<DisableTestingPlatformServerCapability Condition=" '$(EnableExpectoTestingPlatformIntegration)' != 'true' " >true</DisableTestingPlatformServerCapability>
910
</PropertyGroup>
1011

1112
<Choose>

0 commit comments

Comments
 (0)