Closed myangelkamikaze closed 1 year ago
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
4 Code Smells
0.0% Coverage
1.4% Duplication
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Replaces the old code generators with a source generator. Code wise basically nothing changes. The only difference is a lot less clutter in the csproj file.
Note that I had to rename some resource files to avoid conflicts with namespaces and other class names. I think we should name all resx files with the
Resource
suffix from now on, to avoid conflicts like this. I also deleted some old winforms code, which was causing conflicts even though it's not used anymore.Looks like there's a bug with WPF projects, where the generated files don't work. You can fix it with a workaround that throws all generated files in the same namespace.
In
ElectronicObserverTypes
it works normally, so this workaround isn't needed.