-
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.
Add Visual Studio 2022 CSharp project property page
- Loading branch information
Showing
3 changed files
with
112 additions
and
47 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,57 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) ZeroC, Inc. All rights reserved. --> | ||
<Rule | ||
Name="SliceCompile" | ||
DisplayName="File Properties" | ||
PageTemplate="generic" | ||
Description="File Properties" | ||
xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<Rule.DataSource> | ||
<DataSource Persistence="ProjectFile" HasConfigurationCondition="false" ItemType="SliceCompile" SourceOfDefaultValue="AfterContext"/> | ||
</Rule.DataSource> | ||
|
||
<Rule.Categories> | ||
<Category Name="Advanced" DisplayName="Advanced" /> | ||
<Category Name="Misc" DisplayName="Misc" /> | ||
</Rule.Categories> | ||
|
||
<DynamicEnumProperty | ||
Name="{}{ItemType}" | ||
DisplayName="Build Action" | ||
Category="Advanced" | ||
Description="How the file relates to the build and deployment processes." | ||
EnumProvider="ItemTypes" /> | ||
|
||
<StringProperty | ||
Name="Identity" | ||
Visible="false" | ||
ReadOnly="true" | ||
Category="Misc" | ||
Description="The item specified in the Include attribute."> | ||
<StringProperty.DataSource> | ||
<DataSource Persistence="Intrinsic" ItemType="SliceCompile" PersistedName="Identity" SourceOfDefaultValue="AfterContext" /> | ||
</StringProperty.DataSource> | ||
</StringProperty> | ||
|
||
<StringProperty | ||
Name="FullPath" | ||
DisplayName="Full Path" | ||
ReadOnly="true" | ||
Category="Misc" | ||
Description="Location of the file."> | ||
<StringProperty.DataSource> | ||
<DataSource Persistence="Intrinsic" ItemType="SliceCompile" PersistedName="FullPath" SourceOfDefaultValue="AfterContext" /> | ||
</StringProperty.DataSource> | ||
</StringProperty> | ||
|
||
<StringProperty Name="Link" Visible="false"> | ||
<StringProperty.DataSource> | ||
<DataSource PersistenceStyle="Attribute" SourceOfDefaultValue="AfterContext" /> | ||
</StringProperty.DataSource> | ||
<StringProperty.Metadata> | ||
<NameValuePair Name="DoNotCopyAcrossProjects" Value="true" /> | ||
</StringProperty.Metadata> | ||
</StringProperty> | ||
|
||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,65 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (c) 2009-2018 ZeroC, Inc. All rights reserved. --> | ||
<!-- Copyright (c) ZeroC, Inc. All rights reserved. --> | ||
<Rule | ||
Name="SliceCompile" | ||
DisplayName="File Properties" | ||
DisplayName="Ice Builder" | ||
PageTemplate="generic" | ||
Description="File Properties" | ||
Order="201" | ||
Description="Ice Builder project settings" | ||
xmlns="http://schemas.microsoft.com/build/2009/properties"> | ||
|
||
<Rule.DataSource> | ||
<DataSource Persistence="ProjectFile" HasConfigurationCondition="false" ItemType="SliceCompile" SourceOfDefaultValue="AfterContext"/> | ||
<DataSource | ||
Persistence="ProjectFile" | ||
ItemType="" | ||
Label="IceBuilder" | ||
HasConfigurationCondition="false" | ||
SourceOfDefaultValue="AfterContext"/> | ||
</Rule.DataSource> | ||
|
||
<Rule.Categories> | ||
<Category Name="Advanced" DisplayName="Advanced" /> | ||
<Category Name="Misc" DisplayName="Misc" /> | ||
</Rule.Categories> | ||
|
||
<DynamicEnumProperty | ||
Name="{}{ItemType}" | ||
DisplayName="Build Action" | ||
Category="Advanced" | ||
Description="How the file relates to the build and deployment processes." | ||
EnumProvider="ItemTypes" /> | ||
|
||
<StringProperty | ||
Name="Identity" | ||
Visible="false" | ||
ReadOnly="true" | ||
Category="Misc" | ||
Description="The item specified in the Include attribute."> | ||
<StringProperty.DataSource> | ||
<DataSource Persistence="Intrinsic" ItemType="SliceCompile" PersistedName="Identity" SourceOfDefaultValue="AfterContext" /> | ||
</StringProperty.DataSource> | ||
</StringProperty> | ||
|
||
<StringProperty | ||
Name="FullPath" | ||
DisplayName="Full Path" | ||
ReadOnly="true" | ||
Category="Misc" | ||
Description="Location of the file."> | ||
Name="OutputDir" | ||
DisplayName="Output Directory" | ||
Description="Directory of C# source files generated by slice2cs." | ||
Subtype="folder" | ||
Category="General"> | ||
<StringProperty.DataSource> | ||
<DataSource Persistence="Intrinsic" ItemType="SliceCompile" PersistedName="FullPath" SourceOfDefaultValue="AfterContext" /> | ||
<DataSource | ||
Persistence="ProjectFile" | ||
ItemType="SliceCompile" | ||
Label="IceBuilder" | ||
HasConfigurationCondition="false" | ||
SourceOfDefaultValue="AfterContext"/> | ||
</StringProperty.DataSource> | ||
</StringProperty> | ||
|
||
<StringProperty Name="Link" Visible="false"> | ||
<StringProperty.DataSource> | ||
<DataSource PersistenceStyle="Attribute" SourceOfDefaultValue="AfterContext" /> | ||
</StringProperty.DataSource> | ||
<StringProperty.Metadata> | ||
<NameValuePair Name="DoNotCopyAcrossProjects" Value="true" /> | ||
</StringProperty.Metadata> | ||
</StringProperty> | ||
<StringListProperty | ||
Name="IncludeDirectories" | ||
DisplayName="Include Directories" | ||
Description="Specifies one or more directories to add to the Slice include path; use semi-colons (;) as directory separators." | ||
Subtype="folder" | ||
Category="General"> | ||
<StringListProperty.DataSource> | ||
<DataSource | ||
Persistence="ProjectFile" | ||
ItemType="SliceCompile" | ||
Label="IceBuilder" | ||
HasConfigurationCondition="false" | ||
SourceOfDefaultValue="AfterContext"/> | ||
</StringListProperty.DataSource> | ||
</StringListProperty> | ||
|
||
<StringListProperty | ||
DisplayName="Additional Options" | ||
Name="AdditionalOptions" | ||
Description="Additional command-line options to pass to slice2cs."> | ||
<StringListProperty.DataSource> | ||
<DataSource | ||
Persistence="ProjectFile" | ||
ItemType="SliceCompile" | ||
Label="IceBuilder" | ||
HasConfigurationCondition="false" | ||
SourceOfDefaultValue="AfterContext"/> | ||
</StringListProperty.DataSource> | ||
</StringListProperty> | ||
</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