jeffijoe / messageformat.net

ICU MessageFormat implementation for .NET.
MIT License
161 stars 23 forks source link

Fix source generator not working properly #38

Closed Frooxius closed 1 month ago

Frooxius commented 1 year ago

Source generators must use NetStandard 2.0 as per documentation (see https://learn.microsoft.com/en-us/dotnet/csharp/roslyn-sdk/source-generators-overview). Having .NET 6 and .NetStandard 2.1 included has been causing VS2022 to load the wrong version and not run the source generator properly

Simply removing them makes the library compile properly on my end.