Fixed repo to build completely
This commit is contained in:
Родитель
5af951b6a7
Коммит
3a3f5e52f6
|
@ -5,8 +5,17 @@
|
|||
<Title>Windows Community Toolkit Gaze Controls Library</Title>
|
||||
<Description>A library controls optimized for gaze interaction</Description>
|
||||
<PackageTags>Windows;Community;Toolkit;WCT;UWP;Gaze;Eye;Tracker;EyeTracker</PackageTags>
|
||||
<GenerateLibraryLayout>true</GenerateLibraryLayout>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Page Include="**\*.xaml" Exclude="bin\**\*.xaml;obj\**\*.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Content Include="KeyboardLayouts\FilenameEntry.xaml">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<RepositoryDirectory>$(MSBuildThisFileDirectory)</RepositoryDirectory>
|
||||
</PropertyGroup>
|
||||
|
||||
<Import Project="$(RepositoryDirectory)Windows.Toolkit.Common.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetPlatformVersion>10.0.19041.0</TargetPlatformVersion>
|
||||
<TargetPlatformMinVersion>10.0.17763.0</TargetPlatformMinVersion>
|
||||
<IncludeContentInPack>false</IncludeContentInPack>
|
||||
<TargetFramework>uap10.0.17763</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<DebugType>Embedded</DebugType>
|
||||
<PackageOutputPath>bin\Package</PackageOutputPath>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,20 @@
|
|||
<Project>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="NuGet.Build.Tasks.Pack" Version="5.2.0" PrivateAssets="all" Pack="false" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
</ItemGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<CommonTags>$(CommonTags);UWP</CommonTags>
|
||||
<PackageTags Condition="'$(PackageTags)' != ''">$(CommonTags);$(PackageTags)</PackageTags>
|
||||
<PackageTags Condition="'$(PackageTags)' == ''">$(CommonTags)</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="$(IsPackable)">
|
||||
<None Include="$(RepositoryDirectory)nuget.png" Pack="true" PackagePath="\Icon.png" />
|
||||
<None Include="$(RepositoryDirectory)License.md" Pack="true" PackagePath="\" />
|
||||
<None Include="$(RepositoryDirectory)ThirdPartyNotices.txt" Pack="true" PackagePath="\" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -5,7 +5,7 @@ VisualStudioVersion = 16.0.31424.327
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CommunityToolkit.Labs.Uwp.GazeControls", "CommunityToolkit.Labs.Uwp.GazeControls\CommunityToolkit.Labs.Uwp.GazeControls.csproj", "{352191F5-8704-45A1-ACB3-CA47C6898A99}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GazeInputTest", "GazeInputTest\GazeInputTest.csproj", "{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GazeInputTest", "GazeInputTest\GazeInputTest.csproj", "{6708804D-52D7-4F38-A20A-816EC74BC59A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
|
@ -41,32 +41,34 @@ Global
|
|||
{352191F5-8704-45A1-ACB3-CA47C6898A99}.Release|x64.Build.0 = Release|Any CPU
|
||||
{352191F5-8704-45A1-ACB3-CA47C6898A99}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{352191F5-8704-45A1-ACB3-CA47C6898A99}.Release|x86.Build.0 = Release|Any CPU
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|Any CPU.ActiveCfg = Debug|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|ARM64.Deploy.0 = Debug|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x64.Build.0 = Debug|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x86.Build.0 = Debug|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM.Build.0 = Release|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM.Deploy.0 = Release|ARM
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|ARM64.Deploy.0 = Release|ARM64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x64.ActiveCfg = Release|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x64.Build.0 = Release|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x64.Deploy.0 = Release|x64
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x86.ActiveCfg = Release|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x86.Build.0 = Release|x86
|
||||
{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}.Release|x86.Deploy.0 = Release|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|Any CPU.ActiveCfg = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|Any CPU.Build.0 = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|Any CPU.Deploy.0 = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM.ActiveCfg = Debug|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM.Build.0 = Debug|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM.Deploy.0 = Debug|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM64.ActiveCfg = Debug|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM64.Build.0 = Debug|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|ARM64.Deploy.0 = Debug|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x64.ActiveCfg = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x64.Build.0 = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x64.Deploy.0 = Debug|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x86.ActiveCfg = Debug|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x86.Build.0 = Debug|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Debug|x86.Deploy.0 = Debug|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|Any CPU.ActiveCfg = Release|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM.ActiveCfg = Release|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM.Build.0 = Release|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM.Deploy.0 = Release|ARM
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM64.Build.0 = Release|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|ARM64.Deploy.0 = Release|ARM64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x64.ActiveCfg = Release|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x64.Build.0 = Release|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x64.Deploy.0 = Release|x64
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x86.ActiveCfg = Release|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x86.Build.0 = Release|x86
|
||||
{6708804D-52D7-4F38-A20A-816EC74BC59A}.Release|x86.Deploy.0 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProjectGuid>{A122EA02-4DE7-413D-BFBF-AF7DFC668DD6}</ProjectGuid>
|
||||
<ProjectGuid>{6708804D-52D7-4F38-A20A-816EC74BC59A}</ProjectGuid>
|
||||
<OutputType>AppContainerExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>GazeInputTest</RootNamespace>
|
||||
|
@ -144,15 +144,14 @@
|
|||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
||||
<Version>6.2.12</Version>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.Toolkit.Uwp.Input.GazeInteraction">
|
||||
<Version>7.0.2</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Toolkit.Uwp.Input.GazeControls\Microsoft.Toolkit.Uwp.Input.GazeControls.csproj">
|
||||
<Project>{fa4682b6-26be-49a0-be97-96956724ae55}</Project>
|
||||
<Name>Microsoft.Toolkit.Uwp.Input.GazeControls</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Microsoft.Toolkit.Uwp.Input.GazeInteraction\Microsoft.Toolkit.Uwp.Input.GazeInteraction.csproj">
|
||||
<Project>{5bf75694-798a-43a0-8150-415de195359c}</Project>
|
||||
<Name>Microsoft.Toolkit.Uwp.Input.GazeInteraction</Name>
|
||||
<ProjectReference Include="..\CommunityToolkit.Labs.Uwp.GazeControls\CommunityToolkit.Labs.Uwp.GazeControls.csproj">
|
||||
<Project>{352191f5-8704-45a1-acb3-ca47c6898a99}</Project>
|
||||
<Name>CommunityToolkit.Labs.Uwp.GazeControls</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(VisualStudioVersion)' == '' or '$(VisualStudioVersion)' < '14.0' ">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:g="using:Microsoft.Toolkit.Uwp.Input.GazeInteraction"
|
||||
xmlns:k="using:Microsoft.Toolkit.Uwp.Input.GazeControls"
|
||||
xmlns:k="using:CommunityToolkit.Labs.Uwp.GazeControls"
|
||||
g:GazeInput.Interaction="Enabled"
|
||||
mc:Ignorable="d">
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Microsoft.Toolkit.Uwp.Input.GazeControls;
|
||||
using CommunityToolkit.Labs.Uwp.GazeControls;
|
||||
using Microsoft.Toolkit.Uwp.Input.GazeInteraction;
|
||||
using Windows.ApplicationModel.Core;
|
||||
using Windows.Media.SpeechSynthesis;
|
||||
|
@ -41,7 +41,7 @@ namespace GazeInputTest
|
|||
|
||||
private async void OnMainPageLoaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
var uri = new Uri($"ms-appx:///Microsoft.Toolkit.Uwp.Input.GazeControls/KeyboardLayouts/MinAAC.xaml");
|
||||
var uri = new Uri($"ms-appx:///CommunityToolkit.Labs.Uwp.GazeControls/KeyboardLayouts/MinAAC.xaml");
|
||||
var layoutFile = await StorageFile.GetFileFromApplicationUriAsync(uri);
|
||||
_layoutsFolder = await layoutFile.GetParentAsync();
|
||||
await GazeKeyboard.TryLoadLayoutAsync(layoutFile);
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
<Project>
|
||||
|
||||
<PropertyGroup>
|
||||
<Company>.NET Foundation</Company>
|
||||
<Authors>Microsoft.Toolkit</Authors>
|
||||
<Product>Community Toolkit Labs</Product>
|
||||
<CommonTags>Windows;Community;Toolkit;WCT</CommonTags>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance>
|
||||
<Copyright>(c) .NET Foundation and Contributors. All rights reserved.</Copyright>
|
||||
<PackageProjectUrl>https://github.com/CommunityToolkit/Labs-GazeControls</PackageProjectUrl>
|
||||
<PackageReleaseNotes>https://github.com/CommunityToolkit/Labs-GazeControls/releases</PackageReleaseNotes>
|
||||
<PackageIcon>Icon.png</PackageIcon>
|
||||
<PackageIconUrl>https://raw.githubusercontent.com/CommunityToolkit/Labs-GazeControls/main/nuget.png</PackageIconUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<Features>Strict</Features>
|
||||
<Nullable>Disable</Nullable>
|
||||
<LangVersion>Latest</LangVersion>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<NoPackageAnalysis>true</NoPackageAnalysis>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<IsPackable>true</IsPackable>
|
||||
<IsPublishable>true</IsPublishable>
|
||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"msbuild-sdks":
|
||||
{
|
||||
"MSBuild.Sdk.Extras":"3.0.23"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,11 @@
|
|||
<configuration>
|
||||
<packageSources>
|
||||
<clear />
|
||||
<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
|
||||
<add key="AzureLatest" value="https://pkgs.dev.azure.com/dotnet/CommunityToolkit/_packaging/CommunityToolkit-MainLatest/nuget/v3/index.json" protocolVersion="3" />
|
||||
<add key="MUX-Shared" value="https://pkgs.dev.azure.com/ms/microsoft-ui-xaml/_packaging/MUX-Shared/nuget/v3/index.json" />
|
||||
</packageSources>
|
||||
<disabledPackageSources>
|
||||
<clear />
|
||||
</disabledPackageSources>
|
||||
</configuration>
|
Загрузка…
Ссылка в новой задаче