Skip to content

Commit 711b81d

Browse files
committed
Migrated GazeInputTest to WinUI3.
1 parent 79f3fa5 commit 711b81d

23 files changed

+280
-380
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<PropertyGroup Condition="'$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' &lt; '15.0'">
3+
<VisualStudioVersion>15.0</VisualStudioVersion>
4+
</PropertyGroup>
5+
<ItemGroup Label="ProjectConfigurations">
6+
<ProjectConfiguration Include="Debug|x86">
7+
<Configuration>Debug</Configuration>
8+
<Platform>x86</Platform>
9+
</ProjectConfiguration>
10+
<ProjectConfiguration Include="Release|x86">
11+
<Configuration>Release</Configuration>
12+
<Platform>x86</Platform>
13+
</ProjectConfiguration>
14+
<ProjectConfiguration Include="Debug|x64">
15+
<Configuration>Debug</Configuration>
16+
<Platform>x64</Platform>
17+
</ProjectConfiguration>
18+
<ProjectConfiguration Include="Release|x64">
19+
<Configuration>Release</Configuration>
20+
<Platform>x64</Platform>
21+
</ProjectConfiguration>
22+
<ProjectConfiguration Include="Debug|arm64">
23+
<Configuration>Debug</Configuration>
24+
<Platform>arm64</Platform>
25+
</ProjectConfiguration>
26+
<ProjectConfiguration Include="Release|arm64">
27+
<Configuration>Release</Configuration>
28+
<Platform>arm64</Platform>
29+
</ProjectConfiguration>
30+
</ItemGroup>
31+
<PropertyGroup>
32+
<WapProjPath Condition="'$(WapProjPath)'==''">$(MSBuildExtensionsPath)\Microsoft\DesktopBridge\</WapProjPath>
33+
<PathToXAMLWinRTImplementations>GazeInputTest\</PathToXAMLWinRTImplementations>
34+
<AssetTargetFallback>net5.0-windows$(TargetPlatformVersion);$(AssetTargetFallback)</AssetTargetFallback>
35+
</PropertyGroup>
36+
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.props" />
37+
<PropertyGroup>
38+
<ProjectGuid>13fa48dc-56b2-4f71-af2f-5d4bd7771aa5</ProjectGuid>
39+
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
40+
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
41+
<DefaultLanguage>en-US</DefaultLanguage>
42+
<AppxPackageSigningEnabled>false</AppxPackageSigningEnabled>
43+
<EntryPointProjectUniqueName>..\GazeInputTest\GazeInputTest.csproj</EntryPointProjectUniqueName>
44+
</PropertyGroup>
45+
<ItemGroup>
46+
<AppxManifest Include="Package.appxmanifest">
47+
<SubType>Designer</SubType>
48+
</AppxManifest>
49+
</ItemGroup>
50+
<ItemGroup>
51+
<Content Include="Images\SplashScreen.scale-200.png" />
52+
<Content Include="Images\LockScreenLogo.scale-200.png" />
53+
<Content Include="Images\Square150x150Logo.scale-200.png" />
54+
<Content Include="Images\Square44x44Logo.scale-200.png" />
55+
<Content Include="Images\Square44x44Logo.targetsize-24_altform-unplated.png" />
56+
<Content Include="Images\StoreLogo.png" />
57+
<Content Include="Images\Wide310x150Logo.scale-200.png" />
58+
</ItemGroup>
59+
<ItemGroup>
60+
<ProjectReference Include="..\GazeInputTest\GazeInputTest.csproj">
61+
<SkipGetTargetFrameworkProperties>True</SkipGetTargetFrameworkProperties>
62+
<PublishProfile>Properties\PublishProfiles\win10-$(Platform).pubxml</PublishProfile>
63+
</ProjectReference>
64+
</ItemGroup>
65+
<ItemGroup>
66+
<PackageReference Include="Microsoft.ProjectReunion" Version="[0.5.7]">
67+
<IncludeAssets>build</IncludeAssets>
68+
</PackageReference>
69+
<PackageReference Include="Microsoft.ProjectReunion.WinUI" Version="[0.5.7]">
70+
<IncludeAssets>build</IncludeAssets>
71+
</PackageReference>
72+
</ItemGroup>
73+
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
74+
</Project>
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<Package
2+
xmlns="http://schemas.microsoft.com/appx/manifest/foundation/windows10"
3+
xmlns:uap="http://schemas.microsoft.com/appx/manifest/uap/windows10"
4+
xmlns:rescap="http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
5+
IgnorableNamespaces="uap rescap">
6+
7+
<Identity
8+
Name="660d1fbf-38d2-4cf9-94b3-4aa8ced5b5c8"
9+
Publisher="CN=alzollin"
10+
Version="1.0.0.0" />
11+
12+
<Properties>
13+
<DisplayName>GazeInputTest (Package)</DisplayName>
14+
<PublisherDisplayName>alzollin</PublisherDisplayName>
15+
<Logo>Images\StoreLogo.png</Logo>
16+
</Properties>
17+
18+
<Dependencies>
19+
<TargetDeviceFamily Name="Windows.Universal" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
20+
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.17763.0" MaxVersionTested="10.0.19041.0" />
21+
</Dependencies>
22+
23+
<Resources>
24+
<Resource Language="x-generate"/>
25+
</Resources>
26+
27+
<Applications>
28+
<Application Id="App"
29+
Executable="$targetnametoken$.exe"
30+
EntryPoint="$targetentrypoint$">
31+
<uap:VisualElements
32+
DisplayName="GazeInputTest (Package)"
33+
Description="GazeInputTest (Package)"
34+
BackgroundColor="transparent"
35+
Square150x150Logo="Images\Square150x150Logo.png"
36+
Square44x44Logo="Images\Square44x44Logo.png">
37+
<uap:DefaultTile Wide310x150Logo="Images\Wide310x150Logo.png" />
38+
<uap:SplashScreen Image="Images\SplashScreen.png" />
39+
</uap:VisualElements>
40+
</Application>
41+
</Applications>
42+
43+
<Capabilities>
44+
<rescap:Capability Name="runFullTrust" />
45+
</Capabilities>
46+
</Package>

GazeInputTest/App.xaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1-
<Application
2-
x:Class="GazeInputTest.App"
3-
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
4-
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5-
xmlns:local="using:GazeInputTest"
6-
RequestedTheme="Light">
1+
<Application x:Class="GazeInputTest.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="using:GazeInputTest"
5+
RequestedTheme="Light">
76
<Application.Resources>
8-
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
7+
<ResourceDictionary>
8+
<ResourceDictionary.MergedDictionaries>
9+
<XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls" />
10+
<!-- Other merged dictionaries here -->
11+
</ResourceDictionary.MergedDictionaries>
12+
<!-- Other app resources here -->
13+
</ResourceDictionary>
914
</Application.Resources>
10-
</Application>
15+
</Application>

0 commit comments

Comments
 (0)