|
9 | 9 | <RuntimeIdentifiers>win-x64</RuntimeIdentifiers>
|
10 | 10 | <UseWinUI>true</UseWinUI>
|
11 | 11 | <AssemblyName>Crimson</AssemblyName>
|
12 |
| - <EnableMsixTooling>true</EnableMsixTooling> |
13 |
| - <PublishProfile>Properties\PublishProfiles\win-$(Platform).pubxml</PublishProfile> |
14 |
| - |
15 |
| - <!--<WindowsPackageType>None</WindowsPackageType> |
16 |
| - <UseRidGraph>true</UseRidGraph>--> |
| 12 | + <EnableMsixTooling>true</EnableMsixTooling> |
| 13 | + <!--<WindowsPackageType>None</WindowsPackageType>--> |
| 14 | + <UseRidGraph>true</UseRidGraph> |
17 | 15 | </PropertyGroup>
|
18 |
| - <ItemGroup> |
19 |
| - <None Remove="Views\CurrentControl.xaml" /> |
20 |
| - <None Remove="Views\DownloadsPage.xaml" /> |
21 |
| - <None Remove="Views\GameInfoPage.xaml" /> |
22 |
| - <None Remove="Views\LibraryPage.xaml" /> |
23 |
| - <None Remove="Views\LoginPage.xaml" /> |
24 |
| - <None Remove="Package.appxmanifest" /> |
25 |
| - <None Remove="Views\SettingsPage.xaml" /> |
26 |
| - </ItemGroup> |
27 |
| - <ItemGroup> |
28 |
| - <AppxManifest Include="Package.appxmanifest"> |
29 |
| - <SubType>Designer</SubType> |
30 |
| - </AppxManifest> |
31 |
| - </ItemGroup> |
32 | 16 |
|
| 17 | + <ItemGroup> |
| 18 | + <Content Include="Assets\SplashScreen.scale-200.png" /> |
| 19 | + <Content Include="Assets\LockScreenLogo.scale-200.png" /> |
| 20 | + <Content Include="Assets\Square150x150Logo.scale-200.png" /> |
| 21 | + <Content Include="Assets\Square44x44Logo.scale-200.png" /> |
| 22 | + <Content Include="Assets\Square44x44Logo.targetsize-24_altform-unplated.png" /> |
| 23 | + <Content Include="Assets\StoreLogo.png" /> |
| 24 | + <Content Include="Assets\Wide310x150Logo.scale-200.png" /> |
| 25 | + </ItemGroup> |
| 26 | + |
33 | 27 | <ItemGroup>
|
34 | 28 | <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
|
35 | 29 | <PackageReference Include="CommunityToolkit.WinUI.Controls.SettingsControls" Version="8.0.230907" />
|
|
45 | 39 | <Manifest Include="$(ApplicationManifest)" />
|
46 | 40 | </ItemGroup>
|
47 | 41 |
|
48 |
| - <!-- |
| 42 | + <!-- |
49 | 43 | Defining the "Msix" ProjectCapability here allows the Single-project MSIX Packaging
|
50 | 44 | Tools extension to be activated for this project even if the Windows App SDK Nuget
|
51 | 45 | package has not yet been restored.
|
52 | 46 | -->
|
53 |
| - <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
54 |
| - <ProjectCapability Include="Msix" /> |
55 |
| - </ItemGroup> |
56 |
| - <ItemGroup> |
57 |
| - <Page Update="Views\CurrentDownloadControl.xaml"> |
58 |
| - <Generator>MSBuild:Compile</Generator> |
59 |
| - </Page> |
60 |
| - </ItemGroup> |
61 |
| - <ItemGroup> |
62 |
| - <Page Update="Views\DownloadsPage.xaml"> |
63 |
| - <Generator>MSBuild:Compile</Generator> |
64 |
| - </Page> |
65 |
| - </ItemGroup> |
66 |
| - <ItemGroup> |
67 |
| - <Page Update="Views\GameInfoPage.xaml"> |
68 |
| - <Generator>MSBuild:Compile</Generator> |
69 |
| - </Page> |
70 |
| - </ItemGroup> |
71 |
| - <ItemGroup> |
72 |
| - <Page Update="Views\LibraryPage.xaml"> |
73 |
| - <Generator>MSBuild:Compile</Generator> |
74 |
| - </Page> |
75 |
| - </ItemGroup> |
76 |
| - <ItemGroup> |
77 |
| - <Folder Include="Controls\" /> |
78 |
| - </ItemGroup> |
79 |
| - <ItemGroup> |
80 |
| - <Page Update="Views\LoginPage.xaml"> |
81 |
| - <Generator>MSBuild:Compile</Generator> |
82 |
| - </Page> |
| 47 | + <ItemGroup Condition="'$(DisableMsixProjectCapabilityAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 48 | + <ProjectCapability Include="Msix"/> |
83 | 49 | </ItemGroup>
|
84 | 50 |
|
85 |
| - <!-- |
| 51 | + <!-- |
86 | 52 | Defining the "HasPackageAndPublishMenuAddedByProject" property here allows the Solution
|
87 | 53 | Explorer "Package and Publish" context menu entry to be enabled for this project even if
|
88 | 54 | the Windows App SDK Nuget package has not yet been restored.
|
89 | 55 | -->
|
90 |
| - <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
91 |
| - <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> |
92 |
| - </PropertyGroup> |
| 56 | + <PropertyGroup Condition="'$(DisableHasPackageAndPublishMenuAddedByProject)'!='true' and '$(EnableMsixTooling)'=='true'"> |
| 57 | + <HasPackageAndPublishMenu>true</HasPackageAndPublishMenu> |
| 58 | + </PropertyGroup> |
93 | 59 | </Project>
|
0 commit comments