Skip to content

FEATURE: Use release tags during build to show binary version when navigating through Source Link/decompiled source #6

@blelkes-ob

Description

@blelkes-ob

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.
Image

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

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions