开发者

Publish ClickOnce to UNC path with alternative credentials

开发者 https://www.devze.com 2022-12-17 18:57 出处:网络
I have an application which is published using ClickOnce deployment to a fileserver, and this works fine.I now have the need to deploy this application to another one of our offices which is on a comp

I have an application which is published using ClickOnce deployment to a fileserver, and this works fine. I now have the need to deploy this application to another one of our offices which is on a completely different domain. I can connect to a UNC path, or map a network drive to the path where this needs to be deployed (using different credentials provided by the domain admin) however I cannot publish my ClickOnce to this path as it claims it is not accessible. I assume that this is due to it being published using my default windows identity which not being on the domain does not have access to this path.

开发者_开发问答

I need to publish to this path (due to the well documented issues around not being able to publish and copy auto updating ClickOnce deploys), is there any way I can specify different credentials when publishing?


Ok, in the end just ended up deploying locally, making any required changes to the manifest using MageUI and copying over

0

精彩评论

暂无评论...
验证码 换一张
取 消