
Added retargeting code so the 4.0 project can use async await Added extention methods to work around differences in reflection and async support. Changed the output folders for each project, to relfect the .NET framework version they are being built with. Updated the unit test project to build take a reference to the 4.5/PCL assembly. Updated the example projects to take a dependency on the 4.5/PCL assembly. Implements blueprint support-net35 Change-Id: Iefb776912cd8257b38a9aaf97cc7bb1b347b8892
79 lines
3.5 KiB
XML
79 lines
3.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{83B16A76-A3DF-42E5-95A6-5BBE41FC7854}</ProjectGuid>
|
|
<OutputType>Exe</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>CustomServiceClientExample</RootNamespace>
|
|
<AssemblyName>CustomServiceClientExample</AssemblyName>
|
|
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>..\..\Bin\Debug\Newtonsoft.Json.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="OpenStack, Version=0.9.0.0, Culture=neutral, processorArchitecture=MSIL">
|
|
<SpecificVersion>False</SpecificVersion>
|
|
<HintPath>..\..\Bin\net45\Debug\OpenStack.dll</HintPath>
|
|
</Reference>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Net.Http" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="EchoPocoClient.cs" />
|
|
<Compile Include="EchoPocoClientFactory.cs" />
|
|
<Compile Include="EchoResponse.cs" />
|
|
<Compile Include="EchoRestClient.cs" />
|
|
<Compile Include="EchoRestClientFactory.cs" />
|
|
<Compile Include="EchoServiceClient.cs" />
|
|
<Compile Include="EchoServiceClientDefinition.cs" />
|
|
<Compile Include="EchoServiceRegistrar.cs" />
|
|
<Compile Include="IEchoPocoClient.cs" />
|
|
<Compile Include="IEchoPocoClientFactory.cs" />
|
|
<Compile Include="IEchoRestClient.cs" />
|
|
<Compile Include="IEchoRestClientFactory.cs" />
|
|
<Compile Include="IEchoServiceClient.cs" />
|
|
<Compile Include="Program.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="App.config" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
|
Other similar extension points exist, see Microsoft.Common.targets.
|
|
<Target Name="BeforeBuild">
|
|
</Target>
|
|
<Target Name="AfterBuild">
|
|
</Target>
|
|
-->
|
|
</Project> |