.NET: Microsoft Technologies based on the .NET software framework. Runtime: An environment required to run apps that aren't compiled to machine language.
Hi @Nagarajan Dhanapal ,
Please check this Microsoft Learn guidance: Deploy ClickOnce apps without re-signing - Visual Studio (Windows).
ClickOnce can support deploying the same signed application from multiple network locations without re-signing or changing the manifests, by excluding the deploymentProvider from the deployment manifest.
However, there are some limitations:
- This is mainly for application updates, not the first installation.
- It only works when there is one application configuration on the machine.
- If the manifest or signed package is changed after publishing, it must be re-signed, so the checksum will change.
So if the UAT/Production URL must be embedded in the ClickOnce manifest, the packages will not be identical. The better direction is to avoid putting environment-specific values inside the signed ClickOnce artifacts and have the application resolve them at runtime, such as from an external configuration endpoint.
Hope this helps clarify the supported direction. If you need any further help on this, please feel free to reach out.
If you found my response helpful or informative, I would greatly appreciate it if you could follow this guidance or provide feedback.
Thank you.