blob: 8e61173dea5d182233342ceca6b53599197ca486 [file] [log] [blame]
David Reiss63191332009-01-06 19:49:22 +00001<?xml version="1.0" encoding="utf-8"?>
2<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 <PropertyGroup>
4 <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5 <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6 <ProductVersion>9.0.21022</ProductVersion>
7 <SchemaVersion>2.0</SchemaVersion>
8 <ProjectGuid>{48DD757F-CA95-4DD7-BDA4-58DB6F108C2C}</ProjectGuid>
9 <OutputType>Exe</OutputType>
10 <AppDesignerFolder>Properties</AppDesignerFolder>
11 <RootNamespace>ThriftTest</RootNamespace>
12 <AssemblyName>ThriftTest</AssemblyName>
13 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14 <FileAlignment>512</FileAlignment>
15 <PublishUrl>publish\</PublishUrl>
16 <Install>true</Install>
17 <InstallFrom>Disk</InstallFrom>
18 <UpdateEnabled>false</UpdateEnabled>
19 <UpdateMode>Foreground</UpdateMode>
20 <UpdateInterval>7</UpdateInterval>
21 <UpdateIntervalUnits>Days</UpdateIntervalUnits>
22 <UpdatePeriodically>false</UpdatePeriodically>
23 <UpdateRequired>false</UpdateRequired>
24 <MapFileExtensions>true</MapFileExtensions>
25 <ApplicationRevision>0</ApplicationRevision>
26 <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
27 <IsWebBootstrapper>false</IsWebBootstrapper>
28 <UseApplicationTrust>false</UseApplicationTrust>
29 <BootstrapperEnabled>true</BootstrapperEnabled>
30 <SccProjectName>SAK</SccProjectName>
31 <SccLocalPath>SAK</SccLocalPath>
32 <SccAuxPath>SAK</SccAuxPath>
33 <SccProvider>SAK</SccProvider>
34 </PropertyGroup>
35 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36 <DebugSymbols>true</DebugSymbols>
37 <DebugType>full</DebugType>
38 <Optimize>false</Optimize>
39 <OutputPath>bin\Debug\</OutputPath>
40 <DefineConstants>DEBUG;TRACE</DefineConstants>
41 <ErrorReport>prompt</ErrorReport>
42 <WarningLevel>4</WarningLevel>
43 </PropertyGroup>
44 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
45 <DebugType>pdbonly</DebugType>
46 <Optimize>true</Optimize>
47 <OutputPath>bin\Release\</OutputPath>
48 <DefineConstants>TRACE</DefineConstants>
49 <ErrorReport>prompt</ErrorReport>
50 <WarningLevel>4</WarningLevel>
51 </PropertyGroup>
52 <ItemGroup>
53 <Reference Include="System" />
54 <Reference Include="System.Core">
55 <RequiredTargetFramework>3.5</RequiredTargetFramework>
56 </Reference>
57 <Reference Include="System.Xml.Linq">
58 <RequiredTargetFramework>3.5</RequiredTargetFramework>
59 </Reference>
60 <Reference Include="System.Data.DataSetExtensions">
61 <RequiredTargetFramework>3.5</RequiredTargetFramework>
62 </Reference>
63 <Reference Include="System.Data" />
64 <Reference Include="System.Xml" />
65 <Reference Include="ThriftImpl, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
66 <SpecificVersion>False</SpecificVersion>
67 <HintPath>.\ThriftImpl.dll</HintPath>
68 </Reference>
69 </ItemGroup>
70 <ItemGroup>
71 <Compile Include="Program.cs" />
72 <Compile Include="Properties\AssemblyInfo.cs" />
73 <Compile Include="TestClient.cs" />
74 <Compile Include="TestServer.cs" />
75 </ItemGroup>
76 <ItemGroup>
77 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
78 <Visible>False</Visible>
79 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
80 <Install>false</Install>
81 </BootstrapperPackage>
82 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
83 <Visible>False</Visible>
84 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
85 <Install>false</Install>
86 </BootstrapperPackage>
87 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
88 <Visible>False</Visible>
89 <ProductName>.NET Framework 3.5</ProductName>
90 <Install>true</Install>
91 </BootstrapperPackage>
92 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
93 <Visible>False</Visible>
94 <ProductName>Windows Installer 3.1</ProductName>
95 <Install>true</Install>
96 </BootstrapperPackage>
97 </ItemGroup>
98 <ItemGroup>
99 <ProjectReference Include="..\..\..\lib\csharp\src\Thrift.csproj">
100 <Project>{499EB63C-D74C-47E8-AE48-A2FC94538E9D}</Project>
101 <Name>Thrift</Name>
102 </ProjectReference>
103 </ItemGroup>
104 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
105 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
106 Other similar extension points exist, see Microsoft.Common.targets.
107 <Target Name="BeforeBuild">
108 </Target>
109 <Target Name="AfterBuild">
110 </Target>
111 -->
112 <PropertyGroup>
113 <PreBuildEvent>rmdir /s /q $(ProjectDir)gen-csharp
114del /f /q $(ProjectDir)ThriftImpl.dll
115
116$(ProjectDir)\..\..\..\compiler\cpp\thrift.exe -csharp -o $(ProjectDir) $(ProjectDir)\..\..\ThriftTest.thrift
117
118cd $(ProjectDir)
119
120C:\Windows\Microsoft.NET\Framework\v3.5\Csc.exe /t:library /out:.\ThriftImpl.dll /recurse:.\gen-csharp\* /reference:$(ProjectDir)..\..\..\lib\csharp\src\bin\Debug\Thrift.dll</PreBuildEvent>
121 </PropertyGroup>
122</Project>