| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | |
| 3 | <PropertyGroup> |
| 4 | <OutputType>Exe</OutputType> |
| 5 | <TargetFramework>net10.0</TargetFramework> |
| 6 | <!-- Без одиночного RuntimeIdentifier: при build/run SDK берёт RID хоста. Публикация: dotnet publish -r win-x64|linux-x64 --> |
| 7 | <RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers> |
| 8 | <SelfContained>true</SelfContained> |
| 9 | <LangVersion>14</LangVersion> |
| 10 | <Nullable>enable</Nullable> |
| 11 | <ImplicitUsings>enable</ImplicitUsings> |
| 12 | <RootNamespace>RoslynMcp</RootNamespace> |
| 13 | <AssemblyName>RoslynMcp</AssemblyName> |
| 14 | <EnforceCodeStyleInBuild>true</EnforceCodeStyleInBuild> |
| 15 | <AnalysisLevel>latest-recommended</AnalysisLevel> |
| 16 | </PropertyGroup> |
| 17 | |
| 18 | <ItemGroup> |
| 19 | <Compile Remove="tools\**\*.cs" /> |
| 20 | <Compile Remove="RoslynMcp.Tests\**\*.cs" /> |
| 21 | <None Remove="RoslynMcp.Tests\**\*" /> |
| 22 | </ItemGroup> |
| 23 | |
| 24 | <ItemGroup> |
| 25 | <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
| 26 | <_Parameter1>RoslynMcp.Tests</_Parameter1> |
| 27 | </AssemblyAttribute> |
| 28 | <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
| 29 | <_Parameter1>ExportMcpManifest</_Parameter1> |
| 30 | </AssemblyAttribute> |
| 31 | </ItemGroup> |
| 32 | |
| 33 | <ItemGroup> |
| 34 | <PackageReference Include="Microsoft.Build.Locator" Version="1.9.1" /> |
| 35 | <PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" /> |
| 36 | <PackageReference Include="ModelContextProtocol" Version="1.3.0" /> |
| 37 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Workspaces" Version="5.3.0" /> |
| 38 | <PackageReference Include="Microsoft.CodeAnalysis.CSharp.Features" Version="5.3.0" /> |
| 39 | <PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="5.3.0" /> |
| 40 | <PackageReference Include="Microsoft.Build.Tasks.Core" Version="17.8.43"> |
| 41 | <ExcludeAssets>runtime</ExcludeAssets> |
| 42 | </PackageReference> |
| 43 | </ItemGroup> |
| 44 | |
| 45 | </Project> |
| 46 | |