C# .net core 6 Click once publish: How to set publish location programmatically

T.Zacks 3,996 Reputation points
2022-10-13T09:13:35.927+00:00

See some screen shot

250037-image.png

250081-image.png

249965-image.png

**I want to set publish location / UNC Path and Update location of click once publish programmatically from AppSettings.json file.
** suppose those location will be stored in AppSettings.json file and at the time of publish there will be something which will pick those location from config file and supply to click once publish.

please guide me how to achieve it with a sample code. thanks

Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.