c# - How do I publish a .NET application with OneClick publish through Visual Studio 2015? -


i've been trying research last couple of days , doesn't seem there support beginners. video tutorials find don't answer questions i'm asking.

what want:

i have application i've written .net 4.6.1 in visual studio 2015 , want distribute .exe automatically checks if there updates. seems oneclick intended do.

where i'm @ right now:

i want publish shared drive among multiple people. seems put file path in "publishing folder location" produces setup.exe, myapp.application, publish.htm, , application files. when go publish.htm there install button downloads setup.exe.

where i'm stuck:

when download setup.exe file onto local machine , try running gives error. details wasn't able find myapp.application file. seems file responsible knowing version of myapp installed on users machine can compared download location (in case shared drive) see if updates available.

what missing? misunderstand purpose of oneclick publishing? shouldn't users able visit publish.htm once .exe , .exe used launch application , updates first? appreciate insight on topic!

ps i've read on msdn documentation, isn't user friendly beginners in opinion. or maybe i'm slow : )

you understand right, when user navigates html page, downloads multiple files. .exe, .application , other supporting files.

you correct in assuming clickonce want. i've found .net dependencies particular when using click once. have make sure each machine has correct version of framework , can use htm site.

what prefer doing distributing .application file users machine , letting them run that. check updates on server every time ran , copy necessary decencies users local directory.


Comments