-
Notifications
You must be signed in to change notification settings - Fork 10.3k
Update to net8.0 SDK #45879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to net8.0 SDK #45879
Changes from all commits
004e098
72c71bf
5e80747
169ba9c
793aaff
93d3c46
89e27af
687c935
67b1647
b2ce0c2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"sdk": { | ||
"version": "8.0.100-alpha.1.22531.1" | ||
"version": "8.0.100-alpha.1.23055.1" | ||
}, | ||
"tools": { | ||
"dotnet": "8.0.100-alpha.1.22531.1", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Because of the new SDK, I believe we will need to update the CI pipeline to use the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just merged that PR into this one |
||
"dotnet": "8.0.100-alpha.1.23055.1", | ||
"runtimes": { | ||
"dotnet/x86": [ | ||
"$(MicrosoftNETCoreBrowserDebugHostTransportVersion)" | ||
|
@@ -27,7 +27,7 @@ | |
}, | ||
"msbuild-sdks": { | ||
"Yarn.MSBuild": "1.22.10", | ||
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.22630.1", | ||
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.22630.1" | ||
"Microsoft.DotNet.Arcade.Sdk": "8.0.0-beta.23055.3", | ||
"Microsoft.DotNet.Helix.Sdk": "8.0.0-beta.23055.3" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes here cannot work until we have an 8.0.0 SDK containing
net8.0
bits. The basic idea isRepoTasks
andGenerateFiles
aren't part of the product. They're instead used inmsbuild
(ordotnet msbuild
) and to generate the extra Directory.Build.props, Directory.Build.targets, and dotnet-tools.json files used in almost every other project in the repo.Why did this file and RepoTasks.tasks need to change in the first place❔ Note
GenerateFiles
still targetsnet5.0
and (other than the deprecated TFM warning we're suppressing somewhere) that's fine.See for example
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, that's why this is blocked on dotnet/installer#15151 as I mentioned above. It needs to change because SourceBuild breaks if it doesn't target the latest TFM (though I don't know why the same isn't true for
GenerateFiles
) - dotnet/installer#15151 (comment)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dougbu @wtgodbe, GenerateFiles.csproj doesn't need to use the latest TFM because it doesn't build during source-build:
aspnetcore/eng/tools/GenerateFiles/GenerateFiles.csproj
Line 5 in cefc6cc