﻿<?xml version="1.0" encoding="utf-8"?>
<!--Copyright, Microsoft Corporation, All rights reserved.-->
<Rule
      Name="ConfigurationGeneral"
      DisplayName="General"
      PageTemplate="generic"
      Description="General"
      xmlns="http://schemas.microsoft.com/build/2009/properties">
  <Rule.Categories>
    <Category Name="General" DisplayName="General" Description="General" />
  </Rule.Categories>
  <Rule.DataSource>
    <DataSource Persistence="ProjectFile" Label="Configuration" />
  </Rule.DataSource>
  <StringProperty Name="OutDir" DisplayName="Output Directory"
                  Description="Specifies a relative path to the output file directory; can include environment variables."
                  Category="General" Default="$(SolutionDir)$(ConfigurationName)"
                  Subtype="folder"
                  F1Keyword="VC.Project.VCConfiguration.OutputDirectory">
                  <StringProperty.DataSource>
                     <DataSource Persistence="ProjectFile" Label="" />
                  </StringProperty.DataSource>
  </StringProperty>
  <StringProperty Name="IntDir" DisplayName="Intermediate Directory"
                  Description="Specifies a relative path to the intermediate file directory; can include environment variables."
                  Category="General" Default="$(ConfigurationName)"
                  Subtype="folder"
                  F1Keyword="VC.Project.VCConfiguration.IntermediateDirectory">
                  <StringProperty.DataSource>
                     <DataSource Persistence="ProjectFile" Label="" />
                  </StringProperty.DataSource>
  </StringProperty>
  <EnumProperty Name="CLRSupport" DisplayName="Common Language Runtime Support"
                Description="Select the Common Language Runtime support your code uses."
                Category="General"
                F1Keyword="VC.Project.VCConfiguration.ManagedExtensions">
    <EnumValue Name="false" DisplayName="No Common Language RunTime Support"  Description="No Common Language RunTime Support" />
    <EnumValue Name="true" Switch="clr" DisplayName="Common Language RunTime Support"  Description="Creates metadata for your application that can be consumed by other CLR applications, and allows your application to consume types and data in the metadata of other CLR components." />
    <EnumValue Name="Pure" Switch="clr:pure"  DisplayName="Pure MSIL Common Language RunTime Support"  Description="Produces an MSIL-only output file with no native executable code, although it can contain native types compiled to MSIL." />
    <EnumValue Name="Safe" Switch="clr:safe"  DisplayName="Safe MSIL Common Language RunTime Support"  Description="Produces an MSIL-only (no native executable code) and verifiable output file." />
  </EnumProperty>
  <StringProperty Name="BuildLogFile" DisplayName="Build Log File"
                  Description="Specifies the build log file to write to when build logging is enabled."
                  F1Keyword="VC.Project.VCConfiguration.BuildLogFile"
                  Category="General" Default="$(ProjectDir)\$(MSBuildProjectName).log"
                  Subtype="file">
    <StringProperty.DataSource>
      <DataSource Persistence="ProjectFile" ItemType="BuildLog" PersistedName="Path" />
    </StringProperty.DataSource>
  </StringProperty>
  <StringProperty Name="_ProjectFileVersion" DisplayName="Project File Version"
                Description="Specifies the version of the conversion tool used to create this project file."
                Category="General" Visible="false">
    <StringProperty.DataSource>
      <DataSource Persistence="ProjectFile" />
    </StringProperty.DataSource>
  </StringProperty>
  <DynamicEnumProperty Name="TargetFrameworkMoniker" DisplayName="Target Framework Moniker" EnumProvider="TargetFrameworkMoniker" Visible="false" />
</Rule>