현재 .NET SDK는 TFS 2015 빌드에서 .NET Core 3.0 대상 지정을 지원하지 않습니다. (The current .NET SDK does not support targeting .NET Core 3.0 on TFS 2015 build)


문제 설명

현재 .NET SDK는 TFS 2015 빌드에서 .NET Core 3.0 대상 지정을 지원하지 않습니다. (The current .NET SDK does not support targeting .NET Core 3.0 on TFS 2015 build)

기존 ASP.NET Core 2.2 웹 앱을 3.0으로 마이그레이션하고 있습니다. 3.0을 지원하기 위해 .csproj 파일과 모든 참조를 업데이트했습니다. 모든 것이 내 개발 컴퓨터에서 컴파일되지만 빌드 서버(ASP.NET Core 3.0용 SDK/런타임이 있는 TFS 2015)에서 앱을 빌드하려고 하면 이 오류가 발생합니다.

The current .NET SDK does not support targeting .NET Core 3.0. Either target .NET Core 2.2 or lower, or use a version of the .NET SDK that supports .NET Core 3.0

enter image description here

.csproj에서 ASP.NET Core 프레임워크를 올바르게 참조했습니다.

<


참조 솔루션

방법 1:

After further investigation the problem was I didn't have the correct version of MSBUILD on the build server. As ASP.NET Core 3.0 only runs on VS2019 you therefore need MSBUILD for VS2019. After installing this on the build server the problem has now been resolved.

(by DomBurfDomBurf)

참조 문서

  1. The current .NET SDK does not support targeting .NET Core 3.0 on TFS 2015 build (CC BY‑SA 2.5/3.0/4.0)

#asp.net-core #asp.net-core-3.0 #asp.net-core-2.2






관련 질문

ASP.NET 5 프로젝트용 DNX를 선택하는 방법 (How to choose DNX for ASP.NET 5 project)

ASP.NET 5 - 프로젝트의 파일 참조(csproj와 유사한 참조 누락) (ASP.NET 5 - Referencing files in projects (missing csproj-like references))

ASP.NET 5에 OData를 등록하는 방법 (How to register OData with ASP.NET 5)

Asp.net 5 - 도커 (Asp.net 5 - Docker)

ASP.NET Core MVC에서 컨트롤러별로 데이터베이스에서 정보 읽기 (Reading information from database by controller in ASP.NET Core MVC)

이 목록에 정렬 오류가 있는 이유는 무엇입니까? (Why is there a sorting error in this list?)

foreach 루프에서 모든 데이터를 반환하는 방법 (How to return all data in foreach loop)

읽기 전용 면도기 C# asp.net의 드롭다운 목록을 만드는 방법 (how to make dropdownlistfor readonly razor c# asp.net)

.net Core: C# 코드에서 매개 변수를 전달하고 Azure 데이터 팩터리 파이프라인을 실행하는 방법은 무엇입니까? (.net Core : How to pass parameters and run Azure data factory pipeline from C# Code?)

현재 .NET SDK는 TFS 2015 빌드에서 .NET Core 3.0 대상 지정을 지원하지 않습니다. (The current .NET SDK does not support targeting .NET Core 3.0 on TFS 2015 build)

HTTP 오류 500.30 - ANCM 진행 중인 시작 실패 Asp.net-Core 3.1 (HTTP Error 500.30 - ANCM In-Process Start Failure Asp.net-Core 3.1)

System.Data.SqlClient.TdsParser' 예외가 발생했습니다: System.BadImageFormatException: 잘못된 형식의 프로그램을 로드하려고 했습니다. (System.Data.SqlClient.TdsParser' threw an exception: System.BadImageFormatException: An attempt was made to load a program with an incorrect format)







코멘트