Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

.net core 3.1 pipeline failing

DerivativeTradingAcademy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 5, 2020

2 comments

DerivativeTradingAcademy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 5, 2020

/usr/share/dotnet/sdk/2.1.811/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(137,5): error NETSDK1045: The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1. [/opt/atlassian/pipelines/agent/build/OnlineDerivatives/OnlineDerivatives/OnlineDerivatives.csproj]/usr/share/dotnet/sdk/2.1.811/Sdks/Microsoft.NET.Sdk/targets/Microsoft.NET.TargetFrameworkInference.targets(137,5): error NETSDK1045: The current .NET SDK does not support targeting .NET Core 3.1. Either target .NET Core 2.1 or lower, or use a version of the .NET SDK that supports .NET Core 3.1. [/opt/atlassian/pipelines/agent/build/OnlineDerivatives/EmailService/EmailService.csproj]

Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 9, 2020

Hello,

I cannot access your repo (we can only access customer repos if there is an open support ticket from one of the repo admins). However, the relevant error message here is

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

What image are you using in your build?

Can you try using the following image and see if the issue is fixed?

image: mcr.microsoft.com/dotnet/core/sdk:3.1

Kind regards,
Theodora

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events