c# - How do I correctly publish my app? -



c# - How do I correctly publish my app? -

i using visual studio create first windows desktop c# wpf app.

i @ phase want release/deploy/build it.

in visual studio express 2013 right click project , click publish, click next , leave publish location default dont know should put, next take have users install cd-rom/dvd , tell not check updates , click finish.

it create 'clickonce' application on desktop. upload web server, download it, , seek run it.

it fails.

it says:

cannot download application. application missing required files. contact application vendor assistance.

if click details more detailed info:

platform version info windows : 6.2.9200.0 (win32nt) mutual language runtime : 4.0.30319.18449 system.deployment.dll : 4.0.30319.17929 built by: fx45rtmrel clr.dll : 4.0.30319.18449 built by: fx451rtmgdr dfdll.dll : 4.0.30319.17929 built by: fx45rtmrel dfshim.dll : 4.0.41209.0 (main.041209-0000) sources deployment url : file:///c:/users/lanboy/downloads/bingo%20game.application identities deployment identity : bingo game.application, version=1.0.0.1, culture=neutral, publickeytoken=a82aa93ff33fa9be, processorarchitecture=msil application summary * installable application. error summary below summary of errors, details of these errors listed later in log. * activation of c:\users\lanboy\downloads\bingo game.application resulted in exception. next failure messages detected: + downloading file:///c:/users/lanboy/downloads/application files/bingo game_1_0_0_1/bingo game.exe.manifest did not succeed. + not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. + not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. + not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. component store transaction failure summary no transaction error detected. warnings there no warnings during operation. operation progress status * [24/06/2014 19:49:15] : activation of c:\users\lanboy\downloads\bingo game.application has started. * [24/06/2014 19:49:15] : processing of deployment manifest has completed. * [24/06/2014 19:49:15] : installation of application has started. error details next errors detected during operation. * [24/06/2014 19:49:15] system.deployment.application.deploymentdownloadexception (unknown subtype) - downloading file:///c:/users/lanboy/downloads/application files/bingo game_1_0_0_1/bingo game.exe.manifest did not succeed. - source: system.deployment - stack trace: @ system.deployment.application.systemnetdownloader.downloadsinglefile(downloadqueueitem next) @ system.deployment.application.systemnetdownloader.downloadallfiles() @ system.deployment.application.filedownloader.download(subscriptionstate substate) @ system.deployment.application.downloadmanager.downloadmanifestasrawfile(uri& sourceuri, string targetpath, idownloadnotification notification, downloadoptions options, serverinformation& serverinformation) @ system.deployment.application.downloadmanager.downloadapplicationmanifest(assemblymanifest deploymentmanifest, string targetdir, uri deploymenturi, idownloadnotification notification, downloadoptions options, uri& appsourceuri, string& appmanifestpath) @ system.deployment.application.downloadmanager.downloadapplicationmanifest(assemblymanifest deploymentmanifest, string targetdir, uri deploymenturi, uri& appsourceuri, string& appmanifestpath) @ system.deployment.application.applicationactivator.downloadapplication(subscriptionstate substate, activationdescription actdesc, int64 transactionid, tempdirectory& downloadtemp) @ system.deployment.application.applicationactivator.installapplication(subscriptionstate& substate, activationdescription actdesc) @ system.deployment.application.applicationactivator.performdeploymentactivation(uri activationuri, boolean isshortcut, string textualsubid, string deploymentproviderurlfromextension, browsersettings browsersettings, string& errorpageurl) @ system.deployment.application.applicationactivator.activatedeploymentworker(object state) --- inner exception --- system.net.webexception - not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. - source: scheme - stack trace: @ system.net.filewebrequest.endgetresponse(iasyncresult asyncresult) @ system.net.filewebrequest.getresponse() @ system.deployment.application.systemnetdownloader.downloadsinglefile(downloadqueueitem next) --- inner exception --- system.net.webexception - not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. - source: scheme - stack trace: @ system.net.filewebresponse..ctor(filewebrequest request, uri uri, fileaccess access, boolean asynchint) @ system.net.filewebrequest.getresponsecallback(object state) --- inner exception --- system.io.directorynotfoundexception - not find part of path 'c:\users\lanboy\downloads\application files\bingo game_1_0_0_1\bingo game.exe.manifest'. - source: mscorlib - stack trace: @ system.io.__error.winioerror(int32 errorcode, string maybefullpath) @ system.io.filestream.init(string path, filemode mode, fileaccess access, int32 rights, boolean userights, fileshare share, int32 buffersize, fileoptions options, security_attributes secattrs, string msgpath, boolean bfromproxy, boolean uselongpath, boolean checkhost) @ system.io.filestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, fileoptions options, string msgpath, boolean bfromproxy) @ system.io.filestream..ctor(string path, filemode mode, fileaccess access, fileshare share, int32 buffersize, boolean useasync) @ system.net.filewebstream..ctor(filewebrequest request, string path, filemode mode, fileaccess access, fileshare sharing, int32 length, boolean async) @ system.net.filewebresponse..ctor(filewebrequest request, uri uri, fileaccess access, boolean asynchint) component store transaction details no transaction info available.

what doing wrong? missing crucial step? need host manifest file on server , point it somehow?

any help appreciated.

update per comments , reply decided take files given me on publish , zip them. files in zip folder included:

bingo game.application bingo game.exe.config.deploy bingo game.exe.deploy bingo game.exe.manifest

i re upload server, download, unzip , click bingo game.application , fails same error above.

there couple of things check; firstly, seeing next directory construction when publish app (if not construction want):

bingogame application files bingo game_1_0_0_0 *.deploy bingo.game.exe.manifest bingo game_1_0_0_1 *.deploy bingo.game.exe.manifest bingo.game.application setup.exe

these files should on server you're downloading (it suspiciously manifest not).

it's of import since build, none of files have changed; if have, , don't want to, or can't rebuild, @ mage.

c# visual-studio-2013 clickonce publish

Comments

Popular posts from this blog

model view controller - MVC Rails Planning -

ruby on rails - Devise Logout Error in RoR -

html - Submenu setup with jquery and effect 'fold' -