Closed devo1929 closed 1 year ago
I prefer tell developers always get codes via git clone
I would prefer removing the NuGet package and adding the necessary steps in the workflow.
The NuGet package is what automatically embeds the version in the assembly.
I prefer tell developers always get codes via git clone
I tend to agree. Maybe instead of making the package conditional on the existence of a .git folder, it throws a warning or even error message when the .git folder doesn't exist when attempting to build, a message that is more descriptive than just "gitversion.json not found" which a developer might not understand. We could simply say "you must clone the repo to build" or something better.
Nightly build for this pull request: