Skip to content

Commit 781b383

Browse files
committed
fix microsoft testing platform support
1 parent cd9c083 commit 781b383

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

FastEndpoints.TemplatePack.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44

5-
<Version>1.8.0</Version>
5+
<Version>1.8.1</Version>
66

77
<PackageType>Template</PackageType>
88
<PackageId>FastEndpoints.TemplatePack</PackageId>

changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
- upgrade dependencies to latest
2-
- enable Microsoft Testing Platform for `feproj`
1+
- fix `Microsoft Testing Platform` support
2+
- remove corvelette collector from test project

templates/integrated/Source/MyProject.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<PackageReference Include="Shouldly" Version="4.3.0"/>
3030
<PackageReference Include="xunit.v3" Version="3.0.0"/>
3131
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
32-
<PackageReference Include="coverlet.collector" Version="6.0.4" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
3332
<Content Update="Tests\xunit.runner.json" TargetPath="xunit.runner.json"/>
3433
</ItemGroup>
3534
<ItemGroup Condition="'$(Configuration)' == 'Release'">

templates/project/Tests/Tests.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
77
<OutputType>Exe</OutputType>
8-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
98
</PropertyGroup>
109

1110
<ItemGroup>
12-
<PackageReference Include="FastEndpoints.Testing" Version="7.0.0" />
11+
<PackageReference Include="FastEndpoints.Testing" Version="7.0.0"/>
12+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/>
1313
<PackageReference Include="Shouldly" Version="4.3.0"/>
14-
<PackageReference Include="xunit.v3" Version="3.0.0" />
14+
<PackageReference Include="xunit.v3" Version="3.0.0"/>
15+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
1516
</ItemGroup>
1617

1718
<ItemGroup>

templates/test/Tests/Tests.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@
66
<Nullable>enable</Nullable>
77
<RootNamespace>Tests</RootNamespace>
88
<OutputType>Exe</OutputType>
9-
<TestingPlatformDotnetTestSupport>true</TestingPlatformDotnetTestSupport>
109
</PropertyGroup>
1110

1211
<ItemGroup>
1312
<PackageReference Include="FastEndpoints.Testing" Version="7.0.0" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.14.1"/>
1414
<PackageReference Include="Shouldly" Version="4.3.0" />
1515
<PackageReference Include="xunit.v3" Version="3.0.0"/>
16+
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.3" PrivateAssets="all" IncludeAssets="runtime; build; native; contentfiles; analyzers; buildtransitive"/>
1617
</ItemGroup>
1718

1819
<ItemGroup>

0 commit comments

Comments
 (0)