how are you using the Version environment variable in your project files? how are you versioning your artifacts?
Versioned Artifacts for .NET Framework and .NET Core application(s)
Arjun Goel
0
Reputation points
Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's documentation and the command I ran was:
msbuild TestHESWebSolution.sln /p:Configuration=Release /p:DeployOnBuild=true /p:AutoParameterizationWebConfigConnectionStrings=False /p:Version=${{ github.ref_name }}
but the build/artifacts are not versioned.
Please help!