winget-cli

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

AppInstallerCLIPackage.wapproj (19107B)


      1 <?xml version="1.0" encoding="utf-8"?>
      2 <Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      3   <PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
      4     <VisualStudioVersion>15.0</VisualStudioVersion>
      5   </PropertyGroup>
      6   <ItemGroup Label="ProjectConfigurations">
      7     <ProjectConfiguration Include="Debug|x86">
      8       <Configuration>Debug</Configuration>
      9       <Platform>x86</Platform>
     10     </ProjectConfiguration>
     11     <ProjectConfiguration Include="Release|x86">
     12       <Configuration>Release</Configuration>
     13       <Platform>x86</Platform>
     14     </ProjectConfiguration>
     15     <ProjectConfiguration Include="Debug|x64">
     16       <Configuration>Debug</Configuration>
     17       <Platform>x64</Platform>
     18     </ProjectConfiguration>
     19     <ProjectConfiguration Include="Release|x64">
     20       <Configuration>Release</Configuration>
     21       <Platform>x64</Platform>
     22     </ProjectConfiguration>
     23     <ProjectConfiguration Include="Debug|ARM64">
     24       <Configuration>Debug</Configuration>
     25       <Platform>ARM64</Platform>
     26     </ProjectConfiguration>
     27     <ProjectConfiguration Include="Release|ARM64">
     28       <Configuration>Release</Configuration>
     29       <Platform>ARM64</Platform>
     30     </ProjectConfiguration>
     31     <ProjectConfiguration Include="Debug|AnyCPU">
     32       <Configuration>Debug</Configuration>
     33       <Platform>AnyCPU</Platform>
     34     </ProjectConfiguration>
     35     <ProjectConfiguration Include="Release|AnyCPU">
     36       <Configuration>Release</Configuration>
     37       <Platform>AnyCPU</Platform>
     38     </ProjectConfiguration>
     39   </ItemGroup>
     40   <PropertyGroup>
     41     <WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
     42   </PropertyGroup>
     43   <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
     44   <PropertyGroup>
     45     <ProjectGuid>6aa3791a-0713-4548-a357-87a323e7ac3a</ProjectGuid>
     46     <TargetPlatformVersion>10.0.26100.0</TargetPlatformVersion>
     47     <TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
     48     <DefaultLanguage>en-US</DefaultLanguage>
     49     <AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
     50     <EntryPointProjectUniqueName>..\AppInstallerCLI\AppInstallerCLI.vcxproj</EntryPointProjectUniqueName>
     51   </PropertyGroup>
     52   <ItemGroup>
     53     <AppxManifest Include="Package.appxmanifest">
     54       <SubType>Designer</SubType>
     55     </AppxManifest>
     56   </ItemGroup>
     57   <ItemGroup>
     58     <Content Include="Images\progress-sixel\arrow_only.png" />
     59     <Content Include="Images\progress-sixel\conveyor.png" />
     60     <Content Include="Images\progress-sixel\folders_only.png" />
     61     <Content Include="Images\SplashScreen.scale-200_altform-colorful_theme-dark.png" />
     62     <Content Include="Images\SplashScreen.scale-200_altform-colorful_theme-light.png" />
     63     <Content Include="Images\SplashScreen.scale-400.png" />
     64     <Content Include="Images\SplashScreen.scale-400_altform-colorful_theme-dark.png" />
     65     <Content Include="Images\SplashScreen.scale-400_altform-colorful_theme-light.png" />
     66     <Content Include="Images\StoreDisplay-150.png" />
     67     <Content Include="Images\StoreDisplay-300.png" />
     68     <Content Include="Images\StoreDisplay-71.png" />
     69     <Content Include="Images\StoreLogo.scale-100.png" />
     70     <Content Include="Images\StoreLogo.scale-100_altform-colorful_theme-light.png" />
     71     <Content Include="Images\StoreLogo.scale-125.png" />
     72     <Content Include="Images\StoreLogo.scale-125_altform-colorful_theme-light.png" />
     73     <Content Include="Images\StoreLogo.scale-150.png" />
     74     <Content Include="Images\StoreLogo.scale-150_altform-colorful_theme-light.png" />
     75     <Content Include="Images\StoreLogo.scale-200.png" />
     76     <Content Include="Images\StoreLogo.scale-200_altform-colorful_theme-light.png" />
     77     <Content Include="Images\StoreLogo.scale-400.png" />
     78     <Content Include="Images\StoreLogo.scale-400_altform-colorful_theme-light.png" />
     79     <Content Include="Images\WideTile.scale-100.png" />
     80     <Content Include="Images\WideTile.scale-100_altform-colorful_theme-light.png" />
     81     <Content Include="Images\WideTile.scale-125.png" />
     82     <Content Include="Images\WideTile.scale-125_altform-colorful_theme-light.png" />
     83     <Content Include="Images\WideTile.scale-150.png" />
     84     <Content Include="Images\WideTile.scale-150_altform-colorful_theme-light.png" />
     85     <Content Include="Images\WideTile.scale-200.png" />
     86     <Content Include="Images\WideTile.scale-200_altform-colorful_theme-light.png" />
     87     <Content Include="Images\WideTile.scale-400.png" />
     88     <Content Include="Images\WideTile.scale-400_altform-colorful_theme-light.png" />
     89     <Content Include="Images\AppList.scale-100.png" />
     90     <Content Include="Images\AppList.scale-100_altform-colorful_theme-light.png" />
     91     <Content Include="Images\AppList.scale-125.png" />
     92     <Content Include="Images\AppList.scale-125_altform-colorful_theme-light.png" />
     93     <Content Include="Images\AppList.scale-150.png" />
     94     <Content Include="Images\AppList.scale-150_altform-colorful_theme-light.png" />
     95     <Content Include="Images\AppList.scale-200.png" />
     96     <Content Include="Images\AppList.scale-200_altform-colorful_theme-light.png" />
     97     <Content Include="Images\AppList.scale-400.png" />
     98     <Content Include="Images\AppList.scale-400_altform-colorful_theme-light.png" />
     99     <Content Include="Images\AppList.targetsize-16.png" />
    100     <Content Include="Images\AppList.targetsize-16_altform-lightunplated.png" />
    101     <Content Include="Images\AppList.targetsize-16_altform-unplated.png" />
    102     <Content Include="Images\AppList.targetsize-20.png" />
    103     <Content Include="Images\AppList.targetsize-20_altform-lightunplated.png" />
    104     <Content Include="Images\AppList.targetsize-20_altform-unplated.png" />
    105     <Content Include="Images\AppList.targetsize-24.png" />
    106     <Content Include="Images\AppList.targetsize-24_altform-lightunplated.png" />
    107     <Content Include="Images\AppList.targetsize-24_altform-unplated.png" />
    108     <Content Include="Images\AppList.targetsize-256.png" />
    109     <Content Include="Images\AppList.targetsize-256_altform-lightunplated.png" />
    110     <Content Include="Images\AppList.targetsize-256_altform-unplated.png" />
    111     <Content Include="Images\AppList.targetsize-30.png" />
    112     <Content Include="Images\AppList.targetsize-30_altform-lightunplated.png" />
    113     <Content Include="Images\AppList.targetsize-30_altform-unplated.png" />
    114     <Content Include="Images\AppList.targetsize-32.png" />
    115     <Content Include="Images\AppList.targetsize-32_altform-lightunplated.png" />
    116     <Content Include="Images\AppList.targetsize-32_altform-unplated.png" />
    117     <Content Include="Images\AppList.targetsize-36.png" />
    118     <Content Include="Images\AppList.targetsize-36_altform-lightunplated.png" />
    119     <Content Include="Images\AppList.targetsize-36_altform-unplated.png" />
    120     <Content Include="Images\AppList.targetsize-40.png" />
    121     <Content Include="Images\AppList.targetsize-40_altform-lightunplated.png" />
    122     <Content Include="Images\AppList.targetsize-40_altform-unplated.png" />
    123     <Content Include="Images\AppList.targetsize-48.png" />
    124     <Content Include="Images\AppList.targetsize-48_altform-lightunplated.png" />
    125     <Content Include="Images\AppList.targetsize-48_altform-unplated.png" />
    126     <Content Include="Images\AppList.targetsize-56.png" />
    127     <Content Include="Images\AppList.targetsize-56_altform-lightunplated.png" />
    128     <Content Include="Images\AppList.targetsize-56_altform-unplated.png" />
    129     <Content Include="Images\AppList.targetsize-60.png" />
    130     <Content Include="Images\AppList.targetsize-60_altform-lightunplated.png" />
    131     <Content Include="Images\AppList.targetsize-60_altform-unplated.png" />
    132     <Content Include="Images\AppList.targetsize-64.png" />
    133     <Content Include="Images\AppList.targetsize-64_altform-lightunplated.png" />
    134     <Content Include="Images\AppList.targetsize-64_altform-unplated.png" />
    135     <Content Include="Images\AppList.targetsize-72.png" />
    136     <Content Include="Images\AppList.targetsize-72_altform-lightunplated.png" />
    137     <Content Include="Images\AppList.targetsize-72_altform-unplated.png" />
    138     <Content Include="Images\AppList.targetsize-80.png" />
    139     <Content Include="Images\AppList.targetsize-80_altform-lightunplated.png" />
    140     <Content Include="Images\AppList.targetsize-80_altform-unplated.png" />
    141     <Content Include="Images\AppList.targetsize-96.png" />
    142     <Content Include="Images\AppList.targetsize-96_altform-lightunplated.png" />
    143     <Content Include="Images\AppList.targetsize-96_altform-unplated.png" />
    144     <Content Include="Images\LargeTile.scale-100.png" />
    145     <Content Include="Images\LargeTile.scale-100_altform-colorful_theme-light.png" />
    146     <Content Include="Images\LargeTile.scale-125.png" />
    147     <Content Include="Images\LargeTile.scale-125_altform-colorful_theme-light.png" />
    148     <Content Include="Images\LargeTile.scale-150.png" />
    149     <Content Include="Images\LargeTile.scale-150_altform-colorful_theme-light.png" />
    150     <Content Include="Images\LargeTile.scale-200.png" />
    151     <Content Include="Images\LargeTile.scale-200_altform-colorful_theme-light.png" />
    152     <Content Include="Images\LargeTile.scale-400.png" />
    153     <Content Include="Images\LargeTile.scale-400_altform-colorful_theme-light.png" />
    154     <Content Include="Images\MedTile.scale-100.png" />
    155     <Content Include="Images\MedTile.scale-100_altform-colorful_theme-light.png" />
    156     <Content Include="Images\MedTile.scale-125.png" />
    157     <Content Include="Images\MedTile.scale-125_altform-colorful_theme-light.png" />
    158     <Content Include="Images\MedTile.scale-150.png" />
    159     <Content Include="Images\MedTile.scale-150_altform-colorful_theme-light.png" />
    160     <Content Include="Images\MedTile.scale-200.png" />
    161     <Content Include="Images\MedTile.scale-200_altform-colorful_theme-light.png" />
    162     <Content Include="Images\MedTile.scale-400.png" />
    163     <Content Include="Images\MedTile.scale-400_altform-colorful_theme-light.png" />
    164     <Content Include="Images\SmallTile.scale-100.png" />
    165     <Content Include="Images\SmallTile.scale-100_altform-colorful_theme-light.png" />
    166     <Content Include="Images\SmallTile.scale-125.png" />
    167     <Content Include="Images\SmallTile.scale-125_altform-colorful_theme-light.png" />
    168     <Content Include="Images\SmallTile.scale-150.png" />
    169     <Content Include="Images\SmallTile.scale-150_altform-colorful_theme-light.png" />
    170     <Content Include="Images\SmallTile.scale-200.png" />
    171     <Content Include="Images\SmallTile.scale-200_altform-colorful_theme-light.png" />
    172     <Content Include="Images\SmallTile.scale-400.png" />
    173     <Content Include="Images\SmallTile.scale-400_altform-colorful_theme-light.png" />
    174     <Content Include="Images\SplashScreen.scale-100.png" />
    175     <Content Include="Images\SplashScreen.scale-100_altform-colorful_theme-dark.png" />
    176     <Content Include="Images\SplashScreen.scale-100_altform-colorful_theme-light.png" />
    177     <Content Include="Images\SplashScreen.scale-125.png" />
    178     <Content Include="Images\SplashScreen.scale-125_altform-colorful_theme-dark.png" />
    179     <Content Include="Images\SplashScreen.scale-125_altform-colorful_theme-light.png" />
    180     <Content Include="Images\SplashScreen.scale-150.png" />
    181     <Content Include="Images\SplashScreen.scale-150_altform-colorful_theme-dark.png" />
    182     <Content Include="Images\SplashScreen.scale-150_altform-colorful_theme-light.png" />
    183     <Content Include="Images\SplashScreen.scale-200.png" />
    184     <None Include="Execute-AppxRecipe.ps1" />
    185     <None Include="Register-WingetdevAutoComplete.ps1" />
    186     <PRIResource Include="Shared\Strings\en-us\winget.resw">
    187       <SubType>Designer</SubType>
    188     </PRIResource>
    189     <PRIResource Include="shared\strings\de-DE\winget.resw" Condition="Exists('shared\strings\de-DE\winget.resw')" />
    190     <PRIResource Include="shared\strings\es-ES\winget.resw" Condition="Exists('shared\strings\es-ES\winget.resw')" />
    191     <PRIResource Include="shared\strings\fr-FR\winget.resw" Condition="Exists('shared\strings\fr-FR\winget.resw')" />
    192     <PRIResource Include="shared\strings\it-IT\winget.resw" Condition="Exists('shared\strings\it-IT\winget.resw')" />
    193     <PRIResource Include="shared\strings\ja-JP\winget.resw" Condition="Exists('shared\strings\ja-JP\winget.resw')" />
    194     <PRIResource Include="shared\strings\ko-KR\winget.resw" Condition="Exists('shared\strings\ko-KR\winget.resw')" />
    195     <PRIResource Include="shared\strings\pt-BR\winget.resw" Condition="Exists('shared\strings\pt-BR\winget.resw')" />
    196     <PRIResource Include="shared\strings\ru-RU\winget.resw" Condition="Exists('shared\strings\ru-RU\winget.resw')" />
    197     <PRIResource Include="shared\strings\zh-CN\winget.resw" Condition="Exists('shared\strings\zh-CN\winget.resw')" />
    198     <PRIResource Include="shared\strings\zh-TW\winget.resw" Condition="Exists('shared\strings\zh-TW\winget.resw')" />
    199     <PRIResource Include="Shared\Strings\en-us\Resources.resw" />
    200   </ItemGroup>
    201   <ItemGroup>
    202     <ProjectReference Include="..\AppInstallerCLI\AppInstallerCLI.vcxproj" />
    203     <ProjectReference Include="..\WinGetServer\WinGetServer.vcxproj" />
    204   </ItemGroup>
    205   <Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
    206   <PropertyGroup Label="Configuration">
    207     <PostBuildEvent>
    208       copy "$(TargetDir)\resources.pri" "$(ProjectDir)\..\$(Platform)\$(Configuration)\AppInstallerCLI\resources.pri"
    209       copy "$(TargetDir)\resources.pri" "$(TargetDir)\AppInstallerCLI\resources.pri"
    210     </PostBuildEvent>
    211   </PropertyGroup>
    212   <PropertyGroup Condition="'$(Platform)'=='ARM64'">
    213     <ConfigServerRid>win-arm64</ConfigServerRid>
    214   </PropertyGroup>
    215   <PropertyGroup Condition="'$(Platform)'=='x64'">
    216     <ConfigServerRid>win-x64</ConfigServerRid>
    217   </PropertyGroup>
    218   <PropertyGroup Condition="'$(Platform)'=='x86'">
    219     <ConfigServerRid>win-x86</ConfigServerRid>
    220   </PropertyGroup>
    221   <Target Name="WinGetGenerateDSCv3Manifests" BeforeTargets="WinGetIncludeAdditionalFilesInPackage">
    222     <Message Importance="normal" Text="Generating DSCv3 manifests..." />
    223     <Copy SourceFiles="$(SolutionDir)\$(PlatformTarget)\$(Configuration)\WindowsPackageManager\WindowsPackageManager.dll" DestinationFolder="$(SolutionDir)\$(PlatformTarget)\$(Configuration)\AppInstallerCLI" SkipUnchangedFiles="true" />
    224     <Exec Command="$(SolutionDir)\$(PlatformTarget)\$(Configuration)\AppInstallerCLI\winget.exe dscv3 --manifest -o $(SolutionDir)\$(PlatformTarget)\$(Configuration)\AppInstallerCLI\DSCv3Manifests" />
    225     <Message Importance="normal" Text="DSCv3 manifests generated." />
    226   </Target>
    227   <Target Name="WinGetIncludeAdditionalFilesInPackage" AfterTargets="_ComputeAppxPackagePayload">
    228     <PropertyGroup>
    229       <WinGetAdditionalPackageFileRoot>$(SolutionDir)</WinGetAdditionalPackageFileRoot>
    230       <WinGetDotNetDirectoryName>DotNet</WinGetDotNetDirectoryName>
    231     </PropertyGroup>
    232     <Message Importance="normal" Text="WinGetAdditionalPackageFileRoot = $(WinGetAdditionalPackageFileRoot)" />
    233     <ItemGroup>
    234       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\WindowsPackageManager\WindowsPackageManager.dll">
    235         <PackagePath>WindowsPackageManager.dll</PackagePath>
    236       </WinGetAdditionalPackageFile>
    237       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\Microsoft.Management.Deployment\Microsoft.Management.Deployment.winmd">
    238         <PackagePath>Microsoft.Management.Deployment.winmd</PackagePath>
    239       </WinGetAdditionalPackageFile>
    240       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\Microsoft.Management.Configuration\Microsoft.Management.Configuration.dll">
    241         <PackagePath>Microsoft.Management.Configuration.dll</PackagePath>
    242       </WinGetAdditionalPackageFile>
    243       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\Microsoft.Management.Configuration\Microsoft.Management.Configuration.winmd">
    244         <PackagePath>Microsoft.Management.Configuration.winmd</PackagePath>
    245       </WinGetAdditionalPackageFile>
    246       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\ConfigurationRemotingServer\net8.0-windows10.0.26100.0\$(ConfigServerRid)\**\*">
    247         <PackagePath>$(WinGetDotNetDirectoryName)</PackagePath>
    248         <Recurse>true</Recurse>
    249       </WinGetAdditionalPackageFile>
    250       <WinGetAdditionalPackageFile Include="$(WinGetAdditionalPackageFileRoot)\$(PlatformTarget)\$(Configuration)\Microsoft.Management.Deployment.OutOfProc\Microsoft.Management.Deployment.OutOfProc.dll">
    251         <PackagePath>$(WinGetDotNetDirectoryName)\Microsoft.Management.Deployment.dll</PackagePath>
    252       </WinGetAdditionalPackageFile>
    253       <WinGetAdditionalPackageFile Include="$(SolutionDir)\PowerShell\ExternalModules\**\*">
    254         <PackagePath>ExternalModules</PackagePath>
    255         <Recurse>true</Recurse>
    256       </WinGetAdditionalPackageFile>
    257       <WinGetAdditionalPackageFile Include="$(SolutionDir)\$(PlatformTarget)\$(Configuration)\AppInstallerCLI\DSCv3Manifests\*">
    258         <PackagePath>.</PackagePath>
    259         <Recurse>true</Recurse>
    260       </WinGetAdditionalPackageFile>
    261     </ItemGroup>
    262     <Error Condition="!Exists('%(WinGetAdditionalPackageFile.Identity)')" Text="%(WinGetAdditionalPackageFile.Identity) was not found" />
    263     <!-- Single (non-recursive) file items -->
    264     <Message Importance="normal" Condition="'%(WinGetAdditionalPackageFile.Recurse)'!='true' AND Exists('%(WinGetAdditionalPackageFile.Identity)')" Text="%(WinGetAdditionalPackageFile.Identity) -&gt; %(WinGetAdditionalPackageFile.PackagePath)" />
    265     <ItemGroup>
    266       <AppxPackagePayload Condition="'%(WinGetAdditionalPackageFile.Recurse)'!='true'" Include="%(WinGetAdditionalPackageFile.Identity)" KeepDuplicates="false">
    267         <TargetPath>%(WinGetAdditionalPackageFile.PackagePath)</TargetPath>
    268       </AppxPackagePayload>
    269     </ItemGroup>
    270     <!-- Recursive file items -->
    271     <Message Importance="normal" Condition="'%(WinGetAdditionalPackageFile.Recurse)'=='true' AND Exists('%(WinGetAdditionalPackageFile.Identity)')" Text="%(WinGetAdditionalPackageFile.Identity) -&gt; %(WinGetAdditionalPackageFile.PackagePath)\%(WinGetAdditionalPackageFile.RecursiveDir)%(WinGetAdditionalPackageFile.Filename)%(WinGetAdditionalPackageFile.Extension)" />
    272     <ItemGroup>
    273       <AppxPackagePayload Condition="'%(WinGetAdditionalPackageFile.Recurse)'=='true'" Include="%(WinGetAdditionalPackageFile.Identity)" KeepDuplicates="false">
    274         <TargetPath>%(WinGetAdditionalPackageFile.PackagePath)\%(WinGetAdditionalPackageFile.RecursiveDir)%(WinGetAdditionalPackageFile.Filename)%(WinGetAdditionalPackageFile.Extension)</TargetPath>
    275       </AppxPackagePayload>
    276     </ItemGroup>
    277   </Target>
    278 </Project>