dotnet / project-system

The .NET Project System for Visual Studio
MIT License
959 stars 386 forks source link

Add solution explorer goldbar when targeting out-of-support #9349

Open timheuer opened 7 months ago

timheuer commented 7 months ago

Summary

Today we emit out-of-support warnings to the build outputs when targeting out-of-support framework versions:

Severity    Code    Description Project File    Line    Suppression State
Warning NETSDK1138  The target framework 'net5.0' is out of support and will not receive security updates in the future. Please refer to https://aka.ms/dotnet-core-support for more information about the support policy.  ConsoleApp144   C:\Program Files\dotnet\sdk\8.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.EolTargetFrameworks.targets    32  

We do not put this more boldly in the IDE experience until then. We should consider adding a solution-explorer goldbar to show the same warning: image

User Impact

More direct feedback about targeting out of support frameworks.

adamint commented 6 months ago

@mckennabarlow thoughts? I would be hesistant to make a decision like this without pm input

mckennabarlow commented 6 months ago

+1 to @timheuer's concerns about the visibility of this out-of-support warning. While I am generally mindful of "gold-bar-fatigue," this seems like an important warning to surface more boldly in the IDE.