Describe the bug
https://learn.microsoft.com/en-us/visualstudio/msbuild/common-msbuild-project-properties?view=vs-2022 states:
Setting -p:DebugSymbols=false on the command line disables generation of program database (.pdb) symbol files.
This does not match .NET 8 SDK behavior.
-p:DebugType=None is the actual property that can be used to disable the .pdb symbol generation.
DebugSymbols property should be either documented as obsolete and no longer supported with DebugType as recommended replacement; or the behavior DebugSymbols property should be fixed to match the documentation.
To Reproduce
dotnet new console
dotnet build -p:DebugSymbols=false
dir /s *.pdb
Actual result: .pdb file is generated
Expected result: No .pdb file is generated
Further technical details
.NET SDK 8.0.205