msbuild-modernization
Guide for modernizing and migrating MSBuild project files to SDK-style format. Only activate in MSBuild/.NET build context. USE FOR: converting legacy .csproj/.vbproj files with verbose XML to SDK-style, migrating packages.config to PackageReference, removing Properties/AssemblyInfo.cs in favor of SDK auto-generation, eliminating explicit <Compile Include=\"...\"> lists via implicit globbing, and consolidating shared settings into Directory.Build.props. Indicators of legacy projects include the ToolsVersion attribute, explicit <Import Project=\"$(MSBuildToolsPath)\"> of Microsoft.*.targets, packages.config, Properties/AssemblyInfo.cs, explicit <Compile> entries, or unusually large .csproj files (> ~50 lines for simple projects). DO NOT USE FOR: projects already in SDK-style format, non-.NET build systems (npm, Maven, CMake), or .NET Framework projects that cannot be converted to SDK-style. INVOKES: dotnet try-convert and upgrade-assistant tools.