| 1 | <Project Sdk="Microsoft.NET.Sdk"> |
| 2 | |
| 3 | <PropertyGroup> |
| 4 | <OutputType>Exe</OutputType> |
| 5 | <TargetFramework>net10.0</TargetFramework> |
| 6 | <RuntimeIdentifiers>win-x64;linux-x64;osx-x64;osx-arm64</RuntimeIdentifiers> |
| 7 | <SelfContained>true</SelfContained> |
| 8 | <LangVersion>14</LangVersion> |
| 9 | <Nullable>enable</Nullable> |
| 10 | <ImplicitUsings>enable</ImplicitUsings> |
| 11 | <RootNamespace>HybridCodebaseIndex.Mcp</RootNamespace> |
| 12 | <AssemblyName>HybridCodebaseIndex.Mcp</AssemblyName> |
| 13 | |
| 14 | <VersionPrefix>0.1.0</VersionPrefix> |
| 15 | <IncludeSourceRevisionInInformationalVersion>true</IncludeSourceRevisionInInformationalVersion> |
| 16 | </PropertyGroup> |
| 17 | |
| 18 | <ItemGroup> |
| 19 | <Compile Remove="tools\**\*.cs" /> |
| 20 | <Compile Remove="HybridCodebaseIndex.Mcp.Tests\**\*.cs" /> |
| 21 | <None Remove="HybridCodebaseIndex.Mcp.Tests\**\*" /> |
| 22 | </ItemGroup> |
| 23 | |
| 24 | <ItemGroup> |
| 25 | <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
| 26 | <_Parameter1>HybridCodebaseIndex.Mcp.Tests</_Parameter1> |
| 27 | </AssemblyAttribute> |
| 28 | <AssemblyAttribute Include="System.Runtime.CompilerServices.InternalsVisibleTo"> |
| 29 | <_Parameter1>ExportMcpManifest</_Parameter1> |
| 30 | </AssemblyAttribute> |
| 31 | </ItemGroup> |
| 32 | |
| 33 | <ItemGroup> |
| 34 | <!-- Локальный Core в open/; иначе NuGet (см. cascade-ide CascadeIDE.csproj, agent-notes-mcp) --> |
| 35 | <ProjectReference Include="..\..\hybrid-codebase-index-core\HybridCodebaseIndex.Core.csproj" Condition="Exists('..\..\hybrid-codebase-index-core\HybridCodebaseIndex.Core.csproj')" /> |
| 36 | <PackageReference Include="AIGuiders.HybridCodebaseIndex.Core" Version="0.1.2" Condition="!Exists('..\..\hybrid-codebase-index-core\HybridCodebaseIndex.Core.csproj')" /> |
| 37 | <PackageReference Include="ModelContextProtocol" Version="1.3.0" /> |
| 38 | </ItemGroup> |
| 39 | |
| 40 | <!-- sqlite-vec loadable extension (Windows x64). Omitted on machines where the file is not present (e.g. Linux CI). --> |
| 41 | <ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\native\win-x64\vec0.dll')"> |
| 42 | <None Include="native\win-x64\vec0.dll" CopyToOutputDirectory="PreserveNewest" Link="vec0.dll" /> |
| 43 | </ItemGroup> |
| 44 | |
| 45 | <!-- sqlite-vec loadable extension (Linux x64). --> |
| 46 | <ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\native\linux-x64\vec0.so')"> |
| 47 | <None Include="native\linux-x64\vec0.so" CopyToOutputDirectory="PreserveNewest" Link="vec0.so" /> |
| 48 | </ItemGroup> |
| 49 | |
| 50 | <!-- sqlite-vec loadable extension (macOS x64). --> |
| 51 | <ItemGroup Condition="Exists('$(MSBuildProjectDirectory)\native\osx-x64\vec0.dylib')"> |
| 52 | <None Include="native\osx-x64\vec0.dylib" CopyToOutputDirectory="PreserveNewest" Link="vec0.dylib" /> |
| 53 | </ItemGroup> |
| 54 | </Project> |
| 55 | |