Adam Connelly | 0c0649d | 2015-12-26 15:55:05 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | Licensed to the Apache Software Foundation (ASF) under one |
| 4 | or more contributor license agreements. See the NOTICE file |
| 5 | distributed with this work for additional information |
| 6 | regarding copyright ownership. The ASF licenses this file |
| 7 | to you under the Apache License, Version 2.0 (the |
| 8 | "License"); you may not use this file except in compliance |
| 9 | with the License. You may obtain a copy of the License at |
| 10 | |
| 11 | http://www.apache.org/licenses/LICENSE-2.0 |
| 12 | |
| 13 | Unless required by applicable law or agreed to in writing, |
| 14 | software distributed under the License is distributed on an |
| 15 | "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 16 | KIND, either express or implied. See the License for the |
| 17 | specific language governing permissions and limitations |
| 18 | under the License. |
| 19 | --> |
| 20 | <Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
| 21 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
| 22 | <PropertyGroup> |
| 23 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
| 24 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
| 25 | <ProductVersion> |
| 26 | </ProductVersion> |
| 27 | <SchemaVersion>2.0</SchemaVersion> |
| 28 | <ProjectGuid>{891B4487-C7BA-427E-BBC8-4C596C229A10}</ProjectGuid> |
| 29 | <ProjectTypeGuids>{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids> |
| 30 | <OutputType>Library</OutputType> |
| 31 | <AppDesignerFolder>Properties</AppDesignerFolder> |
| 32 | <RootNamespace>ThriftMVCTest</RootNamespace> |
| 33 | <AssemblyName>ThriftMVCTest</AssemblyName> |
| 34 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion> |
| 35 | <MvcBuildViews>false</MvcBuildViews> |
| 36 | <UseIISExpress>true</UseIISExpress> |
| 37 | <IISExpressSSLPort /> |
| 38 | <IISExpressAnonymousAuthentication /> |
| 39 | <IISExpressWindowsAuthentication /> |
| 40 | <IISExpressUseClassicPipelineMode /> |
| 41 | </PropertyGroup> |
| 42 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
| 43 | <DebugSymbols>true</DebugSymbols> |
| 44 | <DebugType>full</DebugType> |
| 45 | <Optimize>false</Optimize> |
| 46 | <OutputPath>bin\</OutputPath> |
| 47 | <DefineConstants>DEBUG;TRACE</DefineConstants> |
| 48 | <ErrorReport>prompt</ErrorReport> |
| 49 | <WarningLevel>4</WarningLevel> |
| 50 | </PropertyGroup> |
| 51 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
| 52 | <DebugType>pdbonly</DebugType> |
| 53 | <Optimize>true</Optimize> |
| 54 | <OutputPath>bin\</OutputPath> |
| 55 | <DefineConstants>TRACE</DefineConstants> |
| 56 | <ErrorReport>prompt</ErrorReport> |
| 57 | <WarningLevel>4</WarningLevel> |
| 58 | </PropertyGroup> |
| 59 | <ItemGroup> |
| 60 | <Reference Include="Microsoft.CSharp" /> |
| 61 | <Reference Include="System" /> |
| 62 | <Reference Include="System.Data" /> |
| 63 | <Reference Include="System.Drawing" /> |
| 64 | <Reference Include="System.Web.DynamicData" /> |
| 65 | <Reference Include="System.Web.Entity" /> |
| 66 | <Reference Include="System.Web.ApplicationServices" /> |
| 67 | <Reference Include="System.ComponentModel.DataAnnotations" /> |
| 68 | <Reference Include="System.Core" /> |
| 69 | <Reference Include="System.Data.DataSetExtensions" /> |
| 70 | <Reference Include="System.Xml.Linq" /> |
| 71 | <Reference Include="System.Web" /> |
| 72 | <Reference Include="System.Web.Extensions" /> |
| 73 | <Reference Include="System.Web.Abstractions" /> |
| 74 | <Reference Include="System.Web.Routing" /> |
| 75 | <Reference Include="System.Xml" /> |
| 76 | <Reference Include="System.Configuration" /> |
| 77 | <Reference Include="System.Web.Services" /> |
| 78 | <Reference Include="System.EnterpriseServices" /> |
| 79 | <Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 80 | <Private>True</Private> |
| 81 | <HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath> |
| 82 | </Reference> |
| 83 | <Reference Include="System.Net.Http"> |
| 84 | </Reference> |
| 85 | <Reference Include="System.Net.Http.WebRequest"> |
| 86 | </Reference> |
| 87 | <Reference Include="System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 88 | <Private>True</Private> |
| 89 | <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.Helpers.dll</HintPath> |
| 90 | </Reference> |
| 91 | <Reference Include="System.Web.Mvc, Version=5.2.3.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 92 | <Private>True</Private> |
| 93 | <HintPath>..\packages\Microsoft.AspNet.Mvc.5.2.3\lib\net45\System.Web.Mvc.dll</HintPath> |
| 94 | </Reference> |
| 95 | <Reference Include="System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 96 | <Private>True</Private> |
| 97 | <HintPath>..\packages\Microsoft.AspNet.Razor.3.2.3\lib\net45\System.Web.Razor.dll</HintPath> |
| 98 | </Reference> |
| 99 | <Reference Include="System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 100 | <Private>True</Private> |
| 101 | <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.dll</HintPath> |
| 102 | </Reference> |
| 103 | <Reference Include="System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 104 | <Private>True</Private> |
| 105 | <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Deployment.dll</HintPath> |
| 106 | </Reference> |
| 107 | <Reference Include="System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL"> |
| 108 | <Private>True</Private> |
| 109 | <HintPath>..\packages\Microsoft.AspNet.WebPages.3.2.3\lib\net45\System.Web.WebPages.Razor.dll</HintPath> |
| 110 | </Reference> |
| 111 | <Reference Include="ThriftImpl"> |
| 112 | <HintPath>.\ThriftImpl.dll</HintPath> |
| 113 | </Reference> |
| 114 | </ItemGroup> |
| 115 | <ItemGroup> |
| 116 | <Compile Include="App_Start\FilterConfig.cs" /> |
| 117 | <Compile Include="App_Start\RouteConfig.cs" /> |
| 118 | <Compile Include="SyncHttpHandler.cs" /> |
| 119 | <Compile Include="AsyncHttpHandler.cs" /> |
| 120 | <Compile Include="Controllers\HomeController.cs" /> |
| 121 | <Compile Include="Global.asax.cs"> |
| 122 | <DependentUpon>Global.asax</DependentUpon> |
| 123 | </Compile> |
| 124 | <Compile Include="Properties\AssemblyInfo.cs" /> |
| 125 | <Compile Include="SecondServiceImpl.cs" /> |
| 126 | </ItemGroup> |
| 127 | <ItemGroup> |
| 128 | <Content Include="favicon.ico" /> |
| 129 | <Content Include="Global.asax" /> |
| 130 | <Content Include="Web.config" /> |
| 131 | <Content Include="Web.Debug.config"> |
| 132 | <DependentUpon>Web.config</DependentUpon> |
| 133 | </Content> |
| 134 | <Content Include="Web.Release.config"> |
| 135 | <DependentUpon>Web.config</DependentUpon> |
| 136 | </Content> |
| 137 | <Content Include="Views\Web.config" /> |
| 138 | <Content Include="Views\_ViewStart.cshtml" /> |
| 139 | <Content Include="Views\Shared\_Layout.cshtml" /> |
| 140 | <Content Include="Views\Home\Index.cshtml" /> |
| 141 | </ItemGroup> |
| 142 | <ItemGroup> |
| 143 | <Folder Include="App_Data\" /> |
| 144 | </ItemGroup> |
| 145 | <ItemGroup> |
| 146 | <Content Include="packages.config"> |
| 147 | <SubType>Designer</SubType> |
| 148 | </Content> |
| 149 | </ItemGroup> |
| 150 | <ItemGroup> |
| 151 | <ProjectReference Include="..\..\src\Thrift.45.csproj"> |
| 152 | <Project>{ebce35da-cf6a-42bc-a357-a9c09b534299}</Project> |
| 153 | <Name>Thrift.45</Name> |
| 154 | </ProjectReference> |
| 155 | </ItemGroup> |
| 156 | <PropertyGroup> |
| 157 | <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> |
| 158 | <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> |
| 159 | </PropertyGroup> |
| 160 | <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> |
| 161 | <Import Project="$(VSToolsPath)\WebApplications\Microsoft.WebApplication.targets" Condition="'$(VSToolsPath)' != ''" /> |
| 162 | <Import Project="$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v10.0\WebApplications\Microsoft.WebApplication.targets" Condition="false" /> |
| 163 | <Target Name="MvcBuildViews" AfterTargets="AfterBuild" Condition="'$(MvcBuildViews)'=='true'"> |
| 164 | <AspNetCompiler VirtualPath="temp" PhysicalPath="$(WebProjectOutputDir)" /> |
| 165 | </Target> |
| 166 | <ProjectExtensions> |
| 167 | <VisualStudio> |
| 168 | <FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}"> |
| 169 | <WebProjectProperties> |
| 170 | <UseIIS>True</UseIIS> |
| 171 | <AutoAssignPort>True</AutoAssignPort> |
| 172 | <DevelopmentServerPort>57482</DevelopmentServerPort> |
| 173 | <DevelopmentServerVPath>/</DevelopmentServerVPath> |
| 174 | <IISUrl>http://localhost:57482/</IISUrl> |
| 175 | <NTLMAuthentication>False</NTLMAuthentication> |
| 176 | <UseCustomServer>False</UseCustomServer> |
| 177 | <CustomServerUrl> |
| 178 | </CustomServerUrl> |
| 179 | <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> |
| 180 | </WebProjectProperties> |
| 181 | </FlavorProperties> |
| 182 | </VisualStudio> |
| 183 | </ProjectExtensions> |
| 184 | <PropertyGroup> |
| 185 | <PreBuildEvent>rmdir /s /q "$(ProjectDir)gen-csharp" |
| 186 | del /f /q "$(ProjectDir)ThriftImpl.dll" |
| 187 | SET OUTPUT_DIR=$(ProjectDir) |
| 188 | SET THRIFT_FILE=$(ProjectDir)\..\..\..\..\test\ThriftTest.thrift |
| 189 | for %25%25I in ("%25OUTPUT_DIR%25") do set SHORT_DIR=%25%25~fsI |
| 190 | for %25%25I in ("%25THRIFT_FILE%25") do set THRIFT_SHORT=%25%25~fsI |
| 191 | "$(ProjectDir)\..\..\..\..\compiler\cpp\Debug\thrift.exe" --gen csharp:async=true -o %25SHORT_DIR%25 %25THRIFT_SHORT%25 |
| 192 | "$(MSBuildToolsPath)\Csc.exe" /t:library /out:"$(ProjectDir)ThriftImpl.dll" /recurse:"$(ProjectDir)gen-csharp"\* /reference:"$(ProjectDir)..\..\src\bin\Debug\Thrift45.dll"</PreBuildEvent> |
| 193 | </PropertyGroup> |
| 194 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it. |
| 195 | Other similar extension points exist, see Microsoft.Common.targets. |
| 196 | <Target Name="BeforeBuild"> |
| 197 | </Target> |
| 198 | <Target Name="AfterBuild"> |
| 199 | </Target> --> |
| 200 | </Project> |