winget-cli

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

WinGet-InProc.vcxproj (5941B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      3   <Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props')" />
      4   <ItemGroup Label="ProjectConfigurations">
      5     <ProjectConfiguration Include="Debug|ARM64">
      6       <Configuration>Debug</Configuration>
      7       <Platform>ARM64</Platform>
      8     </ProjectConfiguration>
      9     <ProjectConfiguration Include="Debug|Win32">
     10       <Configuration>Debug</Configuration>
     11       <Platform>Win32</Platform>
     12     </ProjectConfiguration>
     13     <ProjectConfiguration Include="Release|ARM64">
     14       <Configuration>Release</Configuration>
     15       <Platform>ARM64</Platform>
     16     </ProjectConfiguration>
     17     <ProjectConfiguration Include="Release|Win32">
     18       <Configuration>Release</Configuration>
     19       <Platform>Win32</Platform>
     20     </ProjectConfiguration>
     21     <ProjectConfiguration Include="Debug|x64">
     22       <Configuration>Debug</Configuration>
     23       <Platform>x64</Platform>
     24     </ProjectConfiguration>
     25     <ProjectConfiguration Include="Release|x64">
     26       <Configuration>Release</Configuration>
     27       <Platform>x64</Platform>
     28     </ProjectConfiguration>
     29   </ItemGroup>
     30   <PropertyGroup Label="Globals">
     31     <VCProjectVersion>17.0</VCProjectVersion>
     32     <Keyword>Win32Proj</Keyword>
     33     <ProjectGuid>{925454b7-a3fa-40c9-806a-4b64d5764157}</ProjectGuid>
     34     <RootNamespace>WinGetInProc</RootNamespace>
     35     <WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
     36     <ProjectName>C++_WinGet_InProc</ProjectName>
     37   </PropertyGroup>
     38   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
     39   <PropertyGroup Label="Configuration">
     40     <ConfigurationType>Application</ConfigurationType>
     41     <PlatformToolset>v143</PlatformToolset>
     42     <CharacterSet>Unicode</CharacterSet>
     43   </PropertyGroup>
     44   <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration">
     45     <UseDebugLibraries>true</UseDebugLibraries>
     46   </PropertyGroup>
     47   <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration">
     48     <UseDebugLibraries>false</UseDebugLibraries>
     49     <WholeProgramOptimization>true</WholeProgramOptimization>
     50   </PropertyGroup>
     51   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
     52   <ImportGroup Label="ExtensionSettings">
     53   </ImportGroup>
     54   <ImportGroup Label="Shared">
     55   </ImportGroup>
     56   <ImportGroup Label="PropertySheets">
     57     <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
     58   </ImportGroup>
     59   <PropertyGroup Label="UserMacros" />
     60   <ItemDefinitionGroup>
     61     <ClCompile>
     62       <WarningLevel>Level3</WarningLevel>
     63       <SDLCheck>true</SDLCheck>
     64       <PreprocessorDefinitions>_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     65       <ConformanceMode>true</ConformanceMode>
     66     </ClCompile>
     67     <Link>
     68       <SubSystem>Console</SubSystem>
     69       <GenerateDebugInformation>true</GenerateDebugInformation>
     70     </Link>
     71   </ItemDefinitionGroup>
     72   <ItemDefinitionGroup Condition="'$(Platform)'=='Win32'">
     73     <ClCompile>
     74       <PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     75     </ClCompile>
     76   </ItemDefinitionGroup>
     77   <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
     78     <ClCompile>
     79       <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     80     </ClCompile>
     81   </ItemDefinitionGroup>
     82   <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
     83     <ClCompile>
     84       <FunctionLevelLinking>true</FunctionLevelLinking>
     85       <IntrinsicFunctions>true</IntrinsicFunctions>
     86       <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
     87     </ClCompile>
     88     <Link>
     89       <EnableCOMDATFolding>true</EnableCOMDATFolding>
     90       <OptimizeReferences>true</OptimizeReferences>
     91     </Link>
     92   </ItemDefinitionGroup>
     93   <ItemGroup>
     94     <ClCompile Include="WinGet-InProc.cpp" />
     95   </ItemGroup>
     96   <ItemGroup>
     97     <None Include="packages.config" />
     98   </ItemGroup>
     99   <!-- Reference the .winmd so that it can be processed by CppWinRT -->
    100   <ItemGroup>
    101     <Reference Include="Microsoft.Management.Deployment">
    102       <HintPath>..\..\packages\Microsoft.WindowsPackageManager.InProcCom.1.10.340\lib\Microsoft.Management.Deployment.winmd</HintPath>
    103       <IsWinMDFile>true</IsWinMDFile>
    104     </Reference>
    105   </ItemGroup>
    106   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
    107   <ImportGroup Label="ExtensionTargets">
    108     <Import Project="..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets')" />
    109   </ImportGroup>
    110   <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
    111     <PropertyGroup>
    112       <ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them.  For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
    113     </PropertyGroup>
    114     <Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.props'))" />
    115     <Error Condition="!Exists('..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Windows.CppWinRT.2.0.240405.15\build\native\Microsoft.Windows.CppWinRT.targets'))" />
    116   </Target>
    117 </Project>