S
S
strelkovandreyv2019-08-14 08:21:41
Continuous Integration
strelkovandreyv, 2019-08-14 08:21:41

How to correctly change the Assemblyinfo version of a ClickOnce application when building in GitLab CI/CD?

Good afternoon, please tell me how to do it right and how to do it right?
There is a corporate network where ClickOnce applications are used, the assembly and delivery of applications is completely done
on GitLab.
For ClickOnce applications, in order for it to be updated by the user when accessed, it turns out that with each new assembly, you need to change the version in AssemblyInfo. To understand that a new version has been delivered, you need to update it with the client.
The question is how to do it right? And is it correct that in the GitLab build script you need to edit this file (for example, using Powershell) and change the version due to a variable, for example, the Gitlab build number (for example, ci_pipeline_id) (this is at least our current version)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
aol-nnov, 2019-08-15
@aol-nnov

change the version due to a variable, for example, the gitlab build number

just that! and what's the trouble?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question