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

Support 8.0 #1383

Closed
kfrancis opened this issue Jun 14, 2023 · 4 comments
Closed

Support 8.0 #1383

kfrancis opened this issue Jun 14, 2023 · 4 comments

Comments

@kfrancis
Copy link

Problem Statement

As .NET MAUI's generally pretty wonky to work with, we're trying to stay on the bleeding edge to take advantage of the latest fixes but that currently requires net8.0 and the latest supported from autofac is net7.0 leading to exceptions like this:

6n5u2-1686756558-112918

Desired Solution

Can there be some prelim support for the .net8.0 framework? It's due to be released in November 2023, so it would be nice to get some support there. It does look like there have been some beta releases related to .net core support historically, so this would be along the same lines.

Alternatives You've Considered

None, we can't force this to work.

Additional Context

We were looking at this blog post and see that some of the bugs stopping our production app from being that much closer might have been addressed but on trying we're not able to load the app due to autofac issues. The app works without the error in net7.0, but fails when moving to net8.0.

@tillig
Copy link
Member

tillig commented Jun 14, 2023

A general DependencyResolutionException doesn't actually tell us that adding .NET 8 support will fix anything. For all we know, you wired something up wrong in your app and adding .NET 8 wouldn't fix it. Unfortunately, due to limited time, I can't promise any sort of early builds or beta support here.

@kfrancis
Copy link
Author

True, but regardless of the issue I'm experiencing it would still be nice to be able to use autofac in .net8.0 before the release in November.

@tillig
Copy link
Member

tillig commented Jun 14, 2023

You can totally use Autofac in .NET 8, just like you can use other libraries that don't explicitly target .NET 8 in .NET 8. Each new .NET version is backwards-compatible, runtime-wise, with the previous. Libraries don't have to target every version of .NET that gets released.

@tillig
Copy link
Member

tillig commented Jul 19, 2023

Based on #1385 we may have a technical requirement to update to .NET 8 to support some new language features, which is one of the reasons we'd make such an upgrade. I'll close this issue for now since it may happen as a byproduct of needing to support new .NET 8 features.

@tillig tillig closed this as completed Jul 19, 2023
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

No branches or pull requests

2 participants