You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
PlatformSpecificAnalyzer does not suggest any fixes #3282
I am not able to get any suggestions from Platform Specific analyzer. My app targeting 18362 uses ThemeShadow, which is not available in earlier versions. My min version is set to 16299, but Analyzer does not show any suggestions that the code will not actually work there. Is there some step I am missing (except for installing the analyzer NuGet package?)
Visual Studio version info is listed below.
Steps to Reproduce
Steps to reproduce the behavior:
Create UWP project targeting 18362 with min version 16299
Install analyzer NuGet package
Use ThemeShadow in code
Observe there is no suggestion to make code version adaptive
Expected behavior
Analyzer should underline the problematic code.
NuGet Package(s):
Package Version(s):
Windows 10 Build Number:
Fall Creators Update (16299)
April 2018 Update (17134)
October 2018 Update (17763)
May 2019 Update (18362)
Insider Build (build number: )
App min and target version:
Fall Creators Update (16299)
April 2018 Update (17134)
October 2018 Update (17763)
May 2019 Update (18362)
Insider Build (xxxxx)
Device form factor:
Desktop
Xbox
Surface Hub
IoT
Visual Studio
Microsoft Visual Studio Enterprise 2019
Version 16.5.4
VisualStudio.16.Release/16.5.4+30011.22
Microsoft .NET Framework
Version 4.8.03752
Hey @MartinZikmund thanks for filing an issue, this is a known one though: #2999
When the analyzers were originally added, they were just comparing between a couple of versions, so they've been a bit harder to adapt to handling versions since apparently.
Any suggestions or input on that conversation would be most welcome, thanks!
Unfortunately going to close this issue, we just don't have the data to make the analyzers work, see #3396. Please follow-up with the need for this in the discussion on CsWinRT here.
Activity
michael-hawker commentedon May 14, 2020
Hey @MartinZikmund thanks for filing an issue, this is a known one though: #2999
When the analyzers were originally added, they were just comparing between a couple of versions, so they've been a bit harder to adapt to handling versions since apparently.
Any suggestions or input on that conversation would be most welcome, thanks!
michael-hawker commentedon Jul 22, 2020
Unfortunately going to close this issue, we just don't have the data to make the analyzers work, see #3396. Please follow-up with the need for this in the discussion on CsWinRT here.