-
Notifications
You must be signed in to change notification settings - Fork 750
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18548 from ramezgerges/uno_sdk_ignore_platform_xaml
fix(uno.sdk): ignore xaml files in Platforms folders
- Loading branch information
Showing
9 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...Template/5.3/uno53net9blank/uno53net9blank/ControlWithXamlEverywhereExceptDesktop.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
namespace uno53net9blank; | ||
using System; | ||
using Microsoft.UI.Xaml.Controls; | ||
|
||
public sealed | ||
#if !DESKTOP | ||
// This control tests that ControlWithXamlEverywhereExceptDesktop.xaml is not included, | ||
// so if ControlWithXamlEverywhereExceptDesktop.xaml is included, it won't compile. | ||
partial | ||
#endif | ||
class ControlWithXamlEverywhereExceptDesktop : Page | ||
{ | ||
public ControlWithXamlEverywhereExceptDesktop() | ||
{ | ||
// no this.InitializeComponent(); | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...o53net9blank/uno53net9blank/Platforms/Android/ControlWithXamlEverywhereExceptDesktop.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Page x:Class="uno53net9blank.ControlWithXamlEverywhereExceptDesktop" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:skia="http://uno.ui/skia" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="skia" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
</Page> |
8 changes: 8 additions & 0 deletions
8
...et9blank/uno53net9blank/Platforms/MacCatalyst/ControlWithXamlEverywhereExceptDesktop.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Page x:Class="uno53net9blank.ControlWithXamlEverywhereExceptDesktop" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:skia="http://uno.ui/skia" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="skia" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
</Page> |
8 changes: 8 additions & 0 deletions
8
...et9blank/uno53net9blank/Platforms/WebAssembly/ControlWithXamlEverywhereExceptDesktop.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Page x:Class="uno53net9blank.ControlWithXamlEverywhereExceptDesktop" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:skia="http://uno.ui/skia" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="skia" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
</Page> |
8 changes: 8 additions & 0 deletions
8
...3/uno53net9blank/uno53net9blank/Platforms/iOS/ControlWithXamlEverywhereExceptDesktop.xaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Page x:Class="uno53net9blank.ControlWithXamlEverywhereExceptDesktop" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:skia="http://uno.ui/skia" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
mc:Ignorable="skia" | ||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"> | ||
</Page> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters