Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: stephentoub <2642209+stephentoub@users.noreply.github.com> Co-authored-by: jeffhandley <1031940+jeffhandley@users.noreply.github.com> Co-authored-by: Stephen Toub <stoub@microsoft.com> Co-authored-by: Jeff Handley <jeffhandley@users.noreply.github.com>
37 lines
No EOL
1.3 KiB
XML
37 lines
No EOL
1.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.0</TargetFrameworks>
|
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
|
<IsPackable>true</IsPackable>
|
|
<PackageId>ModelContextProtocol</PackageId>
|
|
<Description>.NET SDK for the Model Context Protocol (MCP) with hosting and dependency injection extensions.</Description>
|
|
<PackageReadmeFile>README.md</PackageReadmeFile>
|
|
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
|
|
<!-- Suppress the experimental tasks warning -->
|
|
<NoWarn>$(NoWarn);MCPEXP001</NoWarn>
|
|
</PropertyGroup>
|
|
|
|
<PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.0'">
|
|
<IsAotCompatible>true</IsAotCompatible>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Include="..\Common\Throw.cs" Link="Throw.cs" />
|
|
<Compile Include="..\Common\Obsoletions.cs" Link="Obsoletions.cs" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\ModelContextProtocol.Core\ModelContextProtocol.Core.csproj" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<PackageReference Include="Microsoft.Extensions.Caching.Abstractions" />
|
|
<PackageReference Include="Microsoft.Extensions.Hosting.Abstractions" />
|
|
</ItemGroup>
|
|
|
|
<ItemGroup>
|
|
<None Include="..\PACKAGE.md" Pack="true" PackagePath="\README.md" />
|
|
</ItemGroup>
|
|
|
|
</Project> |