Closed RehanSaeed closed 1 year ago
Embedded is much simpler distribution-wise than a separate snupkg - it does increase DLL size a bit but for many customers (especially smaller OSS projects) it is a more sane default (in my opinion). You can of course override it to use whatever DebugType your prefer.
The SourceLink packages don't set AllowedOutputExtensionsInPackageBuildOutputFolder
, because those packages don't express an opinion on the matter of where the PDBs should go, only what SourceLink content should be written to them.
I've followed this post a year or more ago to add source link like so:
I also use Cake build to set the
ContinuousIntegrationBuild
variable based on!BuildSystem.IsLocalBuild
.I'm trying to understand if I should switch over to
DotNet.ReproducibleBuilds
. There seem to be two differences:DebugType
toembedded
which I believe would stop generating a snupkg file. I don't currently setDebugType
, so the default must be coming fromSymbolPackageFormat
above. Why was embedded chosen as the default?AllowedOutputExtensionsInPackageBuildOutputFolder
? https://github.com/ctaggart/SourceLink/pull/291 makes it pretty unclear.