In .NET 7, I do:
dotnet publish --self-contained --configuration Release --runtime win7-x64 --output myapp
How do I prevent .pdb
files in the result? Ideally, just using the CLI?
Are there any additional steps I can take to decrease the result size?