Installing a ClickOnce application from two different locations

前端 未结 4 659
暗喜
暗喜 2021-01-05 18:52

I have a Windows Forms application developed using C# in .NET framework 3.5, Service pack 1. The application can be published based on the development database as well as th

4条回答
  •  感情败类
    2021-01-05 19:33

    So I have finally figured out how to deploy different versions of the same application. The application manifest file was missing deploymentProvider attribute of the deployment element.

    After adding deployment provider attribute of the deployment element in the application manifest, I was able to install my app from various location. But the problem here was that it was overriding the previously installed application. For this problem, I followed this tutorial to distinguish my development application from the production application.

    Everything works great now. :)

提交回复
热议问题