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

.NET 8.0 RC1 #8759

Closed
rbhanda opened this issue Sep 12, 2023 · 11 comments
Closed

.NET 8.0 RC1 #8759

rbhanda opened this issue Sep 12, 2023 · 11 comments

Comments

@rbhanda
Copy link
Contributor

rbhanda commented Sep 12, 2023

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.

@rbhanda rbhanda pinned this issue Sep 12, 2023
@gordysc
Copy link

gordysc commented Sep 12, 2023

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

@nZeus
Copy link

nZeus commented Sep 13, 2023

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
Copy link

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
Copy link

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
Copy link
Contributor

lbussell commented Sep 13, 2023

@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 dotnet/dotnet-docker#4772.

@nZeus
Copy link

nZeus commented Sep 14, 2023

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
Copy link
Member

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
Copy link
Member

melotic commented Sep 18, 2023

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
Copy link

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:

  • MacBook Air M2, 2022
  • MacOS Ventura 13.5.2
  • Visual Studio for Mac 17.6.4
.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
Copy link

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 rbhanda unpinned this issue Oct 10, 2023
@rbhanda
Copy link
Contributor Author

rbhanda commented Oct 10, 2023

closing in favor of #8828

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants