Open timker opened 5 years ago
Setting DebugType
to full
switches to Windows PDBs, which are considerably larger and limited to Windows OS. The default for project that import Microsoft.Net.Sdk is portable
.
Do you use a Azure symbol server when debugging (VS configuration in Debug > Options > Symbols)?
Yes, We are using Azure Symbol server. The PublishSymbols@2 task will upload to Azure Symbol
I've also removed full, and it's going with portable, but still only in Debug mode
As soon as I set it Configuration to Release, build and push the new package version, the project that references the package will stop asking to download source versions when debugging
So far I can get symbols working, but only when in Debug Configuration. I'm worried that performance will be reduced.
I don't think I can use .snupkg because it's not supported by Azure DevOps Artifacts, so I'm embedding the pdb in the package
so I've been emdedding the pbd
I'm also using "Index Sources & Publish Symbols" task in Azure Pipeline which looks to be working an uploading
In Debug mode the pdb generated is significantly larger than in release mode. The dll is about the same, but I'm worried that the compiler won't apply optimizations in Debug mode, so the dll performance will be degraded.