Bryan Duxbury | 23f2348 | 2010-07-28 18:23:22 +0000 | [diff] [blame] | 1 | <!-- |
| 2 | Licensed to the Apache Software Foundation (ASF) under one |
| 3 | or more contributor license agreements. See the NOTICE file |
| 4 | distributed with this work for additional information |
| 5 | regarding copyright ownership. The ASF licenses this file |
| 6 | to you under the Apache License, Version 2.0 (the |
| 7 | "License"); you may not use this file except in compliance |
| 8 | with the License. You may obtain a copy of the License at |
| 9 | |
| 10 | http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | |
| 12 | Unless required by applicable law or agreed to in writing, |
| 13 | software distributed under the License is distributed on an |
| 14 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | KIND, either express or implied. See the License for the |
| 16 | specific language governing permissions and limitations |
| 17 | under the License. |
| 18 | --> |
| 19 | |
David Reiss | 6319133 | 2009-01-06 19:49:22 +0000 | [diff] [blame] | 20 | <?xml version="1.0" encoding="utf-8"?> |
| 21 | <Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 22 | <PropertyGroup> |
| 23 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 24 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 25 | <ProductVersion>9.0.21022</ProductVersion> |
| 26 | <SchemaVersion>2.0</SchemaVersion> |
| 27 | <ProjectGuid>{48DD757F-CA95-4DD7-BDA4-58DB6F108C2C}</ProjectGuid> |
| 28 | <OutputType>Exe</OutputType> |
| 29 | <AppDesignerFolder>Properties</AppDesignerFolder> |
| 30 | <RootNamespace>ThriftTest</RootNamespace> |
| 31 | <AssemblyName>ThriftTest</AssemblyName> |
| 32 | <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> |
| 33 | <FileAlignment>512</FileAlignment> |
| 34 | <PublishUrl>publish\</PublishUrl> |
| 35 | <Install>true</Install> |
| 36 | <InstallFrom>Disk</InstallFrom> |
| 37 | <UpdateEnabled>false</UpdateEnabled> |
| 38 | <UpdateMode>Foreground</UpdateMode> |
| 39 | <UpdateInterval>7</UpdateInterval> |
| 40 | <UpdateIntervalUnits>Days</UpdateIntervalUnits> |
| 41 | <UpdatePeriodically>false</UpdatePeriodically> |
| 42 | <UpdateRequired>false</UpdateRequired> |
| 43 | <MapFileExtensions>true</MapFileExtensions> |
| 44 | <ApplicationRevision>0</ApplicationRevision> |
| 45 | <ApplicationVersion>1.0.0.%2a</ApplicationVersion> |
| 46 | <IsWebBootstrapper>false</IsWebBootstrapper> |
| 47 | <UseApplicationTrust>false</UseApplicationTrust> |
| 48 | <BootstrapperEnabled>true</BootstrapperEnabled> |
David Reiss | 6319133 | 2009-01-06 19:49:22 +0000 | [diff] [blame] | 49 | </PropertyGroup> |
| 50 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 51 | <DebugSymbols>true</DebugSymbols> |
| 52 | <DebugType>full</DebugType> |
| 53 | <Optimize>false</Optimize> |
| 54 | <OutputPath>bin\Debug\</OutputPath> |
| 55 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 56 | <ErrorReport>prompt</ErrorReport> |
| 57 | <WarningLevel>4</WarningLevel> |
| 58 | </PropertyGroup> |
| 59 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 60 | <DebugType>pdbonly</DebugType> |
| 61 | <Optimize>true</Optimize> |
| 62 | <OutputPath>bin\Release\</OutputPath> |
| 63 | <DefineConstants>TRACE</DefineConstants> |
| 64 | <ErrorReport>prompt</ErrorReport> |
| 65 | <WarningLevel>4</WarningLevel> |
| 66 | </PropertyGroup> |
| 67 | <ItemGroup> |
| 68 | <Reference Include="System" /> |
David Reiss | 6319133 | 2009-01-06 19:49:22 +0000 | [diff] [blame] | 69 | <Reference Include="ThriftImpl, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL"> |
| 70 | <SpecificVersion>False</SpecificVersion> |
| 71 | <HintPath>.\ThriftImpl.dll</HintPath> |
| 72 | </Reference> |
| 73 | </ItemGroup> |
| 74 | <ItemGroup> |
| 75 | <Compile Include="Program.cs" /> |
| 76 | <Compile Include="Properties\AssemblyInfo.cs" /> |
| 77 | <Compile Include="TestClient.cs" /> |
| 78 | <Compile Include="TestServer.cs" /> |
| 79 | </ItemGroup> |
| 80 | <ItemGroup> |
| 81 | <BootstrapperPackage Include="Microsoft.Net.Framework.2.0"> |
| 82 | <Visible>False</Visible> |
| 83 | <ProductName>.NET Framework 2.0 %28x86%29</ProductName> |
| 84 | <Install>false</Install> |
| 85 | </BootstrapperPackage> |
| 86 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.0"> |
| 87 | <Visible>False</Visible> |
| 88 | <ProductName>.NET Framework 3.0 %28x86%29</ProductName> |
| 89 | <Install>false</Install> |
| 90 | </BootstrapperPackage> |
| 91 | <BootstrapperPackage Include="Microsoft.Net.Framework.3.5"> |
| 92 | <Visible>False</Visible> |
| 93 | <ProductName>.NET Framework 3.5</ProductName> |
| 94 | <Install>true</Install> |
| 95 | </BootstrapperPackage> |
| 96 | <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1"> |
| 97 | <Visible>False</Visible> |
| 98 | <ProductName>Windows Installer 3.1</ProductName> |
| 99 | <Install>true</Install> |
| 100 | </BootstrapperPackage> |
| 101 | </ItemGroup> |
| 102 | <ItemGroup> |
| 103 | <ProjectReference Include="..\..\..\lib\csharp\src\Thrift.csproj"> |
| 104 | <Project>{499EB63C-D74C-47E8-AE48-A2FC94538E9D}</Project> |
| 105 | <Name>Thrift</Name> |
| 106 | </ProjectReference> |
| 107 | </ItemGroup> |
| 108 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
| 109 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| 110 | Other similar extension points exist, see Microsoft.Common.targets. |
| 111 | <Target Name="BeforeBuild"> |
| 112 | </Target> |
| 113 | <Target Name="AfterBuild"> |
| 114 | </Target> |
| 115 | --> |
| 116 | <PropertyGroup> |
Bryan Duxbury | e8f38f4 | 2009-07-02 20:28:33 +0000 | [diff] [blame] | 117 | <PreBuildEvent>rmdir /s /q "$(ProjectDir)gen-csharp" |
| 118 | del /f /q "$(ProjectDir)ThriftImpl.dll" |
| 119 | SET OUTPUT_DIR=$(ProjectDir) |
| 120 | SET THRIFT_FILE=$(ProjectDir)\..\..\ThriftTest.thrift |
| 121 | for %25%25I in ("%25OUTPUT_DIR%25") do set SHORT_DIR=%25%25~fsI |
| 122 | for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI |
| 123 | "$(ProjectDir)\..\..\..\compiler\cpp\thrift.exe" --gen csharp -o %25SHORT_DIR%25 %25THRIFT_SHORT%25 |
| 124 | $(MSBuildToolsPath)\Csc.exe /t:library /out:"$(ProjectDir)ThriftImpl.dll" /recurse:"$(ProjectDir)gen-csharp"\* /reference:"$(ProjectDir)..\..\..\lib\csharp\src\bin\Debug\Thrift.dll"</PreBuildEvent> |
David Reiss | 6319133 | 2009-01-06 19:49:22 +0000 | [diff] [blame] | 125 | </PropertyGroup> |
| 126 | </Project> |