Skip to content

Commit e17be78

Browse files
Copilotstephentoub
andcommitted
Fix test project duplicate compile for GuidHelpers.cs on net472
Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com>
1 parent 7ea4064 commit e17be78

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ModelContextProtocol.Tests/ModelContextProtocol.Tests.csproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,17 @@
3434
<Compile Include="..\..\src\ModelContextProtocol.Core\Server\InMemoryMcpTaskStore.cs" Link="Server\InMemoryMcpTaskStore.cs" />
3535
<!-- Include dependencies for the linked InMemoryMcpTaskStore.cs -->
3636
<Compile Include="..\..\src\Common\Experimentals.cs" Link="Experimentals.cs" />
37-
<Compile Include="..\..\src\Common\Polyfills\System\GuidHelpers.cs" Link="Polyfills\GuidHelpers.cs" />
3837
</ItemGroup>
3938

4039
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
4140
<Compile Include="..\..\src\Common\Throw.cs" Link="Throw.cs" />
4241
<Compile Include="..\..\src\Common\Polyfills\**\*.cs" />
4342
</ItemGroup>
4443

44+
<ItemGroup Condition="'$(TargetFramework)' != 'net472'">
45+
<Compile Include="..\..\src\Common\Polyfills\System\GuidHelpers.cs" Link="Polyfills\GuidHelpers.cs" />
46+
</ItemGroup>
47+
4548
<ItemGroup>
4649
<PackageReference Include="coverlet.collector">
4750
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>

0 commit comments

Comments
 (0)