|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3 |
| - <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 3 | <PropertyGroup>
|
5 | 4 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6 | 5 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
11 | 10 | <AssemblyName>SymphonyOSS.RestApiClient.Tests</AssemblyName>
|
12 | 11 | <TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
13 | 12 | <FileAlignment>512</FileAlignment>
|
14 |
| - <TargetFrameworkProfile /> |
| 13 | + <ProjectTypeGuids>{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids> |
| 14 | + <VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> |
| 15 | + <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> |
| 16 | + <ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath> |
| 17 | + <IsCodedUITest>False</IsCodedUITest> |
| 18 | + <TestProjectType>UnitTest</TestProjectType> |
15 | 19 | </PropertyGroup>
|
16 | 20 | <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
17 | 21 | <DebugSymbols>true</DebugSymbols>
|
|
64 | 68 | <Private>True</Private>
|
65 | 69 | </Reference>
|
66 | 70 | </ItemGroup>
|
| 71 | + <Choose> |
| 72 | + <When Condition="('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'"> |
| 73 | + <ItemGroup> |
| 74 | + <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL" /> |
| 75 | + </ItemGroup> |
| 76 | + </When> |
| 77 | + <Otherwise> |
| 78 | + <ItemGroup> |
| 79 | + <Reference Include="Microsoft.VisualStudio.QualityTools.UnitTestFramework" /> |
| 80 | + </ItemGroup> |
| 81 | + </Otherwise> |
| 82 | + </Choose> |
67 | 83 | <ItemGroup>
|
68 | 84 | <Compile Include="AgentApiFactoryTest.cs" />
|
69 | 85 | <Compile Include="AuthenticatorApiFactoryTest.cs" />
|
|
86 | 102 | <ItemGroup>
|
87 | 103 | <ProjectReference Include="..\..\src\SymphonyOSS.RestApiClient.Generated\SymphonyOSS.RestApiClient.Generated.csproj">
|
88 | 104 | <Project>{67b81e11-ba65-4c3f-8075-e2c351467980}</Project>
|
89 |
| - <Name>SymphonyOSS.AgentApiClient.Generated</Name> |
| 105 | + <Name>SymphonyOSS.RestApiClient.Generated</Name> |
90 | 106 | </ProjectReference>
|
91 | 107 | <ProjectReference Include="..\..\src\SymphonyOSS.RestApiClient\SymphonyOSS.RestApiClient.csproj">
|
92 | 108 | <Project>{8114bb9e-7e5d-45cd-bbcb-179e117500fa}</Project>
|
93 |
| - <Name>SymphonyOSS.AgentApiClient</Name> |
| 109 | + <Name>SymphonyOSS.RestApiClient</Name> |
94 | 110 | </ProjectReference>
|
95 | 111 | </ItemGroup>
|
96 |
| - <ItemGroup> |
97 |
| - <Service Include="{82A7F48D-3B50-4B1E-B82E-3ADA8210C358}" /> |
98 |
| - </ItemGroup> |
99 | 112 | <ItemGroup>
|
100 | 113 | <None Include="packages.config" />
|
101 | 114 | </ItemGroup>
|
| 115 | + <Choose> |
| 116 | + <When Condition="'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"> |
| 117 | + <ItemGroup> |
| 118 | + <Reference Include="Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 119 | + <Private>False</Private> |
| 120 | + </Reference> |
| 121 | + <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 122 | + <Private>False</Private> |
| 123 | + </Reference> |
| 124 | + <Reference Include="Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 125 | + <Private>False</Private> |
| 126 | + </Reference> |
| 127 | + <Reference Include="Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> |
| 128 | + <Private>False</Private> |
| 129 | + </Reference> |
| 130 | + </ItemGroup> |
| 131 | + </When> |
| 132 | + </Choose> |
| 133 | + <Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" /> |
102 | 134 | <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
103 | 135 | <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
104 | 136 | Other similar extension points exist, see Microsoft.Common.targets.
|
|
0 commit comments