Skip to content

Commit 4746e20

Browse files
added sample app for WinUI3
1 parent 20cbbc9 commit 4746e20

24 files changed

+3309
-0
lines changed
Loading
7.52 KB
Loading
Loading
1.61 KB
Loading
Loading
1.42 KB
Loading
3.13 KB
Loading
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<Package
4+
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
5+
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
6+
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
7+
IgnorableNamespaces="uap rescap">
8+
9+
<Identity
10+
Name="25f0d1c7-2470-49df-b58d-3c2650506b00"
11+
Publisher="CN=jasteph"
12+
Version="1.0.0.0" />
13+
14+
<Properties>
15+
<DisplayName>WinUI_Sample (Package)</DisplayName>
16+
<PublisherDisplayName>jasteph</PublisherDisplayName>
17+
<Logo>Images\StoreLogo.png</Logo>
18+
</Properties>
19+
20+
<Dependencies>
21+
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.0.0" MaxVersionTested="10.0.0.0" />
22+
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14393.0" MaxVersionTested="10.0.14393.0" />
23+
</Dependencies>
24+
25+
<Resources>
26+
<Resource Language="x-generate"/>
27+
</Resources>
28+
29+
<Applications>
30+
<Application Id="App"
31+
Executable="$targetnametoken$.exe"
32+
EntryPoint="$targetentrypoint$">
33+
<uap:VisualElements
34+
DisplayName="WinUI_Sample (Package)"
35+
Description="WinUI_Sample (Package)"
36+
BackgroundColor="transparent"
37+
Square150x150Logo="Images\Square150x150Logo.png"
38+
Square44x44Logo="Images\Square44x44Logo.png">
39+
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
40+
<uap:SplashScreen Image="Images\SplashScreen.png" />
41+
</uap:VisualElements>
42+
</Application>
43+
</Applications>
44+
45+
<Capabilities>
46+
<Capability Name="internetClient" />
47+
<rescap:Capability Name="runFullTrust" />
48+
</Capabilities>
49+
</Package>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
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+
</ItemGroup>
24+
<PropertyGroup>
25+
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
26+
<PathToXAMLWinRTImplementations>WinUI_Sample\</PathToXAMLWinRTImplementations>
27+
</PropertyGroup>
28+
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
29+
<PropertyGroup>
30+
<ProjectGuid>b820339b-bf7d-4f43-826d-d1a82a763178</ProjectGuid>
31+
<TargetPlatformVersion>10.0.18362.0</TargetPlatformVersion>
32+
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
33+
<DefaultLanguage>en-US</DefaultLanguage>
34+
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
35+
<EntryPointProjectUniqueName>..\WinUI_Sample\WinUI_Sample.csproj</EntryPointProjectUniqueName>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<AppxManifest Include="Package.appxmanifest">
39+
<SubType>Designer</SubType>
40+
</AppxManifest>
41+
</ItemGroup>
42+
<ItemGroup>
43+
<Content Include="Images\SplashScreen.scale-200.png" />
44+
<Content Include="Images\LockScreenLogo.scale-200.png" />
45+
<Content Include="Images\Square150x150Logo.scale-200.png" />
46+
<Content Include="Images\Square44x44Logo.scale-200.png" />
47+
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
48+
<Content Include="Images\StoreLogo.png" />
49+
<Content Include="Images\Wide310x150Logo.scale-200.png" />
50+
</ItemGroup>
51+
<ItemGroup>
52+
<ProjectReference Include="..\WinUI_Sample\WinUI_Sample.csproj">
53+
<SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties>
54+
</ProjectReference>
55+
</ItemGroup>
56+
<ItemGroup>
57+
<SDKReference Include="Microsoft.VCLibs.Desktop, Version=14.0" />
58+
<!-- Needed for ucrtbased.dll when running a debug build. -->
59+
<SDKReference Include="Microsoft.VCLibs, Version=14.0" Condition="'$(Configuration)' == 'Debug'" />
60+
</ItemGroup>
61+
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
62+
<Import Project="build\Microsoft.WinUI.AppX.targets" />
63+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup />
4+
</Project>

0 commit comments

Comments
 (0)