Skip to content
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

Add support for running with tfm=net9.0 #3428

Merged
merged 9 commits into from
Oct 19, 2023
Merged

Conversation

radical
Copy link
Member

@radical radical commented Oct 19, 2023

  • ChannelMap: add entry for 9.0
  • nuget.config: add dotnet9 source
  • Add 9.0 versions for package references

@radical radical marked this pull request as ready for review October 19, 2023 04:56
@radical
Copy link
Member Author

radical commented Oct 19, 2023

Don't merge yet.

@radical
Copy link
Member Author

radical commented Oct 19, 2023

Related PR - dotnet/BenchmarkDotNet#2447 .

@radical
Copy link
Member Author

radical commented Oct 19, 2023

@LoopedBard3 @cincuranet could we get the latest BDN package published to the nuget feed?

error NU1102: Unable to find package BenchmarkDotNet.Diagnostics.Windows with version (>= 0.13.10-nightly.20231019.90)
error NU1102:   - Found 49 version(s) in benchmark-dotnet-prerelease [ Nearest version: 0.13.9-nightly.20230908.70 ] 

@radical radical requested a review from lewing October 19, 2023 16:34
@LoopedBard3
Copy link
Member

@radical the 0.13.10-nightly.20231019.90 version should now be available.

LoopedBard3
LoopedBard3 previously approved these changes Oct 19, 2023
Copy link
Member

@LoopedBard3 LoopedBard3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

scripts/channel_map.py Show resolved Hide resolved
NuGet.config Show resolved Hide resolved
Co-authored-by: Larry Ewing <lewing@microsoft.com>
@radical
Copy link
Member Author

radical commented Oct 19, 2023

Failure is relevant, investigating now.

@@ -3,8 +3,13 @@
class ChannelMap():
channel_map = {
'main': {
'tfm': 'net8.0',
'branch': '8.0',
'tfm': 'net9.0',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also go ahead and add all of the release/9.0* branches as well?

@radical
Copy link
Member Author

radical commented Oct 19, 2023

The blazor_scenarios fails with:
[2023/10/19 18:04:43][INFO] /datadisks/disk1/work/BA02099F/p/artifacts/packages/microsoft.net.sdk.webassembly.pack/9.0.0-alpha.1.23470.17/build/Microsoft.NET.Sdk.WebAssembly.Browser.targets(157,38): error MSB4057: The target "WasmBuildApp" does not exist in the project. [/datadisks/disk1/work/BA02099F/w/AFEA0949/e/app/BlazingPizza.Client/BlazingPizza.Client.csproj::TargetFramework=net9.0]

.. which is because the latest sdk still has a much older WorkloadManifest (note 9.0.0-alpha.1.23470.17 in the path) which is missing bunch of changes needed to support building with net9.0, thus the webassembly.sdk is not imported and we get this error.
This will have to be ignored for now, as the the flow of runtime through to installer is stuck right now. But we can validate the changes with a run on dotnet-runtime-perf.

The sdk_scenarios failures are not related, IIUC.

@radical radical closed this Oct 19, 2023
@radical radical reopened this Oct 19, 2023
@radical
Copy link
Member Author

radical commented Oct 19, 2023

A new installer is available, so I triggered a rebuild.

@radical
Copy link
Member Author

radical commented Oct 19, 2023

All the blazor_scenarios pass now with the new installer! Only unrelated failures are left.

@radical radical enabled auto-merge (squash) October 19, 2023 21:31
@LoopedBard3 LoopedBard3 merged commit 5035eb2 into dotnet:main Oct 19, 2023
28 of 32 checks passed
@radical radical deleted the net9 branch October 20, 2023 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants