winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

WinGetMCPServer.csproj (2702B)


      1 <Project Sdk="Microsoft.NET.Sdk">
      2 
      3   <PropertyGroup>
      4     <OutputType>Exe</OutputType>
      5     <TargetWindowsVersion>10.0.26100.0</TargetWindowsVersion>
      6     <TargetFramework>net8.0-windows$(TargetWindowsVersion)</TargetFramework>
      7     <ImplicitUsings>enable</ImplicitUsings>
      8     <Nullable>enable</Nullable>
      9     <SupportedOSPlatformVersion>10.0.17763.0</SupportedOSPlatformVersion>
     10     <Platforms>x64;x86;arm64</Platforms>
     11     <OutputPath>$(SolutionDir)$(Platform)\$(Configuration)\$(MSBuildProjectName)\</OutputPath>
     12     <SelfContained>true</SelfContained>
     13     <RuntimeIdentifiers>win-x64;win-x86;win-arm64</RuntimeIdentifiers>
     14   </PropertyGroup>
     15 
     16   <PropertyGroup Condition=" '$(Platform)' == 'x64' ">
     17     <RuntimeIdentifier>win-x64</RuntimeIdentifier>
     18   </PropertyGroup>
     19 
     20   <PropertyGroup Condition=" '$(Platform)' == 'x86' ">
     21     <RuntimeIdentifier>win-x86</RuntimeIdentifier>
     22   </PropertyGroup>
     23 
     24   <PropertyGroup Condition=" '$(Platform)' == 'arm64' ">
     25     <RuntimeIdentifier>win-arm64</RuntimeIdentifier>
     26   </PropertyGroup>
     27 
     28   <ItemGroup>
     29     <PackageReference Include="Microsoft.Extensions.Hosting" />
     30     <PackageReference Include="ModelContextProtocol" />
     31   </ItemGroup>
     32 
     33   <ItemGroup>
     34     <PackageReference Include="Microsoft.Windows.CsWinRT" />
     35     <ProjectReference Include="..\Microsoft.Management.Deployment\Microsoft.Management.Deployment.vcxproj">
     36       <Private>False</Private>
     37     </ProjectReference>
     38     <ProjectReference Include="..\PowerShell\Microsoft.WinGet.SharedLib\Microsoft.WinGet.SharedLib.csproj" />
     39   </ItemGroup>
     40 
     41   <Import Project="..\targets\EmbeddedCsWinRT.targets" />
     42 
     43   <PropertyGroup>
     44     <CsWinRTIncludes>
     45       Microsoft.Management.Deployment;
     46       Windows.Data.Text.TextSegmen;
     47       Windows.Devices.Geolocation;
     48       Windows.Foundation;
     49       Windows.Globalization.DayOfWee;
     50       Windows.Networking.Connectivity;
     51       Windows.Networking.DomainNameTyp;
     52       Windows.Networking.EndpointPai;
     53       Windows.Networking.IEndpointPai;
     54       Windows.Networking.HostNam;
     55       Windows.Networking.IHostNam;
     56       Windows.Security.Cryptography.Certificates;
     57       Windows.Storage;
     58       Windows.Storage.Provider.FileUpdateStatu;
     59       Windows.System.ProcessorArchitectur;
     60       Windows.System.Use;
     61       Windows.System.IUse;
     62     </CsWinRTIncludes>
     63     <CsWinRTExcludes>
     64       Windows.Foundation.PropertyType;
     65       Windows.Storage.Provider;
     66     </CsWinRTExcludes>
     67     <CsWinRTWindowsMetadata>$(TargetWindowsVersion)</CsWinRTWindowsMetadata>
     68     <!-- Ensure Support for Windows 10, Version 1809 -->
     69     <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
     70   </PropertyGroup>
     71 
     72 </Project>