|
5 | 5 | <TargetFramework>net10.0</TargetFramework> |
6 | 6 | <ImplicitUsings>enable</ImplicitUsings> |
7 | 7 | <Nullable>enable</Nullable> |
| 8 | + <IsPackable>false</IsPackable> |
| 9 | + <IsTestProject>true</IsTestProject> |
8 | 10 | <RootNamespace>ModelContextProtocol.ConformanceTests</RootNamespace> |
9 | 11 | </PropertyGroup> |
10 | 12 |
|
| 13 | + <PropertyGroup> |
| 14 | + <!-- Without this, tests are currently not showing results until all tests complete |
| 15 | + https://xunit.net/docs/getting-started/v3/microsoft-testing-platform |
| 16 | + --> |
| 17 | + <DisableTestingPlatformServerCapability>true</DisableTestingPlatformServerCapability> |
| 18 | + </PropertyGroup> |
| 19 | + |
| 20 | + <ItemGroup> |
| 21 | + <!-- Exclude ConformanceServer files from compilation - it's a separate project --> |
| 22 | + <Compile Remove="ConformanceServer/**/*.cs" /> |
| 23 | + </ItemGroup> |
| 24 | + |
11 | 25 | <ItemGroup> |
12 | | - <PackageReference Include="Microsoft.Testing.Extensions.CodeCoverage" /> |
13 | | - <PackageReference Include="Microsoft.Testing.Extensions.HangDump" /> |
14 | | - <PackageReference Include="xunit.v3.mtp-v2" /> |
| 26 | + <PackageReference Include="coverlet.collector"> |
| 27 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 28 | + <PrivateAssets>all</PrivateAssets> |
| 29 | + </PackageReference> |
| 30 | + <PackageReference Include="GitHubActionsTestLogger"> |
| 31 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 32 | + <PrivateAssets>all</PrivateAssets> |
| 33 | + </PackageReference> |
| 34 | + <PackageReference Include="Microsoft.NET.Test.Sdk" /> |
| 35 | + <PackageReference Include="xunit.v3" /> |
| 36 | + <PackageReference Include="xunit.runner.visualstudio"> |
| 37 | + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> |
| 38 | + <PrivateAssets>all</PrivateAssets> |
| 39 | + </PackageReference> |
15 | 40 | </ItemGroup> |
16 | 41 |
|
17 | 42 | <ItemGroup> |
18 | | - <ProjectReference Include="../ConformanceServer/ConformanceServer.csproj" /> |
| 43 | + <ProjectReference Include="ConformanceServer/ConformanceServer.csproj" /> |
19 | 44 | </ItemGroup> |
20 | 45 |
|
21 | 46 | </Project> |
0 commit comments