Skip to content

Commit

Permalink
Add application packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
ManuelKlaer committed May 2, 2023
1 parent df6a62d commit 872403c
Show file tree
Hide file tree
Showing 55 changed files with 271 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Minesweeper.Package/Images/StoreLogo.backup.png
164 changes: 164 additions & 0 deletions Minesweeper.Package/Minesweeper.Package.wapproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,164 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
<VisualStudioVersion>15.0</VisualStudioVersion>
</PropertyGroup>
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|x86">
<Configuration>Debug</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x86">
<Configuration>Release</Configuration>
<Platform>x86</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM">
<Configuration>Debug</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM">
<Configuration>Release</Configuration>
<Platform>ARM</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|ARM64">
<Configuration>Debug</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|ARM64">
<Configuration>Release</Configuration>
<Platform>ARM64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|AnyCPU">
<Configuration>Debug</Configuration>
<Platform>AnyCPU</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|AnyCPU">
<Configuration>Release</Configuration>
<Platform>AnyCPU</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup>
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
</PropertyGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
<PropertyGroup>
<ProjectGuid>40de1fa6-c14a-4974-ac7c-c6665f557310</ProjectGuid>
<TargetPlatformVersion>10.0.22621.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.14393.0</TargetPlatformMinVersion>
<DefaultLanguage>en-US</DefaultLanguage>
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
<NoWarn>$(NoWarn);NU1702</NoWarn>
<EntryPointProjectUniqueName>..\Minesweeper\Minesweeper.csproj</EntryPointProjectUniqueName>
<PackageCertificateThumbprint>65C688FC994506CFD287237A6CD8DC423E78AC34</PackageCertificateThumbprint>
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
<GenerateTestArtifacts>True</GenerateTestArtifacts>
<AppxBundlePlatforms>neutral</AppxBundlePlatforms>
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">
<AppxBundle>Always</AppxBundle>
</PropertyGroup>
<ItemGroup>
<AppxManifest Include="Package.appxmanifest">
<SubType>Designer</SubType>
</AppxManifest>
</ItemGroup>
<ItemGroup>
<Content Include="Images\LargeTile.scale-100.png" />
<Content Include="Images\LargeTile.scale-125.png" />
<Content Include="Images\LargeTile.scale-150.png" />
<Content Include="Images\LargeTile.scale-200.png" />
<Content Include="Images\LargeTile.scale-400.png" />
<Content Include="Images\SmallTile.scale-100.png" />
<Content Include="Images\SmallTile.scale-125.png" />
<Content Include="Images\SmallTile.scale-150.png" />
<Content Include="Images\SmallTile.scale-200.png" />
<Content Include="Images\SmallTile.scale-400.png" />
<Content Include="Images\SplashScreen.scale-100.png" />
<Content Include="Images\SplashScreen.scale-125.png" />
<Content Include="Images\SplashScreen.scale-150.png" />
<Content Include="Images\SplashScreen.scale-200.png" />
<Content Include="Images\LockScreenLogo.scale-200.png" />
<Content Include="Images\SplashScreen.scale-400.png" />
<Content Include="Images\Square150x150Logo.scale-100.png" />
<Content Include="Images\Square150x150Logo.scale-125.png" />
<Content Include="Images\Square150x150Logo.scale-150.png" />
<Content Include="Images\Square150x150Logo.scale-200.png" />
<Content Include="Images\Square150x150Logo.scale-400.png" />
<Content Include="Images\Square44x44Logo.altform-lightunplated_targetsize-16.png" />
<Content Include="Images\Square44x44Logo.altform-lightunplated_targetsize-24.png" />
<Content Include="Images\Square44x44Logo.altform-lightunplated_targetsize-256.png" />
<Content Include="Images\Square44x44Logo.altform-lightunplated_targetsize-32.png" />
<Content Include="Images\Square44x44Logo.altform-lightunplated_targetsize-48.png" />
<Content Include="Images\Square44x44Logo.altform-unplated_targetsize-16.png" />
<Content Include="Images\Square44x44Logo.altform-unplated_targetsize-256.png" />
<Content Include="Images\Square44x44Logo.altform-unplated_targetsize-32.png" />
<Content Include="Images\Square44x44Logo.altform-unplated_targetsize-48.png" />
<Content Include="Images\Square44x44Logo.scale-100.png" />
<Content Include="Images\Square44x44Logo.scale-125.png" />
<Content Include="Images\Square44x44Logo.scale-150.png" />
<Content Include="Images\Square44x44Logo.scale-200.png" />
<Content Include="Images\Square44x44Logo.scale-400.png" />
<Content Include="Images\Square44x44Logo.targetsize-16.png" />
<Content Include="Images\Square44x44Logo.targetsize-24.png" />
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
<Content Include="Images\Square44x44Logo.targetsize-256.png" />
<Content Include="Images\Square44x44Logo.targetsize-32.png" />
<Content Include="Images\Square44x44Logo.targetsize-48.png" />
<Content Include="Images\StoreLogo.scale-100.png" />
<Content Include="Images\StoreLogo.scale-125.png" />
<Content Include="Images\StoreLogo.scale-150.png" />
<Content Include="Images\StoreLogo.scale-200.png" />
<Content Include="Images\StoreLogo.scale-400.png" />
<Content Include="Images\Wide310x150Logo.scale-100.png" />
<Content Include="Images\Wide310x150Logo.scale-125.png" />
<Content Include="Images\Wide310x150Logo.scale-150.png" />
<Content Include="Images\Wide310x150Logo.scale-200.png" />
<Content Include="Images\Wide310x150Logo.scale-400.png" />
<None Include="Minesweeper.Package_TemporaryKey.pfx" />
</ItemGroup>
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
<ItemGroup>
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22621.755" PrivateAssets="all" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Minesweeper\Minesweeper.csproj" />
</ItemGroup>
</Project>
50 changes: 50 additions & 0 deletions Minesweeper.Package/Package.appxmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>

