Skip to content

Commit 396c61a

Browse files
committed
Restrict TitleBar MultiTargets to uwp and wasdk
1 parent 4fb3530 commit 396c61a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/TitleBar/src/MultiTarget.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
MultiTarget is a custom property that indicates which target a project is designed to be built for / run on.
55
Used to create project references, generate solution files, enable/disable TargetFrameworks, and build nuget packages.
66
-->
7-
<MultiTarget>uwp;wasdk;wpf;wasm;linuxgtk;macos;ios;android;</MultiTarget>
7+
<MultiTarget>uwp;wasdk;</MultiTarget>
88
</PropertyGroup>
99
</Project>

components/TitleBar/src/TitleBar.WASDK.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33
// See the LICENSE file in the project root for more information.
44

5-
#if WINAPPSDK
5+
#if WINDOWS_WINAPPSDK && !HAS_UNO
66
using Windows.Graphics;
77
using Microsoft.UI;
88
using Microsoft.UI.Input;

0 commit comments

Comments
 (0)