mirror of
https://github.com/danbulant/Cosmos
synced 2026-06-10 10:11:31 +00:00
Cosmos project system improvements.
This commit is contained in:
parent
03ede6a046
commit
ad3a92d187
5 changed files with 54 additions and 3 deletions
|
|
@ -15,12 +15,22 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\Content.xaml">
|
||||
<Context>File;BrowseObject</Context>
|
||||
</PropertyPageSchema>
|
||||
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\CosmosDebugger.xaml">
|
||||
<Context>Project</Context>
|
||||
</PropertyPageSchema>
|
||||
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\PackageReference.xaml">
|
||||
<Context>Project;BrowseObject</Context>
|
||||
</PropertyPageSchema>
|
||||
<PropertyPageSchema Include="$(_CosmosXamlResourcesDirectory)Rules\ResolvedPackageReference.xaml">
|
||||
<Context>ProjectSubscriptionService;BrowseObject</Context>
|
||||
</PropertyPageSchema>
|
||||
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Rule Name="Content"
|
||||
DisplayName="File Properties"
|
||||
PageTemplate="generic"
|
||||
Description="File Properties"
|
||||
OverrideMode="Extend"
|
||||
xmlns="http://schemas.microsoft.com/build/2009/properties">
|
||||
|
||||
<Rule.Categories>
|
||||
<Category Name="Cosmos" DisplayName="Cosmos" />
|
||||
</Rule.Categories>
|
||||
|
||||
<BoolProperty Name="Deploy"
|
||||
DisplayName="Deploy"
|
||||
Category="Advanced" />
|
||||
Category="Cosmos" />
|
||||
|
||||
</Rule>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Rule Name="PackageReference"
|
||||
PageTemplate="generic"
|
||||
OverrideMode="Extend"
|
||||
xmlns="http://schemas.microsoft.com/build/2009/properties">
|
||||
|
||||
<Rule.Categories>
|
||||
<Category Name="Cosmos" DisplayName="Cosmos" />
|
||||
</Rule.Categories>
|
||||
|
||||
<BoolProperty Name="IsPlugsReference"
|
||||
DisplayName="IsPlugsReference"
|
||||
Category="Cosmos" />
|
||||
|
||||
</Rule>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Rule Name="ResolvedPackageReference"
|
||||
PageTemplate="generic"
|
||||
OverrideMode="Extend"
|
||||
xmlns="http://schemas.microsoft.com/build/2009/properties">
|
||||
|
||||
<Rule.Categories>
|
||||
<Category Name="Cosmos" DisplayName="Cosmos" />
|
||||
</Rule.Categories>
|
||||
|
||||
<BoolProperty Name="IsPlugsReference"
|
||||
DisplayName="IsPlugsReference"
|
||||
Category="Cosmos">
|
||||
<BoolProperty.DataSource>
|
||||
<DataSource Persistence="ProjectFile"
|
||||
ItemType="PackageReference"
|
||||
HasConfigurationCondition="False"
|
||||
SourceOfDefaultValue="AfterContext" />
|
||||
</BoolProperty.DataSource>
|
||||
</BoolProperty>
|
||||
|
||||
</Rule>
|
||||
|
|
@ -33,6 +33,8 @@
|
|||
<XamlPropertyRule Include="BuildSystem\Rules\Content.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\CosmosDebugger.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\LaunchConfiguration.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\PackageReference.xaml" />
|
||||
<XamlPropertyRule Include="BuildSystem\Rules\ResolvedPackageReference.xaml" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
|||
Loading…
Reference in a new issue