Detailed Description
Use git tags during build in pipeline to set <Version> of the binary in order when navigating to Source Link/decompiled source in Visual Studio it shows the version of the package.

Context
It's just helpful what exact version of a package is used in other projects referencing this one.
Possible Implementation
- name: "Build Solution"
run: dotnet build
--no-restore
--configuration "Release"
--version-suffix ${GITHUB_REF_NAME#v}
Your Environment
- Version used: Visual Studio v18.2.1
- Operating System and version (desktop or mobile): Windows