Microsoft.Management.Deployment.vcxproj (16972B)
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.props" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.props')" /> 4 <PropertyGroup Label="Globals"> 5 <CppWinRTOptimized>true</CppWinRTOptimized> 6 <CppWinRTRootNamespaceAutoMerge>true</CppWinRTRootNamespaceAutoMerge> 7 <CppWinRTGenerateWindowsMetadata>true</CppWinRTGenerateWindowsMetadata> 8 <MinimalCoreWin>true</MinimalCoreWin> 9 <ProjectGuid>{1cc41a9a-ae66-459d-9210-1e572dd7be69}</ProjectGuid> 10 <ProjectName>Microsoft.Management.Deployment</ProjectName> 11 <RootNamespace>Microsoft.Management.Deployment</RootNamespace> 12 <DefaultLanguage>en-US</DefaultLanguage> 13 <MinimumVisualStudioVersion>14.0</MinimumVisualStudioVersion> 14 <ApplicationTypeRevision>10.0</ApplicationTypeRevision> 15 <WindowsTargetPlatformVersion>10.0.26100.0</WindowsTargetPlatformVersion> 16 <WindowsTargetPlatformMinVersion>10.0.17763.0</WindowsTargetPlatformMinVersion> 17 <WindowsSDKDesktopARM64Support>true</WindowsSDKDesktopARM64Support> 18 <CppWinRTParameters>-library Microsoft_Management_Deployment</CppWinRTParameters> 19 </PropertyGroup> 20 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 21 <ItemGroup Label="ProjectConfigurations"> 22 <ProjectConfiguration Include="Debug|ARM64"> 23 <Configuration>Debug</Configuration> 24 <Platform>ARM64</Platform> 25 </ProjectConfiguration> 26 <ProjectConfiguration Include="Debug|Win32"> 27 <Configuration>Debug</Configuration> 28 <Platform>Win32</Platform> 29 </ProjectConfiguration> 30 <ProjectConfiguration Include="Debug|x64"> 31 <Configuration>Debug</Configuration> 32 <Platform>x64</Platform> 33 </ProjectConfiguration> 34 <ProjectConfiguration Include="ReleaseStatic|ARM64"> 35 <Configuration>ReleaseStatic</Configuration> 36 <Platform>ARM64</Platform> 37 </ProjectConfiguration> 38 <ProjectConfiguration Include="ReleaseStatic|Win32"> 39 <Configuration>ReleaseStatic</Configuration> 40 <Platform>Win32</Platform> 41 </ProjectConfiguration> 42 <ProjectConfiguration Include="ReleaseStatic|x64"> 43 <Configuration>ReleaseStatic</Configuration> 44 <Platform>x64</Platform> 45 </ProjectConfiguration> 46 <ProjectConfiguration Include="Release|ARM64"> 47 <Configuration>Release</Configuration> 48 <Platform>ARM64</Platform> 49 </ProjectConfiguration> 50 <ProjectConfiguration Include="Release|Win32"> 51 <Configuration>Release</Configuration> 52 <Platform>Win32</Platform> 53 </ProjectConfiguration> 54 <ProjectConfiguration Include="Release|x64"> 55 <Configuration>Release</Configuration> 56 <Platform>x64</Platform> 57 </ProjectConfiguration> 58 </ItemGroup> 59 <PropertyGroup Label="Configuration"> 60 <ConfigurationType>StaticLibrary</ConfigurationType> 61 <PlatformToolset>v140</PlatformToolset> 62 <PlatformToolset Condition="'$(VisualStudioVersion)' == '15.0'">v141</PlatformToolset> 63 <PlatformToolset Condition="'$(VisualStudioVersion)' == '16.0'">v142</PlatformToolset> 64 <PlatformToolset Condition="'$(VisualStudioVersion)' == '17.0'">v143</PlatformToolset> 65 <CharacterSet>Unicode</CharacterSet> 66 <GenerateManifest>false</GenerateManifest> 67 </PropertyGroup> 68 <PropertyGroup Condition="'$(Configuration)'=='Debug'" Label="Configuration"> 69 <UseDebugLibraries>true</UseDebugLibraries> 70 <LinkIncremental>true</LinkIncremental> 71 </PropertyGroup> 72 <PropertyGroup Condition="'$(Configuration)'=='Release'" Label="Configuration"> 73 <UseDebugLibraries>false</UseDebugLibraries> 74 <WholeProgramOptimization>true</WholeProgramOptimization> 75 <LinkIncremental>false</LinkIncremental> 76 <SpectreMitigation>Spectre</SpectreMitigation> 77 </PropertyGroup> 78 <PropertyGroup Condition="'$(Configuration)'=='ReleaseStatic'" Label="Configuration"> 79 <UseDebugLibraries>false</UseDebugLibraries> 80 <WholeProgramOptimization>true</WholeProgramOptimization> 81 <LinkIncremental>false</LinkIncremental> 82 <SpectreMitigation>Spectre</SpectreMitigation> 83 </PropertyGroup> 84 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 85 <ImportGroup Label="ExtensionSettings"> 86 </ImportGroup> 87 <ImportGroup Label="Shared"> 88 <Import Project="..\COMServer\COMServer.vcxitems" Label="Shared" /> 89 </ImportGroup> 90 <ImportGroup Label="PropertySheets"> 91 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 92 </ImportGroup> 93 <ImportGroup Label="PropertySheets"> 94 <Import Project="PropertySheet.props" /> 95 </ImportGroup> 96 <PropertyGroup Label="UserMacros" /> 97 <PropertyGroup> 98 <IncludePath>$(VC_IncludePath);$(WindowsSDK_IncludePath);</IncludePath> 99 <OutDir>$(SolutionDir)$(PlatformTarget)\$(Configuration)\$(ProjectName)\</OutDir> 100 <IntDir>$(PlatformTarget)\$(Configuration)\</IntDir> 101 <TargetName>$(RootNamespace).Server</TargetName> 102 <CodeAnalysisTreatWarningsAsErrors>true</CodeAnalysisTreatWarningsAsErrors> 103 <RunCodeAnalysis>false</RunCodeAnalysis> 104 <CodeAnalysisRuleSet>..\CodeAnalysis.ruleset</CodeAnalysisRuleSet> 105 </PropertyGroup> 106 <Import Project="$(ProjectDir)\..\vcpkg.props" /> 107 <ItemDefinitionGroup> 108 <ClCompile> 109 <PrecompiledHeader>Use</PrecompiledHeader> 110 <PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile> 111 <PrecompiledHeaderOutputFile>$(IntDir)pch.pch</PrecompiledHeaderOutputFile> 112 <WarningLevel>Level4</WarningLevel> 113 <AdditionalOptions>%(AdditionalOptions) /bigobj</AdditionalOptions> 114 <TreatWarningAsError>true</TreatWarningAsError> 115 <SDLCheck>true</SDLCheck> 116 <PreprocessorDefinitions>_WINRT_DLL;WIN32_LEAN_AND_MEAN;WINRT_LEAN_AND_MEAN;%(PreprocessorDefinitions)</PreprocessorDefinitions> 117 <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories> 118 <AdditionalIncludeDirectories>$(ProjectDir)..\AppInstallerCLICore;$(ProjectDir);$(ProjectDir)..\AppInstallerRepositoryCore;$(ProjectDir)..\AppInstallerRepositoryCore\Public;$(ProjectDir)..\AppInstallerCommonCore\Public;$(ProjectDir)..\AppInstallerSharedLib\Public;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> 119 </ClCompile> 120 <Link> 121 <SubSystem>Console</SubSystem> 122 <GenerateWindowsMetadata>false</GenerateWindowsMetadata> 123 <ModuleDefinitionFile>Microsoft_Management_Deployment.def</ModuleDefinitionFile> 124 <WindowsMetadataFile>$(OutDir)$(ProjectName).winmd</WindowsMetadataFile> 125 <AdditionalDependencies>AppInstallerCLICore.lib;AppInstallerCommonCore.lib;AppInstallerRepositoryCore.lib;JsonCppLib.lib;YamlCppLib.lib;wininet.lib;shell32.lib;winsqlite3.lib;shlwapi.lib;icuuc.lib;icuin.lib;urlmon.lib;Advapi32.lib;winhttp.lib;pure.lib%(AdditionalDependencies)</AdditionalDependencies> 126 </Link> 127 </ItemDefinitionGroup> 128 <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'"> 129 <ClCompile> 130 <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 131 <ProgramDataBaseFileName>$(OutDir)$(TargetName)Debug.pdb</ProgramDataBaseFileName> 132 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">false</RuntimeTypeInfo> 133 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</RuntimeTypeInfo> 134 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</RuntimeTypeInfo> 135 </ClCompile> 136 </ItemDefinitionGroup> 137 <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'"> 138 <ClCompile> 139 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 140 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">false</RuntimeTypeInfo> 141 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</RuntimeTypeInfo> 142 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</RuntimeTypeInfo> 143 </ClCompile> 144 <Link> 145 <EnableCOMDATFolding>true</EnableCOMDATFolding> 146 <OptimizeReferences>true</OptimizeReferences> 147 </Link> 148 </ItemDefinitionGroup> 149 <ItemDefinitionGroup Condition="'$(Configuration)'=='ReleaseStatic'"> 150 <ClCompile> 151 <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> 152 <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|ARM64'">MultiThreaded</RuntimeLibrary> 153 <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|Win32'">MultiThreaded</RuntimeLibrary> 154 <RuntimeLibrary Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'">MultiThreaded</RuntimeLibrary> 155 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|ARM64'">false</RuntimeTypeInfo> 156 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|Win32'">false</RuntimeTypeInfo> 157 <RuntimeTypeInfo Condition="'$(Configuration)|$(Platform)'=='ReleaseStatic|x64'">false</RuntimeTypeInfo> 158 </ClCompile> 159 <Link> 160 <EnableCOMDATFolding>true</EnableCOMDATFolding> 161 <OptimizeReferences>true</OptimizeReferences> 162 </Link> 163 </ItemDefinitionGroup> 164 <ItemDefinitionGroup Condition="'$(UseProdCLSIDs)'=='true'"> 165 <ClCompile> 166 <PreprocessorDefinitions>USE_PROD_CLSIDS;%(PreprocessorDefinitions)</PreprocessorDefinitions> 167 </ClCompile> 168 </ItemDefinitionGroup> 169 <ItemGroup> 170 <ClInclude Include="AddPackageCatalogOptions.h" /> 171 <ClInclude Include="AddPackageCatalogResult.h" /> 172 <ClInclude Include="AuthenticationArguments.h" /> 173 <ClInclude Include="AuthenticationInfo.h" /> 174 <ClInclude Include="CatalogPackage.h" /> 175 <ClInclude Include="CheckInstalledStatusResult.h" /> 176 <ClInclude Include="ConnectResult.h" /> 177 <ClInclude Include="Converters.h" /> 178 <ClInclude Include="CreateCompositePackageCatalogOptions.h" /> 179 <ClInclude Include="Documentation.h" /> 180 <ClInclude Include="DownloadOptions.h" /> 181 <ClInclude Include="DownloadResult.h" /> 182 <ClInclude Include="FindPackagesOptions.h" /> 183 <ClInclude Include="FindPackagesResult.h" /> 184 <ClInclude Include="Helpers.h" /> 185 <ClInclude Include="Icon.h" /> 186 <ClInclude Include="InstalledStatus.h" /> 187 <ClInclude Include="InstallOptions.h" /> 188 <ClInclude Include="InstallResult.h" /> 189 <ClInclude Include="MatchResult.h" /> 190 <ClInclude Include="MicrosoftEntraIdAuthenticationInfo.h" /> 191 <ClInclude Include="PackageAgreement.h" /> 192 <ClInclude Include="PackageCatalog.h" /> 193 <ClInclude Include="PackageCatalogInfo.h" /> 194 <ClInclude Include="PackageCatalogProgress.h" /> 195 <ClInclude Include="PackageCatalogReference.h" /> 196 <ClInclude Include="PackageInstallerInfo.h" /> 197 <ClInclude Include="PackageInstallerInstalledStatus.h" /> 198 <ClInclude Include="CatalogPackageMetadata.h" /> 199 <ClInclude Include="PackageManager.h" /> 200 <ClInclude Include="PackageManagerSettings.h" /> 201 <ClInclude Include="PackageMatchFilter.h" /> 202 <ClInclude Include="PackageVersionId.h" /> 203 <ClInclude Include="PackageVersionInfo.h" /> 204 <ClInclude Include="pch.h" /> 205 <ClInclude Include="Public\CoCreatableMicrosoftManagementDeploymentClass.h" /> 206 <ClInclude Include="Public\ComClsids.h" /> 207 <ClInclude Include="RemovePackageCatalogOptions.h" /> 208 <ClInclude Include="RepairOptions.h" /> 209 <ClInclude Include="RepairResult.h" /> 210 <ClInclude Include="RemovePackageCatalogResult.h" /> 211 <ClInclude Include="SourceAgreement.h" /> 212 <ClInclude Include="UninstallOptions.h" /> 213 <ClInclude Include="UninstallResult.h" /> 214 <ClInclude Include="RefreshPackageCatalogResult.h" /> 215 </ItemGroup> 216 <ItemGroup> 217 <ClCompile Include="AddPackageCatalogOptions.cpp" /> 218 <ClCompile Include="AddPackageCatalogResult.cpp" /> 219 <ClCompile Include="AuthenticationArguments.cpp" /> 220 <ClCompile Include="AuthenticationInfo.cpp" /> 221 <ClCompile Include="CatalogPackage.cpp" /> 222 <ClCompile Include="CheckInstalledStatusResult.cpp" /> 223 <ClCompile Include="ComClsids.cpp" /> 224 <ClCompile Include="ConnectResult.cpp" /> 225 <ClCompile Include="Converters.cpp" /> 226 <ClCompile Include="CreateCompositePackageCatalogOptions.cpp" /> 227 <ClCompile Include="Documentation.cpp" /> 228 <ClCompile Include="DownloadOptions.cpp" /> 229 <ClCompile Include="DownloadResult.cpp" /> 230 <ClCompile Include="FindPackagesOptions.cpp" /> 231 <ClCompile Include="FindPackagesResult.cpp" /> 232 <ClCompile Include="Helpers.cpp" /> 233 <ClCompile Include="Icon.cpp" /> 234 <ClCompile Include="InstalledStatus.cpp" /> 235 <ClCompile Include="InstallOptions.cpp" /> 236 <ClCompile Include="InstallResult.cpp" /> 237 <ClCompile Include="MatchResult.cpp" /> 238 <ClCompile Include="MicrosoftEntraIdAuthenticationInfo.cpp" /> 239 <ClCompile Include="PackageAgreement.cpp" /> 240 <ClCompile Include="PackageCatalog.cpp" /> 241 <ClCompile Include="PackageCatalogInfo.cpp" /> 242 <ClCompile Include="PackageCatalogProgress.cpp" /> 243 <ClCompile Include="PackageCatalogReference.cpp" /> 244 <ClCompile Include="PackageInstallerInfo.cpp" /> 245 <ClCompile Include="PackageInstallerInstalledStatus.cpp" /> 246 <ClCompile Include="CatalogPackageMetadata.cpp" /> 247 <ClCompile Include="PackageManager.cpp" /> 248 <ClCompile Include="PackageManagerSettings.cpp" /> 249 <ClCompile Include="PackageMatchFilter.cpp" /> 250 <ClCompile Include="PackageVersionId.cpp" /> 251 <ClCompile Include="PackageVersionInfo.cpp" /> 252 <ClCompile Include="pch.cpp"> 253 <PrecompiledHeader>Create</PrecompiledHeader> 254 </ClCompile> 255 <ClCompile Include="RemovePackageCatalogOptions.cpp" /> 256 <ClCompile Include="RepairOptions.cpp" /> 257 <ClCompile Include="RepairResult.cpp" /> 258 <ClCompile Include="RemovePackageCatalogResult.cpp" /> 259 <ClCompile Include="SourceAgreement.cpp" /> 260 <ClCompile Include="$(GeneratedFilesDir)module.g.cpp" /> 261 <ClCompile Include="UninstallOptions.cpp" /> 262 <ClCompile Include="UninstallResult.cpp" /> 263 <ClCompile Include="RefreshPackageCatalogResult.cpp" /> 264 </ItemGroup> 265 <ItemGroup> 266 <None Include="Microsoft_Management_Deployment.def" /> 267 </ItemGroup> 268 <ItemGroup> 269 <None Include="packages.config" /> 270 <None Include="PropertySheet.props" /> 271 </ItemGroup> 272 <ItemGroup> 273 <Midl Include="PackageManager.idl" /> 274 </ItemGroup> 275 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 276 <ImportGroup Label="ExtensionTargets"> 277 <Import Project="$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets')" /> 278 <Import Project="$(SolutionDir)\packages\Microsoft.Windows.ImplementationLibrary.1.0.231028.1\build\native\Microsoft.Windows.ImplementationLibrary.targets" Condition="Exists('$(SolutionDir)\packages\Microsoft.Windows.ImplementationLibrary.1.0.231028.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" /> 279 </ImportGroup> 280 <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> 281 <PropertyGroup> 282 <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> 283 </PropertyGroup> 284 <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.props')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.props'))" /> 285 <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.CppWinRT.2.0.230706.1\build\native\Microsoft.Windows.CppWinRT.targets'))" /> 286 <Error Condition="!Exists('$(SolutionDir)\packages\Microsoft.Windows.ImplementationLibrary.1.0.231028.1\build\native\Microsoft.Windows.ImplementationLibrary.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\packages\Microsoft.Windows.ImplementationLibrary.1.0.231028.1\build\native\Microsoft.Windows.ImplementationLibrary.targets'))" /> 287 </Target> 288 </Project>