|
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFrameworks>net10.0;net9.0;net8.0;netstandard2.0</TargetFrameworks> |
| 5 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 6 | + <IsPackable>true</IsPackable> |
| 7 | + <PackageId>ModelContextProtocol.Extensions.Skills</PackageId> |
| 8 | + <Description>MCP Skills extension (SEP-2640) for the .NET Model Context Protocol (MCP) SDK</Description> |
| 9 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 10 | + <!-- Suppress the experimental MCP warnings for internal usage --> |
| 11 | + <NoWarn>$(NoWarn);MCPEXP001;MCPEXP002</NoWarn> |
| 12 | + <!-- |
| 13 | + Package validation stays enabled so cross-target-framework API compatibility is checked. The |
| 14 | + repo-wide baseline is cleared because this package has no released version to compare against yet; |
| 15 | + set it to the first shipped version once this package has been released. |
| 16 | + --> |
| 17 | + <PackageValidationBaselineVersion /> |
| 18 | + </PropertyGroup> |
| 19 | + |
| 20 | + <PropertyGroup Condition="'$(TargetFramework)' != 'netstandard2.0'"> |
| 21 | + <IsAotCompatible>true</IsAotCompatible> |
| 22 | + </PropertyGroup> |
| 23 | + |
| 24 | + <PropertyGroup Condition="'$(TargetFramework)' == 'netstandard2.0'"> |
| 25 | + <!-- CS0436: Allow ObsoleteAttribute to be redefined internally --> |
| 26 | + <NoWarn>$(NoWarn);CS0436</NoWarn> |
| 27 | + </PropertyGroup> |
| 28 | + |
| 29 | + <ItemGroup> |
| 30 | + <Compile Include="..\Common\Experimentals.cs" Link="Experimentals.cs" /> |
| 31 | + <Compile Include="..\Common\McpProtocolVersions.cs" Link="McpProtocolVersions.cs" /> |
| 32 | + </ItemGroup> |
| 33 | + |
| 34 | + <!-- Exclude polyfills inherited from Directory.Build.props; this package only needs the ExperimentalAttribute polyfill. --> |
| 35 | + <ItemGroup> |
| 36 | + <Compile Remove="..\Common\Polyfills\**\*.cs" /> |
| 37 | + <Compile Include="..\Common\Polyfills\System\Diagnostics\CodeAnalysis\ExperimentalAttribute.cs" |
| 38 | + Link="Polyfills\ExperimentalAttribute.cs" /> |
| 39 | + <Compile Include="..\Common\Polyfills\System\Runtime\CompilerServices\CompilerFeatureRequiredAttribute.cs" |
| 40 | + Link="Polyfills\CompilerFeatureRequiredAttribute.cs" /> |
| 41 | + <Compile Include="..\Common\Polyfills\System\Runtime\CompilerServices\IsExternalInit.cs" |
| 42 | + Link="Polyfills\IsExternalInit.cs" /> |
| 43 | + <Compile Include="..\Common\Polyfills\System\Runtime\CompilerServices\RequiredMemberAttribute.cs" |
| 44 | + Link="Polyfills\RequiredMemberAttribute.cs" /> |
| 45 | + </ItemGroup> |
| 46 | + |
| 47 | + <ItemGroup> |
| 48 | + <ProjectReference Include="..\ModelContextProtocol\ModelContextProtocol.csproj" /> |
| 49 | + </ItemGroup> |
| 50 | + |
| 51 | + <ItemGroup> |
| 52 | + <None Include="..\PACKAGE.md" Pack="true" PackagePath="\README.md" /> |
| 53 | + </ItemGroup> |
| 54 | + |
| 55 | +</Project> |
0 commit comments