Marco Goertz
Marco Goertz
@michael-hawker There's already a built-in analyzer for that. Isn't that working for you?
@michael-hawker Good question. I'm not sure. C# analyzers are a public extensibility point so anybody could create and analyzer with code fixes for it. I don't think the C# team...
@michael-hawker Here's what we did for XAML: We use the PreviousPlatforms.xml from the target SDK to get the ApiContracts for each SDK version and then use the minimum target version...
@hermitdave I don't quite understand what detecting min target from library means. The user determines what the min target should be for a project. The "min target" for individual types/members...
Awesome, thank you @mavasani! This will come in really handy when we start looking at improving the .NET Upgrade Assistant for Maui.
Some food for thought... If we are concerned about analyzer performance we could use this attribute to generate the additional file at build time. And for cases that cannot use...
Xamarin and MAUI never cease to surprise me on what they allow that other platforms like WPF and UWP/WinUI don't. I had no idea this was allowed to be used...
Thank you @MSLukeWest! I forgot to include that in the issue description above.
@JohanLarsson Are you asking if there is hope to be able to create an analyzer + code fixer for XAML files that could do this? If so, I'm afraid this...
I agree, that would be sweet, and it's certainly something we are thinking about.