AspNetCore.Docs icon indicating copy to clipboard operation
AspNetCore.Docs copied to clipboard

Add a doc for configuring on-prem TFS to build ASP.NET Core projects

Open DamianEdwards opened this issue 10 years ago • 4 comments

DamianEdwards avatar Aug 02 '16 06:08 DamianEdwards

@DamianEdwards who's the dev contact?

Rick-Anderson avatar Aug 02 '16 17:08 Rick-Anderson

I can't get my solution to build to TFS 2015 Update 3 on-prem.

******************************************************************************
Starting task: Build solution **\*.sln
******************************************************************************
Build started 8/08/2016 1:20:35 PM.
     1>Project "D:\Build2k15Agents\Agent_01\7\s\src\Genesis.sln" on node 1 (default targets).
     1>ValidateSolutionConfiguration:
         Building solution configuration "debug|any cpu".
GETSDKTOOLINGINFO(0,0): Error : The .NET Core SDK is not installed or cannot be found. These components are required to build and run this project.

Yet if I go to the build server and run msbuild manually it works fine:

D:\Build2k15Agents\Agent_01\7\s\src>msbuild
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 8/08/2016 1:18:43 PM.
Project "D:\Build2k15Agents\Agent_01\7\s\src\Genesis.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
  Building solution configuration "Debug|Any CPU".
Project "D:\Build2k15Agents\Agent_01\7\s\src\Genesis.sln" (1) is building "D:\Build2k15Agents\Agent_01\7\s\src\[ProjectFolder]\[ProjectFile].xproj" (2) on node 1 (default targets).
CoreCompile:
  C:\Program Files\dotnet\dotnet.exe build "D:\Build2k15Agents\Agent_01\7\s\src\[ProjectFolder]" --configuration Debug --no-dependencies
  Project [Project] (.NETStandard,Version=v1.6) was previously compiled. Skipping compilation.
Done Building Project "D:\Build2k15Agents\Agent_01\7\s\src\[ProjectFolder]\[ProjectFile].xproj" (default targets).

Also, version gives:

D:\Build2k15Agents\Agent_01\7\s\src>dotnet --version
1.0.0-preview2-003121

I have just used the Visual Studio Build task without changing anything. What gives?

stephen-nba avatar Aug 08 '16 03:08 stephen-nba

@scottaddie / @DamianEdwards can we close this?

Rick-Anderson avatar Dec 04 '18 21:12 Rick-Anderson

@Rick-Anderson I vote yes. We're currently focused on Azure Pipelines scenarios with Doug's docs team.

scottaddie avatar Dec 05 '18 02:12 scottaddie