dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
21.01k stars 4.91k forks source link

.NET 8.0 RC1 #8759

Closed rbhanda closed 1 year ago

rbhanda commented 1 year ago

Release Notes


.NET SDK 8.0.100-rc.1.23463.5 - September 14 2023

Today, we are releasing a new version of .NET SDK. This release suprecedes the .NET SDK 8.0.100-rc.1.23455.8 version. The .NET SDK 8.0.100-rc.1.23463.5 is available in Visual Studio 17.8 Preview 1.

This resolves an issue where the .NET SDK 8.0.100-rc.1.23455.8 did not recognize a new certificate in MAUI optional workload. This caused the workload install to fail when using the .NET CLI. Customers would see an error even though the package was correctly signed.

Failed to update the advertising manifest microsoft.net.sdk.maui: Failed to validate package signing.
Verifying Microsoft.NET.Sdk.Maui.Manifest-8.0.100-rc.1.Msi.x64.8.0.0-rc.1.9171

Please report any issues you find with .NET 8 RC 1, either responding to this issue, creating a new issue or creating a new issue in one of the following repos:

Known Issues

If there are any issues with this release we will track them here and check issues off as they're resolved. See the linked issues for details on progress and resolution details.

gordysc commented 1 year ago

FYI I think you want this link for the RC1 announcement: https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-rc1/

nZeus commented 1 year ago

May I ask why you released a 8.0 tag for Docker images? The version is still in preview, it is now confusing people as it seems like a final version. Also, renovate bot tries to upgrade our docker files:

image

May I ask if it is possible to deregister the 8.0 tag (and 8.0-alpine, etc.)?

image
amerkoleci commented 1 year ago

After updating to latest net8.0 RC I'm getting issue with Unsafe.AsRef call: Argument 1 must be passed with the 'ref' keyword

Example code: static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_IUnknown))

What changed in Unsafe class part?

KubaGluszkiewicz commented 1 year ago

After changing from DotNet 7 to DotNet 8 RC1 for webassembly browser project (not blazor), we are unable to run our application on Tizen (Samsung) and WebOS (LG) devices. Those devices are serving host environment based on Chromium. usually those are older versions like 85, WebAssembly portability is crucial feature for us, as we can ship our application to the users on wide range of systems.

After migrating to DotNet 8 RC1 we are not able to instantinate dotnet runtime at all, we are getting bunch of errors just at the begining of creating dotnet runtime like this:

logging.ts:32 MONO_WASM: TypeError: Cannot read property 'mono_wasm_abort' of undefined
    at Object.Module._mono_wasm_abort [as mono_wasm_abort] (http://127.0.0.1:9000/_framework/dotnet.native.js:8:127389)
    at Object.Ll.l.abort (http://127.0.0.1:9000/_framework/dotnet.runtime.js:3:214656)
    at w (http://127.0.0.1:9000/_framework/dotnet.runtime.js:3:1229)
    at http://127.0.0.1:9000/_framework/dotnet.runtime.js:3:201358
    at async http://127.0.0.1:9000/_framework/dotnet.runtime.js:3:201217

do you have plans to maintain high compatibility for wasm projects in DotNet 8 or it's designed to work only with newest modern browsers?

lbussell commented 1 year ago

@nZeus May I ask why you released a 8.0 tag for Docker images? The version is still in preview, it is now confusing people as it seems like a final version.

.NET 8 RC1 is supported in production per https://github.com/dotnet/core/blob/main/release-policies.md#support-phases. Please also see the Preview Images section in "What's new in .NET 8" as well as https://github.com/dotnet/dotnet-docker/issues/4772.

nZeus commented 1 year ago

Thank you for the links. IMHO, it could be supported in Production as RC tags, there was no need to release 8.0. Current approach brings confusion to many people. But thank you anyways

richlander commented 1 year ago

We previously published the stable tag (for all releases before .NET 8) starting with preview 1. That was, in retrospect, the wrong approach. We want to help people get ready for GA day. We believe that flushing the -preview tag out of the system well before that day is the best approach and that's what we're doing with the 8.0 tag in the RC releases. It's a tradeoff, but we think a good one.

melotic commented 1 year ago

There is no .NET 8 ASP.NET Runtime RC Package for Microsoft.AspNetCore.App.Runtime.win-arm : https://www.nuget.org/packages/Microsoft.AspNetCore.App.Runtime.win-arm/#versions-body-tab

Is this intended?

babenkovitaliy commented 1 year ago

After I installed this version, I cannot compile applications anymore on MacOS. A project that was previously built cannot be built anymore.

To be more specific, I click on the Rebuild Solution and it processes everything. But when I click on the "Run" button, I get a "The application has not been built" error.

Current specs:

.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/8.0.100-rc.1.23463.5/Sdks
SDK Versions:
    8.0.100-rc.1.23463.5
    8.0.100-preview.7.23376.3
    7.0.308
    7.0.307
    7.0.306
    7.0.304
    7.0.302
    7.0.203
    7.0.102
    6.0.414
    6.0.413
    6.0.412
    6.0.410
    6.0.408
    6.0.405
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks

When I try to compile .NET 7.0 application, it does that normally.

babenkovitaliy commented 1 year ago

Update. Confirmed that it was the new .NET 8.0 RC SDK causing the problems. I followed the instructions on this page and manually removed just the SDK (I didn't remove any runtimes) and suddenly applications built on .NET 8.0 are now compiling and running successfully.

rbhanda commented 1 year ago

closing in favor of https://github.com/dotnet/core/issues/8828