|
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 | 3 | <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
| 4 | + <Import Project="..\..\common\build.targets" /> |
4 | 5 | <PropertyGroup>
|
5 | 6 | <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
6 | 7 | <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
11 | 12 | <AssemblyName>GitHub.Api</AssemblyName>
|
12 | 13 | <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
13 | 14 | <FileAlignment>512</FileAlignment>
|
14 |
| - <SolutionType Condition="$(SolutionName)=='GitHub.Unity.Internal'">Internal</SolutionType> |
15 |
| - <BuildType Condition="Exists('$(SolutionDir)\script\src\MetricsService.cs')">Internal</BuildType> |
16 | 15 | <OutputPath>bin\$(Configuration)\</OutputPath>
|
17 | 16 | <TargetFrameworkProfile />
|
18 | 17 | <LangVersion>6</LangVersion>
|
|
203 | 202 | <Compile Include="Threading\IAwaitable.cs" />
|
204 | 203 | <Compile Include="Threading\IAwaiter.cs" />
|
205 | 204 | <Compile Include="Threading\ThreadingHelper.cs" />
|
206 |
| - </ItemGroup> |
207 |
| - <ItemGroup> |
208 | 205 | <Compile Include="Application\IApiClient.cs" />
|
209 | 206 | <Compile Include="Application\ApiClient.cs" />
|
210 | 207 | <Compile Include="Authentication\AuthenticationResult.cs" />
|
|
223 | 220 | <Compile Include="Platform\Platform.cs" />
|
224 | 221 | <Compile Include="Git\GitCredentialManager.cs" />
|
225 | 222 | </ItemGroup>
|
226 |
| - <ItemGroup> |
227 |
| - <Compile Include="$(SolutionDir)common\SolutionInfo.cs"> |
228 |
| - <Link>Properties\SolutionInfo.cs</Link> |
229 |
| - </Compile> |
230 |
| - </ItemGroup> |
231 |
| - <ItemGroup Condition="$(Buildtype) != 'Internal'"> |
232 |
| - <None Include="$(SolutionDir)\common\ApplicationInfo_Local.cs-example" Condition="!Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')"> |
233 |
| - <Link>Properties\ApplicationInfo_Local.cs-example</Link> |
234 |
| - </None> |
235 |
| - <Compile Include="$(SolutionDir)\common\ApplicationInfo_Local.cs" Condition="Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')"> |
236 |
| - <Link>Properties\ApplicationInfo_Local.cs</Link> |
237 |
| - </Compile> |
238 |
| - </ItemGroup> |
239 |
| - <ItemGroup Condition="$(Buildtype) == 'Internal'"> |
240 |
| - <Compile Include="$(SolutionDir)\script\src\MetricsService.cs"> |
241 |
| - <Link>Metrics\MetricsService.cs</Link> |
242 |
| - </Compile> |
243 |
| - <Compile Include="$(SolutionDir)\script\src\ApplicationInfo_Local.cs"> |
244 |
| - <Link>Properties\ApplicationInfo_Local.cs</Link> |
245 |
| - </Compile> |
246 |
| - </ItemGroup> |
247 | 223 | <Choose>
|
248 |
| - <When Condition="$(SolutionType) == 'Internal'"> |
| 224 | + <When Condition="$(Buildtype) == 'Internal'"> |
249 | 225 | <ItemGroup>
|
250 |
| - <ProjectReference Include="$(SolutionDir)..\dotnet-httpclient35\System.Net.Http\System.Net.Http-net_3_5.csproj"> |
251 |
| - <Project>{9862694d-e4fa-418b-8692-a0280feddf36}</Project> |
252 |
| - <Name>System.Net.Http-net_3_5</Name> |
253 |
| - </ProjectReference> |
254 |
| - <ProjectReference Include="$(SolutionDir)..\octokit.net\Octokit-Extensions35\Octokit-Extensions35.csproj"> |
255 |
| - <Project>{eb4b074e-62a7-4f1d-8f95-e64b7aea0236}</Project> |
256 |
| - <Name>Octokit-Extensions35</Name> |
257 |
| - </ProjectReference> |
258 |
| - <ProjectReference Include="$(SolutionDir)..\octokit.net\Octokit\Octokit-35.csproj"> |
259 |
| - <Project>{49ef16a2-5ed1-480f-80a1-d1d05d6c1be4}</Project> |
260 |
| - <Name>Octokit-35</Name> |
261 |
| - </ProjectReference> |
| 226 | + <Compile Include="$(SolutionDir)\script\src\MetricsService.cs"> |
| 227 | + <Link>Metrics\MetricsService.cs</Link> |
| 228 | + </Compile> |
| 229 | + <Compile Include="$(SolutionDir)\script\src\ApplicationInfo_Local.cs"> |
| 230 | + <Link>Properties\ApplicationInfo_Local.cs</Link> |
| 231 | + </Compile> |
262 | 232 | </ItemGroup>
|
263 | 233 | </When>
|
264 | 234 | <Otherwise>
|
265 | 235 | <ItemGroup>
|
266 |
| - <Reference Include="Octokit"> |
267 |
| - <HintPath>$(SolutionDir)lib\octokit.net\Octokit.dll</HintPath> |
268 |
| - </Reference> |
269 |
| - <Reference Include="Octokit-Extensions35"> |
270 |
| - <HintPath>$(SolutionDir)lib\octokit.net\Octokit-Extensions35.dll</HintPath> |
271 |
| - </Reference> |
272 |
| - <Reference Include="System.Net.Http"> |
273 |
| - <HintPath>$(SolutionDir)lib\system.net.http_35\System.Net.Http.dll</HintPath> |
274 |
| - </Reference> |
| 236 | + <None Include="$(SolutionDir)\common\ApplicationInfo_Local.cs-example" Condition="!Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')"> |
| 237 | + <Link>Properties\ApplicationInfo_Local.cs-example</Link> |
| 238 | + </None> |
| 239 | + <Compile Include="$(SolutionDir)\common\ApplicationInfo_Local.cs" Condition="Exists('$(SolutionDir)\common\ApplicationInfo_Local.cs')"> |
| 240 | + <Link>Properties\ApplicationInfo_Local.cs</Link> |
| 241 | + </Compile> |
275 | 242 | </ItemGroup>
|
276 | 243 | </Otherwise>
|
277 | 244 | </Choose>
|
|
0 commit comments