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

Fody.ModuleInit (used in Client.WPF.Example) has been deprecated in favor of C# 9 built-in module initializers #806

Open
1 of 3 tasks
skst opened this issue Mar 27, 2024 · 1 comment

Comments

@skst
Copy link

skst commented Mar 27, 2024

IF YOU DON'T ANSWER THIS TEMPLATE - THE BOT WILL AUTOMATICALLY CLOSE YOUR ISSUE!

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

  • WPF
  • Blazor WASM
  • .NET Core

Component

What component is this issue occurring in?

Client.WPF.Example

Version of Library

2.1.1

Version of OS(s) listed above with issue

Windows 10, 11, ...

Steps to Reproduce

https://www.nuget.org/packages/ModuleInit.Fody/

"This package has been deprecated as it is legacy and is no longer maintained."

"use https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/proposals/csharp-9.0/module-initializers"

Expected Behavior

Use C# 9 module initializers instead.

Actual Behavior

@GeertvanHorrik
Copy link
Member

Thanks for reporting. We are aware but need to migrate all our components at once to solve this "problem". Since it's compile-time only and still working, we consider this low priority until we have resources available to work on this.

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