1<?xml version="1.0" encoding="utf-8"?> 2<ProjectSchemaDefinitions xmlns="clr-namespace:Microsoft.Build.Framework.XamlTypes;assembly=Microsoft.Build.Framework" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:transformCallback="Microsoft.Cpp.Dev10.ConvertPropertyCallback"> 3 <Rule 4 Name="NASM" 5 PageTemplate="tool" 6 DisplayName="NASM" 7 Order="200"> 8 <Rule.DataSource> 9 <DataSource 10 Persistence="ProjectFile" 11 ItemType="NASM" /> 12 </Rule.DataSource> 13 <Rule.Categories> 14 <Category 15 Name="General"> 16 <Category.DisplayName> 17 <sys:String>General</sys:String> 18 </Category.DisplayName> 19 </Category> 20 <Category 21 Name="Command Line" 22 Subtype="CommandLine"> 23 <Category.DisplayName> 24 <sys:String>Command Line</sys:String> 25 </Category.DisplayName> 26 </Category> 27 </Rule.Categories> 28 <StringListProperty 29 Name="Inputs" 30 Category="Command Line" 31 IsRequired="true" 32 Switch=" "> 33 <StringListProperty.DataSource> 34 <DataSource 35 Persistence="ProjectFile" 36 ItemType="NASM" 37 SourceType="Item" /> 38 </StringListProperty.DataSource> 39 </StringListProperty> 40 <StringProperty 41 Name="OutFile" 42 HelpContext="0" 43 DisplayName="Output file path" 44 Switch="[value]" /> 45 <StringProperty 46 Name="BinFormat" 47 HelpContext="0" 48 DisplayName="Binary format" 49 Switch="-f [value]" /> 50 <StringListProperty 51 Name="IncludeDir" 52 HelpContext="0" 53 DisplayName="Additional include directories" 54 Separator=";" 55 Switch="-i [value]" /> 56 <StringListProperty 57 Name="Defines" 58 HelpContext="0" 59 DisplayName="Defines" 60 Separator=" ;," 61 Switch="-D[value]" /> 62 <StringProperty 63 Name="CommandLineTemplate" 64 DisplayName="Command Line" 65 Visible="False" 66 IncludeInCommandLine="False" /> 67 <DynamicEnumProperty 68 Name="NASMBeforeTargets" 69 Category="General" 70 EnumProvider="Targets" 71 IncludeInCommandLine="False"> 72 <DynamicEnumProperty.DisplayName> 73 <sys:String>Execute Before</sys:String> 74 </DynamicEnumProperty.DisplayName> 75 <DynamicEnumProperty.Description> 76 <sys:String>Specifies the targets for the build customization to run before.</sys:String> 77 </DynamicEnumProperty.Description> 78 <DynamicEnumProperty.ProviderSettings> 79 <NameValuePair 80 Name="Exclude" 81 Value="^NASMBeforeTargets|^Compute" /> 82 </DynamicEnumProperty.ProviderSettings> 83 <DynamicEnumProperty.DataSource> 84 <DataSource 85 Persistence="ProjectFile" 86 HasConfigurationCondition="true" /> 87 </DynamicEnumProperty.DataSource> 88 </DynamicEnumProperty> 89 <DynamicEnumProperty 90 Name="NASMAfterTargets" 91 Category="General" 92 EnumProvider="Targets" 93 IncludeInCommandLine="False"> 94 <DynamicEnumProperty.DisplayName> 95 <sys:String>Execute After</sys:String> 96 </DynamicEnumProperty.DisplayName> 97 <DynamicEnumProperty.Description> 98 <sys:String>Specifies the targets for the build customization to run after.</sys:String> 99 </DynamicEnumProperty.Description> 100 <DynamicEnumProperty.ProviderSettings> 101 <NameValuePair 102 Name="Exclude" 103 Value="^NASMAfterTargets|^Compute" /> 104 </DynamicEnumProperty.ProviderSettings> 105 <DynamicEnumProperty.DataSource> 106 <DataSource 107 Persistence="ProjectFile" 108 ItemType="" 109 HasConfigurationCondition="true" /> 110 </DynamicEnumProperty.DataSource> 111 </DynamicEnumProperty> 112 <StringListProperty 113 Name="Outputs" 114 DisplayName="Outputs" 115 Visible="False" 116 IncludeInCommandLine="False" /> 117 <StringProperty 118 Name="ExecutionDescription" 119 DisplayName="Execution Description" 120 Visible="False" 121 IncludeInCommandLine="False" /> 122 <StringListProperty 123 Name="AdditionalDependencies" 124 DisplayName="Additional Dependencies" 125 IncludeInCommandLine="False" 126 Visible="true" /> 127 <StringProperty 128 Subtype="AdditionalOptions" 129 Name="AdditionalOptions" 130 Category="Command Line"> 131 <StringProperty.DisplayName> 132 <sys:String>Additional Options</sys:String> 133 </StringProperty.DisplayName> 134 <StringProperty.Description> 135 <sys:String>Additional Options</sys:String> 136 </StringProperty.Description> 137 </StringProperty> 138 </Rule> 139 <ItemType 140 Name="NASM" 141 DisplayName="NASM" /> 142 <FileExtension 143 Name="*.nas" 144 ContentType="NASM" /> 145 <ContentType 146 Name="NASM" 147 DisplayName="NASM" 148 ItemType="NASM" /> 149</ProjectSchemaDefinitions>