Coverity #1321383, #1321384, #1321385, 1321386 fixed: Resource Leaks
[scilab.git] / scilab / Visual-Studio-settings / rename-vc-files.xml
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="rename_vc_extension_files"
5     PageTemplate="tool"
6     DisplayName="Rename vc extension files"
7     Order="200">
8         <Rule.DataSource>
9             <DataSource
10         Persistence="ProjectFile"
11         ItemType="rename_vc_extension_files" />
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="rename_vc_extension_files"
37           SourceType="Item" />
38             </StringListProperty.DataSource>
39         </StringListProperty>
40         <StringProperty
41       Name="CommandLineTemplate"
42       DisplayName="Command Line"
43       Visible="False"
44       IncludeInCommandLine="False" />
45         <DynamicEnumProperty
46       Name="rename_vc_extension_filesBeforeTargets"
47       Category="General"
48       EnumProvider="Targets"
49       IncludeInCommandLine="False">
50             <DynamicEnumProperty.DisplayName>
51                 <sys:String>Execute Before</sys:String>
52             </DynamicEnumProperty.DisplayName>
53             <DynamicEnumProperty.Description>
54                 <sys:String>Specifies the targets for the build customization to run before.</sys:String>
55             </DynamicEnumProperty.Description>
56             <DynamicEnumProperty.ProviderSettings>
57                 <NameValuePair
58           Name="Exclude"
59           Value="^rename_vc_extension_filesBeforeTargets|^Compute" />
60             </DynamicEnumProperty.ProviderSettings>
61             <DynamicEnumProperty.DataSource>
62                 <DataSource
63           Persistence="ProjectFile"
64           HasConfigurationCondition="true" />
65             </DynamicEnumProperty.DataSource>
66         </DynamicEnumProperty>
67         <DynamicEnumProperty
68       Name="rename_vc_extension_filesAfterTargets"
69       Category="General"
70       EnumProvider="Targets"
71       IncludeInCommandLine="False">
72             <DynamicEnumProperty.DisplayName>
73                 <sys:String>Execute After</sys:String>
74             </DynamicEnumProperty.DisplayName>
75             <DynamicEnumProperty.Description>
76                 <sys:String>Specifies the targets for the build customization to run after.</sys:String>
77             </DynamicEnumProperty.Description>
78             <DynamicEnumProperty.ProviderSettings>
79                 <NameValuePair
80           Name="Exclude"
81           Value="^rename_vc_extension_filesAfterTargets|^Compute" />
82             </DynamicEnumProperty.ProviderSettings>
83             <DynamicEnumProperty.DataSource>
84                 <DataSource
85           Persistence="ProjectFile"
86           ItemType=""
87           HasConfigurationCondition="true" />
88             </DynamicEnumProperty.DataSource>
89         </DynamicEnumProperty>
90         <StringListProperty
91       Name="Outputs"
92       DisplayName="Outputs"
93       Visible="False"
94       IncludeInCommandLine="False" />
95         <StringProperty
96       Name="ExecutionDescription"
97       DisplayName="Execution Description"
98       Visible="False"
99       IncludeInCommandLine="False" />
100         <StringListProperty
101       Name="AdditionalDependencies"
102       DisplayName="Additional Dependencies"
103       IncludeInCommandLine="False"
104       Visible="false" />
105         <StringProperty
106       Subtype="AdditionalOptions"
107       Name="AdditionalOptions"
108       Category="Command Line">
109             <StringProperty.DisplayName>
110                 <sys:String>Additional Options</sys:String>
111             </StringProperty.DisplayName>
112             <StringProperty.Description>
113                 <sys:String>Additional Options</sys:String>
114             </StringProperty.Description>
115         </StringProperty>
116     </Rule>
117     <ItemType
118     Name="rename_vc_extension_files"
119     DisplayName="Rename vc extension files" />
120     <FileExtension
121     Name="*.vc"
122     ContentType="rename_vc_extension_files" />
123     <ContentType
124     Name="rename_vc_extension_files"
125     DisplayName="Rename vc extension files"
126     ItemType="rename_vc_extension_files" />
127 </ProjectSchemaDefinitions>