-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
preview: Add WinUI3XPLaunchProject config #15
- Loading branch information
Showing
5 changed files
with
46 additions
and
3 deletions.
There are no files selected for viewing
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 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)..\WinUI3XamlPreviewRules.Project.xml"/> | ||
<ProjectCapability Include="WinUI3XP" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<ItemGroup> | ||
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)WinUI3XamlPreviewRules.Project.xml"/> | ||
<ProjectCapability Include="WinUI3XP" /> | ||
</ItemGroup> | ||
|
||
</Project> |
22 changes: 22 additions & 0 deletions
22
WinUI3XamlPreview/Nuget/WinUI3XamlPreviewRules.Project.xml
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,22 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Rule Name="WinUI3XP" DisplayName="WinUI3XamlPreview" Order="75" PageTemplate="generic" xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<Rule.Categories> | ||
<Category Name="General" DisplayName="General"/> | ||
</Rule.Categories> | ||
|
||
<Rule.DataSource> | ||
<DataSource Persistence="ProjectFile" HasConfigurationCondition="false" Label="Globals" /> | ||
</Rule.DataSource> | ||
|
||
<BoolProperty Name="WinUI3XPEnabled" | ||
DisplayName="Enable WinUI3XamlPreview" | ||
Description="Enable WinUI3XamlPreview. Default is true." | ||
Category="General" /> | ||
|
||
<StringProperty Name="WinUI3XPLaunchProject" | ||
DisplayName="Launch Project" | ||
Description="Name of the project to launch for previewing this project's XAML. Useful for DLL or WAP projects." | ||
Category="General" /> | ||
|
||
</Rule> |
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