-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Notes for .NET 5 / .NET 6 #2324
Comments
How much effort is it needed? |
See #2323 - this PR lays the groundwork with the exception of what Siegfried mentioned in this issue (we have a prototype, it is rather simple). The reason for not moving to multi-tfm is that (a) our unit tests target netcore31, (b) the wapproj doesn't like multi-tfm. Not because this issue is hard. |
…time ago. What doesn't work: ILCompiler.Reflection.ReadyToRun.dll is not copied to the output folder (?) VS doesn't remember the last target framework from the previous session (maybe that include trick is tripping it up?) global.json is getting in the way with major (if you have 3.1 on the machine, it will lock to that and net5 projects won't load) Trying it out: copy multitargeting.props.template to multitargeting.props
Once we have moved to .NET 5 or 6, we could adapt our deployment strategy to produce a framework-dependent binary release, which is then zipped (like today). |
* Work on #2324 with code written for a PoC with Siegfried Pammer some time ago. Trying it out: copy multitargeting.props.template to multitargeting.props * Copy all files to the output folder (otherwise NuGet assemblies aren't there for net5.0 which is nasty for debugging, and publish doesn't pick them up either)
Before we are ready to move to .NET 5 / 6, we must change the way plugins are loaded:
AssemblyLoadContext.Default
instead of plainAssembly.Load
AssemblyLoadContext.Resolving
handlerThe text was updated successfully, but these errors were encountered: