Hi 👋🏻
I'm trying to determine the reason why we have both of these settings. The Source Link docs (for PublishRepositoryUrl) say:
(emphasis, mine)
PublishRepositoryUrl needs to be set by the project in order to publish the URL into RepositoryUrl property, which is used e.g. in the nuspec file generated for NuGet package produced by the project.
So this means that we need to provide a true setting, if we want the RepositoryUrl to get set. Hmm, okay ...
but I can just MANUALLY set the RepositoryUrl in the .csproj anyways! And these two settings are right near each other, in the .csproj (usually).
AND .. if i manually set the value for RepositoryUrl ... then this PublishRepositoryUrl doesn't do anything.
So what's the use of this setting, then?
Hi 👋🏻
I'm trying to determine the reason why we have both of these settings. The Source Link docs (for
PublishRepositoryUrl) say:(emphasis, mine)
So this means that we need to provide a
truesetting, if we want theRepositoryUrlto get set. Hmm, okay ...but I can just MANUALLY set the
RepositoryUrlin the.csprojanyways! And these two settings are right near each other, in the .csproj (usually).AND .. if i manually set the value for
RepositoryUrl... then thisPublishRepositoryUrldoesn't do anything.So what's the use of this setting, then?