BindingFlags.Public needed here as Exception.HResult is now public in .NET 4.5. This...
[mono.git] / mcs / class / Mono.CSharp / Mono.CSharp.csproj
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
3   <PropertyGroup>\r
4     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
5     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
6     <ProductVersion>9.0.30729</ProductVersion>\r
7     <SchemaVersion>2.0</SchemaVersion>\r
8     <ProjectGuid>{817CE046-07E8-409D-84BF-A6EA4F2879DE}</ProjectGuid>\r
9     <OutputType>Library</OutputType>\r
10     <AppDesignerFolder>Properties</AppDesignerFolder>\r
11     <RootNamespace>Mono.CSharp</RootNamespace>\r
12     <AssemblyName>Mono.CSharp</AssemblyName>\r
13     <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
14     <FileAlignment>512</FileAlignment>\r
15     <FileUpgradeFlags>\r
16     </FileUpgradeFlags>\r
17     <OldToolsVersion>3.5</OldToolsVersion>\r
18     <UpgradeBackupLocation />\r
19     <PublishUrl>publish\</PublishUrl>\r
20     <Install>true</Install>\r
21     <InstallFrom>Disk</InstallFrom>\r
22     <UpdateEnabled>false</UpdateEnabled>\r
23     <UpdateMode>Foreground</UpdateMode>\r
24     <UpdateInterval>7</UpdateInterval>\r
25     <UpdateIntervalUnits>Days</UpdateIntervalUnits>\r
26     <UpdatePeriodically>false</UpdatePeriodically>\r
27     <UpdateRequired>false</UpdateRequired>\r
28     <MapFileExtensions>true</MapFileExtensions>\r
29     <ApplicationRevision>0</ApplicationRevision>\r
30     <ApplicationVersion>1.0.0.%2a</ApplicationVersion>\r
31     <IsWebBootstrapper>false</IsWebBootstrapper>\r
32     <UseApplicationTrust>false</UseApplicationTrust>\r
33     <BootstrapperEnabled>true</BootstrapperEnabled>\r
34     <TargetFrameworkProfile />\r
35   </PropertyGroup>\r
36   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
37     <DebugSymbols>true</DebugSymbols>\r
38     <DebugType>full</DebugType>\r
39     <Optimize>false</Optimize>\r
40     <OutputPath>bin\Debug\</OutputPath>\r
41     <DefineConstants>TRACE;DEBUG;NET_4_0</DefineConstants>\r
42     <ErrorReport>prompt</ErrorReport>\r
43     <WarningLevel>4</WarningLevel>\r
44     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
45   </PropertyGroup>\r
46   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
47     <DebugType>pdbonly</DebugType>\r
48     <Optimize>true</Optimize>\r
49     <OutputPath>bin\Release\</OutputPath>\r
50     <DefineConstants>TRACE;NET_4_0</DefineConstants>\r
51     <ErrorReport>prompt</ErrorReport>\r
52     <WarningLevel>4</WarningLevel>\r
53     <CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>\r
54   </PropertyGroup>\r
55   <ItemGroup>\r
56     <Reference Include="System" />\r
57     <Reference Include="System.Core">\r
58       <RequiredTargetFramework>3.5</RequiredTargetFramework>\r
59     </Reference>\r
60     <Reference Include="System.XML" />\r
61   </ItemGroup>\r
62   <ItemGroup>\r
63     <Compile Include="..\..\class\corlib\Mono.Security.Cryptography\CryptoConvert.cs">\r
64       <Link>CryptoConvert.cs</Link>\r
65     </Compile>\r
66     <Compile Include="..\..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolFile.cs">\r
67       <Link>MonoSymbolFile.cs</Link>\r
68     </Compile>\r
69     <Compile Include="..\..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolTable.cs">\r
70       <Link>MonoSymbolTable.cs</Link>\r
71     </Compile>\r
72     <Compile Include="..\..\class\Mono.CompilerServices.SymbolWriter\MonoSymbolWriter.cs">\r
73       <Link>MonoSymbolWriter.cs</Link>\r
74     </Compile>\r
75     <Compile Include="..\..\mcs\anonymous.cs">\r
76       <Link>anonymous.cs</Link>\r
77     </Compile>\r
78     <Compile Include="..\..\mcs\argument.cs">\r
79       <Link>argument.cs</Link>\r
80     </Compile>\r
81     <Compile Include="..\..\mcs\assembly.cs">\r
82       <Link>assembly.cs</Link>\r
83     </Compile>\r
84     <Compile Include="..\..\mcs\assign.cs">\r
85       <Link>assign.cs</Link>\r
86     </Compile>\r
87     <Compile Include="..\..\mcs\async.cs">\r
88       <Link>async.cs</Link>\r
89     </Compile>\r
90     <Compile Include="..\..\mcs\attribute.cs">\r
91       <Link>attribute.cs</Link>\r
92     </Compile>\r
93     <Compile Include="..\..\mcs\cfold.cs">\r
94       <Link>cfold.cs</Link>\r
95     </Compile>\r
96     <Compile Include="..\..\mcs\class.cs">\r
97       <Link>class.cs</Link>\r
98     </Compile>\r
99     <Compile Include="..\..\mcs\codegen.cs">\r
100       <Link>codegen.cs</Link>\r
101     </Compile>\r
102     <Compile Include="..\..\mcs\complete.cs">\r
103       <Link>complete.cs</Link>\r
104     </Compile>\r
105     <Compile Include="..\..\mcs\const.cs">\r
106       <Link>const.cs</Link>\r
107     </Compile>\r
108     <Compile Include="..\..\mcs\constant.cs">\r
109       <Link>constant.cs</Link>\r
110     </Compile>\r
111     <Compile Include="..\..\mcs\context.cs">\r
112       <Link>context.cs</Link>\r
113     </Compile>\r
114     <Compile Include="..\..\mcs\convert.cs">\r
115       <Link>convert.cs</Link>\r
116     </Compile>\r
117     <Compile Include="..\..\mcs\cs-tokenizer.cs">\r
118       <Link>cs-tokenizer.cs</Link>\r
119     </Compile>\r
120     <Compile Include="..\..\mcs\decl.cs">\r
121       <Link>decl.cs</Link>\r
122     </Compile>\r
123     <Compile Include="..\..\mcs\delegate.cs">\r
124       <Link>delegate.cs</Link>\r
125     </Compile>\r
126     <Compile Include="..\..\mcs\doc-bootstrap.cs">\r
127       <Link>doc-bootstrap.cs</Link>\r
128     </Compile>\r
129     <Compile Include="..\..\mcs\doc.cs">\r
130       <Link>doc.cs</Link>\r
131     </Compile>\r
132     <Compile Include="..\..\mcs\driver.cs">\r
133       <Link>driver.cs</Link>\r
134     </Compile>\r
135     <Compile Include="..\..\mcs\dynamic.cs">\r
136       <Link>dynamic.cs</Link>\r
137     </Compile>\r
138     <Compile Include="..\..\mcs\ecore.cs">\r
139       <Link>ecore.cs</Link>\r
140     </Compile>\r
141     <Compile Include="..\..\mcs\enum.cs">\r
142       <Link>enum.cs</Link>\r
143     </Compile>\r
144     <Compile Include="..\..\mcs\eval.cs">\r
145       <Link>eval.cs</Link>\r
146     </Compile>\r
147     <Compile Include="..\..\mcs\expression.cs">\r
148       <Link>expression.cs</Link>\r
149     </Compile>\r
150     <Compile Include="..\..\mcs\field.cs">\r
151       <Link>field.cs</Link>\r
152     </Compile>\r
153     <Compile Include="..\..\mcs\flowanalysis.cs">\r
154       <Link>flowanalysis.cs</Link>\r
155     </Compile>\r
156     <Compile Include="..\..\mcs\generic.cs">\r
157       <Link>generic.cs</Link>\r
158     </Compile>\r
159     <Compile Include="..\..\mcs\import.cs">\r
160       <Link>import.cs</Link>\r
161     </Compile>\r
162     <Compile Include="..\..\mcs\iterators.cs">\r
163       <Link>iterators.cs</Link>\r
164     </Compile>\r
165     <Compile Include="..\..\mcs\lambda.cs">\r
166       <Link>lambda.cs</Link>\r
167     </Compile>\r
168     <Compile Include="..\..\mcs\linq.cs">\r
169       <Link>linq.cs</Link>\r
170     </Compile>\r
171     <Compile Include="..\..\mcs\literal.cs">\r
172       <Link>literal.cs</Link>\r
173     </Compile>\r
174     <Compile Include="..\..\mcs\location.cs">\r
175       <Link>location.cs</Link>\r
176     </Compile>\r
177     <Compile Include="..\..\mcs\membercache.cs">\r
178       <Link>membercache.cs</Link>\r
179     </Compile>\r
180     <Compile Include="..\..\mcs\method.cs">\r
181       <Link>method.cs</Link>\r
182     </Compile>\r
183     <Compile Include="..\..\mcs\modifiers.cs">\r
184       <Link>modifiers.cs</Link>\r
185     </Compile>\r
186     <Compile Include="..\..\mcs\namespace.cs">\r
187       <Link>namespace.cs</Link>\r
188     </Compile>\r
189     <Compile Include="..\..\mcs\nullable.cs">\r
190       <Link>nullable.cs</Link>\r
191     </Compile>\r
192     <Compile Include="..\..\mcs\parameter.cs">\r
193       <Link>parameter.cs</Link>\r
194     </Compile>\r
195     <Compile Include="..\..\mcs\pending.cs">\r
196       <Link>pending.cs</Link>\r
197     </Compile>\r
198     <Compile Include="..\..\mcs\property.cs">\r
199       <Link>property.cs</Link>\r
200     </Compile>\r
201     <Compile Include="..\..\mcs\reflection.cs">\r
202       <Link>reflection.cs</Link>\r
203     </Compile>\r
204     <Compile Include="..\..\mcs\report.cs">\r
205       <Link>report.cs</Link>\r
206     </Compile>\r
207     <Compile Include="..\..\mcs\settings.cs">\r
208       <Link>settings.cs</Link>\r
209     </Compile>\r
210     <Compile Include="..\..\mcs\module.cs">\r
211       <Link>module.cs</Link>\r
212     </Compile>\r
213     <Compile Include="..\..\mcs\statement.cs">\r
214       <Link>statement.cs</Link>\r
215     </Compile>\r
216     <Compile Include="..\..\mcs\support.cs">\r
217       <Link>support.cs</Link>\r
218     </Compile>\r
219     <Compile Include="..\..\mcs\typemanager.cs">\r
220       <Link>typemanager.cs</Link>\r
221     </Compile>\r
222     <Compile Include="..\..\mcs\typespec.cs">\r
223       <Link>typespec.cs</Link>\r
224     </Compile>\r
225     <Compile Include="..\..\mcs\visit.cs">\r
226       <Link>visit.cs</Link>\r
227     </Compile>\r
228     <Compile Include="..\..\tools\monop\outline.cs">\r
229       <Link>outline.cs</Link>\r
230     </Compile>\r
231     <Compile Include="cs-parser.cs" />\r
232   </ItemGroup>\r
233   <ItemGroup>\r
234     <Folder Include="Properties\" />\r
235   </ItemGroup>\r
236   <ItemGroup>\r
237     <BootstrapperPackage Include="Microsoft.Net.Client.3.5">\r
238       <Visible>False</Visible>\r
239       <ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>\r
240       <Install>false</Install>\r
241     </BootstrapperPackage>\r
242     <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">\r
243       <Visible>False</Visible>\r
244       <ProductName>.NET Framework 3.5 SP1</ProductName>\r
245       <Install>true</Install>\r
246     </BootstrapperPackage>\r
247     <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">\r
248       <Visible>False</Visible>\r
249       <ProductName>Windows Installer 3.1</ProductName>\r
250       <Install>true</Install>\r
251     </BootstrapperPackage>\r
252   </ItemGroup>\r
253   <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
254   <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
255        Other similar extension points exist, see Microsoft.Common.targets.\r
256   <Target Name="BeforeBuild">\r
257   </Target>\r
258   <Target Name="AfterBuild">\r
259   </Target>\r
260   -->\r
261   <PropertyGroup>\r
262     <PreBuildEvent>"$(ProjectDir)..\..\jay\jay" -cvt &lt; "$(ProjectDir)..\..\jay\skeleton.cs" "$(ProjectDir)..\..\mcs\cs-parser.jay" &gt; "$(ProjectDir)cs-parser.cs"</PreBuildEvent>\r
263   </PropertyGroup>\r
264 </Project>\r