-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Description
Project-level Application Settings are cool, but a Nightmare in discoverability. When I need to change values, I always have to look them up via the provided link in program.cs, because I cannot remember the exact syntax in .csproj. So, for that reason, I'd like to include them in the .csproj so they are setting their default values. Or, at least, I want them there, but commented out.
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWindowsForms>true</UseWindowsForms>
<ImplicitUsings>enable</ImplicitUsings>
<!--WinForms Application settings:-->
<ApplicationVisualStyles>true</ApplicationVisualStyles>
<ApplicationDefaultFont>Segoe UI, 9pt</ApplicationDefaultFont>
<ApplicationHighDpiMode>SystemAware</ApplicationHighDpiMode>
<ApplicationUseCompatibleTextRendering>True</ApplicationUseCompatibleTextRendering>
</PropertyGroup>
</Project>
Suggesting this for .NET 9, please comment, up- or down-vote!
paul1956, mohummedibrahim, kirsan31, elachlan, Balkoth and 2 more