Subversion Repositories SmartDukaan

Rev

Rev 30 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 ashish 1
<?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
  </PropertyGroup>
31
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
32
    <DebugSymbols>true</DebugSymbols>
33
    <DebugType>full</DebugType>
34
    <Optimize>false</Optimize>
35
    <OutputPath>bin\Debug\</OutputPath>
36
    <DefineConstants>DEBUG;TRACE</DefineConstants>
37
    <ErrorReport>prompt</ErrorReport>
38
    <WarningLevel>4</WarningLevel>
39
  </PropertyGroup>
40
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
41
    <DebugType>pdbonly</DebugType>
42
    <Optimize>true</Optimize>
43
    <OutputPath>bin\Release\</OutputPath>
44
    <DefineConstants>TRACE</DefineConstants>
45
    <ErrorReport>prompt</ErrorReport>
46
    <WarningLevel>4</WarningLevel>
47
  </PropertyGroup>
48
  <ItemGroup>
49
    <Reference Include="System" />
50
    <Reference Include="ThriftImpl, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
51
      <SpecificVersion>False</SpecificVersion>
52
      <HintPath>.\ThriftImpl.dll</HintPath>
53
    </Reference>
54
  </ItemGroup>
55
  <ItemGroup>
56
    <Compile Include="Program.cs" />
57
    <Compile Include="Properties\AssemblyInfo.cs" />
58
    <Compile Include="TestClient.cs" />
59
    <Compile Include="TestServer.cs" />
60
  </ItemGroup>
61
  <ItemGroup>
62
    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
63
      <Visible>False</Visible>
64
      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
65
      <Install>false</Install>
66
    </BootstrapperPackage>
67
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
68
      <Visible>False</Visible>
69
      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
70
      <Install>false</Install>
71
    </BootstrapperPackage>
72
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
73
      <Visible>False</Visible>
74
      <ProductName>.NET Framework 3.5</ProductName>
75
      <Install>true</Install>
76
    </BootstrapperPackage>
77
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
78
      <Visible>False</Visible>
79
      <ProductName>Windows Installer 3.1</ProductName>
80
      <Install>true</Install>
81
    </BootstrapperPackage>
82
  </ItemGroup>
83
  <ItemGroup>
84
    <ProjectReference Include="..\..\..\lib\csharp\src\Thrift.csproj">
85
      <Project>{499EB63C-D74C-47E8-AE48-A2FC94538E9D}</Project>
86
      <Name>Thrift</Name>
87
    </ProjectReference>
88
  </ItemGroup>
89
  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
90
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
91
       Other similar extension points exist, see Microsoft.Common.targets.
92
  <Target Name="BeforeBuild">
93
  </Target>
94
  <Target Name="AfterBuild">
95
  </Target>
96
  -->
97
  <PropertyGroup>
98
    <PreBuildEvent>rmdir /s /q "$(ProjectDir)gen-csharp"
99
del /f /q "$(ProjectDir)ThriftImpl.dll"
100
SET OUTPUT_DIR=$(ProjectDir)
101
SET THRIFT_FILE=$(ProjectDir)\..\..\ThriftTest.thrift
102
for %25%25I in ("%25OUTPUT_DIR%25") do set SHORT_DIR=%25%25~fsI
103
for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI
104
"$(ProjectDir)\..\..\..\compiler\cpp\thrift.exe" --gen csharp -o %25SHORT_DIR%25 %25THRIFT_SHORT%25
105
$(MSBuildToolsPath)\Csc.exe /t:library /out:"$(ProjectDir)ThriftImpl.dll" /recurse:"$(ProjectDir)gen-csharp"\* /reference:"$(ProjectDir)..\..\..\lib\csharp\src\bin\Debug\Thrift.dll"</PreBuildEvent>
106
  </PropertyGroup>
107
</Project>