PackageIdentity.vcxproj
1 <?xml version="1.0" encoding="utf-8"?> 2 <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> 3 4 <!-- CI Build Configuration --> 5 <PropertyGroup Condition="'$(CIBuild)'=='true'"> 6 <ForceCIPackaging>true</ForceCIPackaging> 7 <NoSignCI>true</NoSignCI> 8 </PropertyGroup> 9 10 <!-- Target to generate sparse MSIX package --> 11 <Target Name="GenerateSparsePackage" BeforeTargets="PrepareForBuild"> 12 <!-- Use NoSign only for CI builds to avoid certificate issues on hosted agents --> 13 <PropertyGroup> 14 <NoSignParam Condition="'$(NoSignCI)' == 'true'">-NoSign</NoSignParam> 15 <NoSignParam Condition="'$(NoSignCI)' != 'true'"></NoSignParam> 16 <CIBuildParam Condition="'$(CIBuild)' == 'true'">-CIBuild</CIBuildParam> 17 <CIBuildParam Condition="'$(CIBuild)' != 'true'"></CIBuildParam> 18 </PropertyGroup> 19 20 <Exec Command="pwsh -NonInteractive -ExecutionPolicy Bypass -File "$(MSBuildThisFileDirectory)BuildSparsePackage.ps1" -Platform $(Platform) -Configuration $(Configuration) $(NoSignParam) $(CIBuildParam)" 21 ContinueOnError="false" 22 WorkingDirectory="$(MSBuildThisFileDirectory)" /> 23 </Target> 24 25 <ItemGroup Label="ProjectConfigurations"> 26 <ProjectConfiguration Include="Debug|x64"> 27 <Configuration>Debug</Configuration> 28 <Platform>x64</Platform> 29 </ProjectConfiguration> 30 <ProjectConfiguration Include="Release|x64"> 31 <Configuration>Release</Configuration> 32 <Platform>x64</Platform> 33 </ProjectConfiguration> 34 <ProjectConfiguration Include="Debug|ARM64"> 35 <Configuration>Debug</Configuration> 36 <Platform>ARM64</Platform> 37 </ProjectConfiguration> 38 <ProjectConfiguration Include="Release|ARM64"> 39 <Configuration>Release</Configuration> 40 <Platform>ARM64</Platform> 41 </ProjectConfiguration> 42 </ItemGroup> 43 44 <PropertyGroup Label="Globals"> 45 <VCProjectVersion>15.0</VCProjectVersion> 46 <Keyword>Win32Proj</Keyword> 47 <ProjectGuid>{E2A5A82E-1E5B-4C8D-9A4F-2B1A8F9E5C3D}</ProjectGuid> 48 <RootNamespace>PackageIdentity</RootNamespace> 49 <ProjectName>PackageIdentity</ProjectName> 50 <UseFastUpToDateCheck>false</UseFastUpToDateCheck> 51 </PropertyGroup> 52 53 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 54 55 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> 56 <ConfigurationType>Utility</ConfigurationType> 57 <UseDebugLibraries>true</UseDebugLibraries> 58 59 </PropertyGroup> 60 61 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> 62 <ConfigurationType>Utility</ConfigurationType> 63 <UseDebugLibraries>false</UseDebugLibraries> 64 65 <WholeProgramOptimization>true</WholeProgramOptimization> 66 </PropertyGroup> 67 68 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration"> 69 <ConfigurationType>Utility</ConfigurationType> 70 <UseDebugLibraries>true</UseDebugLibraries> 71 72 </PropertyGroup> 73 74 <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration"> 75 <ConfigurationType>Utility</ConfigurationType> 76 <UseDebugLibraries>false</UseDebugLibraries> 77 78 <WholeProgramOptimization>true</WholeProgramOptimization> 79 </PropertyGroup> 80 81 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 82 83 <ImportGroup Label="ExtensionSettings"> 84 </ImportGroup> 85 86 <ImportGroup Label="Shared"> 87 </ImportGroup> 88 89 <ImportGroup Label="PropertySheets"> 90 <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 91 <Import Project="..\Solution.props" /> 92 </ImportGroup> 93 94 <PropertyGroup Label="UserMacros" /> 95 96 <ItemGroup> 97 <None Include="AppxManifest.xml" /> 98 <None Include="BuildSparsePackage.ps1" /> 99 <None Include="BuildSparsePackage.cmd" /> 100 <None Include="Check-ProcessIdentity.ps1" /> 101 </ItemGroup> 102 103 <ItemGroup> 104 <Image Include="Images\Square150x150Logo.png"> 105 <Filter>Images</Filter> 106 </Image> 107 <Image Include="Images\Square44x44Logo.png"> 108 <Filter>Images</Filter> 109 </Image> 110 <Image Include="Images\StoreLogo.png"> 111 <Filter>Images</Filter> 112 </Image> 113 </ItemGroup> 114 115 <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 116 117 <ImportGroup Label="ExtensionTargets"> 118 </ImportGroup> 119 120 </Project>