简体   繁体   中英

Deploy and update .net assembly with clickonce

Want to deploy and auto-update my .net assembly. But publishing is only for winforms and wpf applications.

Found solution: create empty winforms application, add .net assembly as content, make form invisible, and deploy this app. And here will be troubles with upgrade..

Is it best solution?

You can have the ClickOnce install invoked by another application in order to check for updates. So whatever application is using the assembly can just do a process.start on the URL to the installation URL and it will do the update.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM