blob: 3f427fd772e2a63ebd5aefc5b6fc8e4a252c29e1 [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" />
David Reiss63191332009-01-06 19:49:22 +000054 <Reference Include="ThriftImpl, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
55 <SpecificVersion>False</SpecificVersion>
56 <HintPath>.\ThriftImpl.dll</HintPath>
57 </Reference>
58 </ItemGroup>
59 <ItemGroup>
60 <Compile Include="Program.cs" />
61 <Compile Include="Properties\AssemblyInfo.cs" />
62 <Compile Include="TestClient.cs" />
63 <Compile Include="TestServer.cs" />
64 </ItemGroup>
65 <ItemGroup>
66 <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
67 <Visible>False</Visible>
68 <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
69 <Install>false</Install>
70 </BootstrapperPackage>
71 <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
72 <Visible>False</Visible>
73 <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
74 <Install>false</Install>
75 </BootstrapperPackage>
76 <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
77 <Visible>False</Visible>
78 <ProductName>.NET Framework 3.5</ProductName>
79 <Install>true</Install>
80 </BootstrapperPackage>
81 <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
82 <Visible>False</Visible>
83 <ProductName>Windows Installer 3.1</ProductName>
84 <Install>true</Install>
85 </BootstrapperPackage>
86 </ItemGroup>
87 <ItemGroup>
88 <ProjectReference Include="..\..\..\lib\csharp\src\Thrift.csproj">
89 <Project>{499EB63C-D74C-47E8-AE48-A2FC94538E9D}</Project>
90 <Name>Thrift</Name>
91 </ProjectReference>
92 </ItemGroup>
93 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
94 <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
95 Other similar extension points exist, see Microsoft.Common.targets.
96 <Target Name="BeforeBuild">
97 </Target>
98 <Target Name="AfterBuild">
99 </Target>
100 -->
101 <PropertyGroup>
102 <PreBuildEvent>rmdir /s /q $(ProjectDir)gen-csharp
103del /f /q $(ProjectDir)ThriftImpl.dll
104
105$(ProjectDir)\..\..\..\compiler\cpp\thrift.exe -csharp -o $(ProjectDir) $(ProjectDir)\..\..\ThriftTest.thrift
106
107cd $(ProjectDir)
108
David Reissd831a212009-02-13 03:09:52 +0000109$(MSBuildToolsPath)\Csc.exe /t:library /out:.\ThriftImpl.dll /recurse:.\gen-csharp\* /reference:$(ProjectDir)..\..\..\lib\csharp\src\bin\Debug\Thrift.dll</PreBuildEvent>
David Reiss63191332009-01-06 19:49:22 +0000110 </PropertyGroup>
111</Project>