﻿<?xml version="1.0" encoding="utf-8"?>
<!--Copyright, Microsoft Corporation, All rights reserved.-->
<Rule Name="RC" PageTemplate="tool" DisplayName="Resources" SwitchPrefix="/" Order="50" xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:sys="clr-namespace:System;assembly=mscorlib">
  <Rule.Categories>
    <Category Name="General" DisplayName="General" />
    <Category Name="All Options" DisplayName="All Options" Subtype="Search" />
    <Category Name="Command Line" DisplayName="Command Line" Subtype="CommandLine" />
  </Rule.Categories>
  <Rule.DataSource>
    <DataSource Persistence="ProjectFile" ItemType="ResourceCompile" Label="" HasConfigurationCondition="true" />
  </Rule.DataSource>
  <StringListProperty Name="PreprocessorDefinitions" DisplayName="Preprocessor Definitions" Description="Specifies one or more defines for the resource compiler. (/d[macro])" Category="General" Switch="D " F1Keyword="VC.Project.VCResourceCompilerTool.PreprocessorDefinitions">
  </StringListProperty>
  <StringListProperty Name="DesigntimePreprocessorDefinitions" DisplayName="Designtime Preprocessor Definitions" Description="Resource editor defines." Category="General" IncludeInCommandLine="false" Visible="false">
  </StringListProperty>
  <StringListProperty Name="UndefinePreprocessorDefinitions" DisplayName="Undefine Preprocessor Definitions" Description="Undefine a symbol. (/u)" Category="General" Switch="u" F1Keyword="VC.Project.VCResourceCompilerTool.UndefineProcessorDefinitions">
  </StringListProperty>
  <DynamicEnumProperty EnumProvider="cultures" Name="Culture" DisplayName="Culture" Description="Lists the culture (such as US English or Italian) used in the resources. (/l [num])" Category="General" Switch="l" F1Keyword="VC.Project.VCResourceCompilerTool.Culture">
    <DynamicEnumProperty.ProviderSettings>
      <NameValuePair Name="DisplayNameFormat" Value="{}{1} (0x{0:x})" />
      <NameValuePair Name="SwitchFormat" Value="{}l 0x{0:x4}" />
    </DynamicEnumProperty.ProviderSettings>
  </DynamicEnumProperty>
  <StringListProperty Subtype="folder" Name="AdditionalIncludeDirectories" DisplayName="Additional Include Directories" Description="Specifies one or more directories to add to the include path; use semi-colon delimiter if more than one. (/I[path])" Category="General" Switch="I" F1Keyword="VC.Project.VCResourceCompilerTool.AdditionalIncludeDirectories">
  </StringListProperty>
  <BoolProperty Name="IgnoreStandardIncludePath" DisplayName="Ignore Standard Include Paths" Description="Prevents the resource compiler from searching for include files in directories specified in the INCLUDE environment variables. (/X)" Category="General" Switch="X" F1Keyword="VC.Project.VCResourceCompilerTool.IgnoreStandardIncludePath">
  </BoolProperty>
  <BoolProperty Name="ShowProgress" DisplayName="Show Progress" Description="Send progress messages to output window. (/v)" Category="General" Switch="v" F1Keyword="VC.Project.VCResourceCompilerTool.ShowProgress">
  </BoolProperty>
  <BoolProperty Name="SuppressStartupBanner" DisplayName="Suppress Startup Banner" Description="Suppress the display of the startup banner and information message (/nologo)" Category="General" Switch="nologo" F1Keyword="VC.Project.VCResourceCompilerTool.SuppressStartupBanner">
  </BoolProperty>
  <StringProperty Subtype="file" Name="ResourceOutputFileName" DisplayName="Resource File Name" Description="Specifies the name of the resource file (/fo[file])" Category="General" Switch="fo" F1Keyword="VC.Project.VCResourceCompilerTool.ResourceOutputFileName">
  </StringProperty>
  <BoolProperty Name="NullTerminateStrings" DisplayName="Null Terminate Strings" Description="Append null's to all strings in the string tables. (/n)" Category="General" Switch="n" F1Keyword="VC.Project.VCResourceCompilerTool.NullTerminateStrings">
  </BoolProperty>
  <StringProperty Name="AdditionalOptions" DisplayName="Additional Options" Description="Additional Options" Category="Command Line" F1Keyword="vc.project.AdditionalOptionsPage">
  </StringProperty>
  <StringProperty Subtype="folder" Name="TrackerLogDirectory" DisplayName="Tracker Log Directory" Description="Tracker Log Directory." Category="General" IncludeInCommandLine="false" Visible="false">
  </StringProperty>
</Rule>