<Package
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
IgnorableNamespaces="uap rescap">

<Identity
Name="14695753-c9fa-4f09-b18f-fac37d8ab53a"
Publisher="CN=ManuelKlaer"
Version="1.0.0.0" />

<Properties>
<DisplayName>Minesweeper</DisplayName>
<PublisherDisplayName>ManuelKlaer</PublisherDisplayName>
<Logo>Images\StoreLogo.png</Logo>
</Properties>

<Dependencies>
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
</Dependencies>

<Resources>
<Resource Language="x-generate"/>
</Resources>

<Applications>
<Application Id="App"
Executable="$targetnametoken$.exe"
EntryPoint="$targetentrypoint$">
<uap:VisualElements
DisplayName="Minesweeper"
Description="Minesweeper is a C# Windows Forms Application that recreates the classic Minesweeper game but with a new UI."
BackgroundColor="transparent"
Square150x150Logo="Images\Square150x150Logo.png"
Square44x44Logo="Images\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" Square71x71Logo="Images\SmallTile.png" Square310x310Logo="Images\LargeTile.png">
</uap:DefaultTile >
<uap:SplashScreen Image="Images\SplashScreen.png" />
</uap:VisualElements>
</Application>
</Applications>

<Capabilities>
<Capability Name="internetClient" />
<rescap:Capability Name="runFullTrust" />
</Capabilities>
</Package>
58 changes: 57 additions & 1 deletion Minesweeper.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,74 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.4.33213.308
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Minesweeper", "Minesweeper\Minesweeper.csproj", "{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Minesweeper", "Minesweeper\Minesweeper.csproj", "{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}"
EndProject
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "Minesweeper.Package", "Minesweeper.Package\Minesweeper.Package.wapproj", "{40DE1FA6-C14A-4974-AC7C-C6665F557310}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|ARM.ActiveCfg = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|ARM.Build.0 = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|ARM64.Build.0 = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|x64.ActiveCfg = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|x64.Build.0 = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|x86.ActiveCfg = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Debug|x86.Build.0 = Debug|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|Any CPU.Build.0 = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|ARM.ActiveCfg = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|ARM.Build.0 = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|ARM64.ActiveCfg = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|ARM64.Build.0 = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|x64.ActiveCfg = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|x64.Build.0 = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|x86.ActiveCfg = Release|Any CPU
{E54F0BAE-8452-4C31-822D-860DC6DEFCD1}.Release|x86.Build.0 = Release|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|Any CPU.Build.0 = Debug|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM.ActiveCfg = Debug|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM.Build.0 = Debug|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM.Deploy.0 = Debug|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM64.ActiveCfg = Debug|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM64.Build.0 = Debug|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|ARM64.Deploy.0 = Debug|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x64.ActiveCfg = Debug|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x64.Build.0 = Debug|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x64.Deploy.0 = Debug|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x86.ActiveCfg = Debug|x86
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x86.Build.0 = Debug|x86
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Debug|x86.Deploy.0 = Debug|x86
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|Any CPU.ActiveCfg = Release|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|Any CPU.Build.0 = Release|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|Any CPU.Deploy.0 = Release|Any CPU
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM.ActiveCfg = Release|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM.Build.0 = Release|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM.Deploy.0 = Release|ARM
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM64.ActiveCfg = Release|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM64.Build.0 = Release|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|ARM64.Deploy.0 = Release|ARM64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x64.ActiveCfg = Release|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x64.Build.0 = Release|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x64.Deploy.0 = Release|x64
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x86.ActiveCfg = Release|x86
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x86.Build.0 = Release|x86
{40DE1FA6-C14A-4974-AC7C-C6665F557310}.Release|x86.Deploy.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down

0 comments on commit 872403c

Please sign in to comment.