forked from scripthookvdotnet/scripthookvdotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ProjectSchema.xml
50 lines (50 loc) · 4.02 KB
/
ProjectSchema.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<ProjectSchemaDefinitions xmlns="http://schemas.microsoft.com/build/2009/properties" xmlns:sys="clr-namespace:System;assembly=mscorlib">
<ItemType Name="CsCompile" DisplayName="C# compiler"/>
<ContentType Name="CsCode" DisplayName="C# code" ItemType="CsCompile" />
<FileExtension Name=".cs" ContentType="CsCode"/>
<Rule Name="CsCompile" PageTemplate="tool" DisplayName="C#" Order="11">
<Rule.DataSource>
<DataSource Persistence="ProjectFile" ItemType="CsCompile" />
</Rule.DataSource>
<Rule.Categories>
<Category Name="General" DisplayName="General" />
<Category Name="Advanced" DisplayName="Advanced" />
<Category Name="All Options" DisplayName="All Options" Subtype="Search" />
</Rule.Categories>
<EnumProperty Name="LangVersion" DisplayName="Language Version">
<EnumValue Name="preview" DisplayName="Preview" Description="Accept syntax from the latest released version of the compiler." />
<EnumValue Name="latest" DisplayName="Latest" Description="Accept all valid language syntax from the latest released version of the compiler (including minor version)." />
<EnumValue Name="default" DisplayName="Default" Description="Accept all valid language syntax from the latest released major version of the compiler." />
<EnumValue Name="ISO-1" DisplayName="ISO-1" Description="Accept only syntax that is included in the ISO/IEC 23270:2003 C# language specification." />
<EnumValue Name="ISO-2" DisplayName="ISO-2" Description="Accept only syntax that is included in the ISO/IEC 23270:2006 C# language specification." />
<EnumValue Name="3" DisplayName="3.0" Description="Accept only syntax that is included in the version 3.0 C# language specification." />
<EnumValue Name="4" DisplayName="4.0" Description="Accept only syntax that is included in the version 4.0 C# language specification." />
<EnumValue Name="5" DisplayName="5.0" Description="Accept only syntax that is included in the version 5.0 C# language specification." />
<EnumValue Name="6" DisplayName="6.0" Description="Accept only syntax that is included in the version 6.0 C# language specification." />
<EnumValue Name="7" DisplayName="7.0" Description="Accept only syntax that is included in the version 7.0 C# language specification." />
<EnumValue Name="7.1" DisplayName="7.1" Description="Accept only syntax that is included in the version 7.1 C# language specification." />
<EnumValue Name="7.2" DisplayName="7.2" Description="Accept only syntax that is included in the version 7.2 C# language specification." />
<EnumValue Name="7.3" DisplayName="7.3" Description="Accept only syntax that is included in the version 7.3 C# language specification." />
</EnumProperty>
<EnumProperty Name="DebugType" DisplayName="Debugging information">
<EnumValue Name="none" DisplayName="None" />
<EnumValue Name="full" DisplayName="Full" />
<EnumValue Name="pdbonly" DisplayName="Pdb-only" />
<EnumValue Name="portable" DisplayName="Portable" />
<EnumValue Name="embedded" DisplayName="Embedded" />
</EnumProperty>
<BoolProperty Name="Optimize" DisplayName="Optimize" Category="General" />
<BoolProperty Name="AllowUnsafeBlocks" DisplayName="Allow Unsafe Code" Category="General" />
<EnumProperty Name="WarningLevel" DisplayName="Warning Level" Category="General" >
<EnumValue Name="0" DisplayName="Turn Off All Warnings" />
<EnumValue Name="1" DisplayName="Level1" />
<EnumValue Name="2" DisplayName="Level2" />
<EnumValue Name="3" DisplayName="Level3" />
<EnumValue Name="4" DisplayName="Level4" />
</EnumProperty>
<StringListProperty Name="NoWarn" DisplayName="Disable Specific Warnings" Category="Advanced" />
<StringListProperty Name="WarningsAsErrors" DisplayName="Treat Specific Warnings As Errors" Category="Advanced" />
<StringListProperty Name="WarningsNotAsErrors" DisplayName="Treat Specific Warnings Not As Errors" Category="Advanced" />
</Rule>
</ProjectSchemaDefinitions>