2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / class / System.Data / System.Data.csproj
blobeb146a063bf0a4e97d9783ba9378f334299f7325
1 <?xml version="1.0" encoding="utf-8"?>
2 <Project ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3   <PropertyGroup>
4     <OutputType>Library</OutputType>
5     <AssemblyName>$(MSBuildProjectName)</AssemblyName>
6     <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
7     <NoConfig>true</NoConfig>
8     <NoWarn>649</NoWarn>
9     <CodePage>65001</CodePage>
10     <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
11     <UseVSHostingProcess>false</UseVSHostingProcess>
12   </PropertyGroup>
13   <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
14     <DefineConstants>NET_1_1,NET_2_0</DefineConstants>
15   </PropertyGroup>
16   <ItemGroup Condition=" '$(Configuration)|$(Platform)' == 'net_2_0|AnyCPU' ">
17     <Reference Include="System"/>
18     <Reference Include="System.Xml"/>
19     <Reference Include="System.EnterpriseServices"/>
20     <Reference Include="System.Configuration"/>
21     <Reference Include="System.Transactions"/>
22     <Reference Include="Mono.Data.Tds">
23       <HintPath>..\lib\net_2_0\Mono.Data.Tds.dll</HintPath>
24     </Reference>
25     <Compile Include="Mono.Data.SqlExpressions\Parser.cs"/>
26   </ItemGroup>
27   <Import Project="$(MSBuildProjectDirectory)\..\..\build\msbuild\Mono.Common.targets"/>
28   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
29   <Target Name="BeforeBuild" DependsOnTargets="SetupProject">
30     <Exec Command="..\..\jay\jay.exe -ct &lt; ..\..\jay\skeleton.cs Mono.Data.SqlExpressions\Parser.jay &gt; Mono.Data.SqlExpressions\Parser.cs"/>
31   </Target>
32 </Project>