Skip to content

Update SDK to .NET 7 #2080

Closed
Closed
@adamsitnik

Description

@adamsitnik

We have a test that ensure that latest NativeAOT is supported:

public void LatestNativeAotVersionIsSupported()

Recently it got broken because we can't build a net6.0 app using .NET 7 NativeAOT bits:

 Unable to optimize assemblies for Ahead of time compilation: a valid runti
me package was not found. Either set the PublishAot property to false, or use a supported runtime identifier when publishing. When targeting .NET 7 or higher, make sure to restore packages with the PublishAot property set to true.

So as soon as .NET 7 SDK is shipped, we should just update our CI to use it.

cc @MichalStrehovsky

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions