GitTools/GitReleaseManager

AppVeyor build breaks on outdated .NET SDK 5

davidzwa opened this issue · 2 comments

Description

The .NET SDK used can logically not compile a newer .NET app.

C:\Program Files\dotnet\sdk\5.0.404\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.TargetFrameworkInference.targets(141,5): error NETSDK1045: The current .NET SDK does not support targeting .NET 6.0.  Either target .NET 5.0 or lower, or use a version of the .NET SDK that supports .NET 6.0. 

Expected Behavior

Compilation should succeed for the .NET 6 app.

Actual Behavior

An SDK is used that cannot compile .NET 6

Possible Fix

Increase the SDK verison

Steps to Reproduce

Does not apply

Context

i was trying to create a PR.

Your Environment

Github Actions

  • Version Used:
  • Edition Used (.NET Core, .NET Framework):
  • Operating System and version (Windows 10, Ubuntu 18.04):
  • Link to your project:
  • Link to your CI build (if appropriate):
gep13 commented

This is something that has been on my list of things to fix for a while now. I have been taking a bit of a break from things recently, but I am planning on getting back to this project, as it is becoming more important for a few projects that I am working on.

Leave this one with me, and I will aim to get it fixed up.

gep13 commented

We have "fixed" this by moving off of AppVeyor. Now all builds happen on GitHub Actions, and releases come from those builds. This makes this consistent with how other projects within this Organization are done.