Visual Studio를 사용하여 첫 번째 Windows 바탕 화면 C# wpf app을 만듭니다.내 앱을 올바르게 게시하려면 어떻게해야합니까?
나는 배포/배포/구축하고 싶은 단계에 있습니다.
Visual Studio Express 2013에서 프로젝트를 마우스 오른쪽 단추로 클릭하고 게시를 클릭 한 후 다음을 클릭하고 게시 위치 기본값을 그대로두면 사용자는 CD-ROM/DVD 및 업데이 트를 확인하고 마침을 클릭하지 말라고.
그런 다음 내 데스크톱에 'clickonce'응용 프로그램을 만듭니다. 그래서 웹 서버에 업로드하여 다운로드하고 실행 해 봅니다.
실패합니다.
은 말한다 : 내가 잘못 뭐하는 거지
PLATFORM VERSION INFO
Windows : 6.2.9200.0 (Win32NT)
Common 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 is a summary of the errors, details of these errors are listed later in the log.
* Activation of C:\Users\Lanboy\Downloads\Bingo Game.application resulted in exception. Following failure messages were detected:
+ Downloading file:///C:/Users/Lanboy/Downloads/Application Files/Bingo Game_1_0_0_1/Bingo Game.exe.manifest did not succeed.
+ Could not find a part of the path 'C:\Users\Lanboy\Downloads\Application Files\Bingo Game_1_0_0_1\Bingo Game.exe.manifest'.
+ Could not find a part of the path 'C:\Users\Lanboy\Downloads\Application Files\Bingo Game_1_0_0_1\Bingo Game.exe.manifest'.
+ Could not find a part of the 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 was detected.
WARNINGS
There were no warnings during this 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 successfully completed.
* [24/06/2014 19:49:15] : Installation of the application has started.
ERROR DETAILS
Following errors were detected during this 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:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, IDownloadNotification notification, DownloadOptions options, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.DownloadManager.DownloadApplicationManifest(AssemblyManifest deploymentManifest, String targetDir, Uri deploymentUri, Uri& appSourceUri, String& appManifestPath)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Users\Lanboy\Downloads\Application Files\Bingo Game_1_0_0_1\Bingo Game.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.FileWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
--- Inner Exception ---
System.Net.WebException
- Could not find a part of the path 'C:\Users\Lanboy\Downloads\Application Files\Bingo Game_1_0_0_1\Bingo Game.exe.manifest'.
- Source: System
- Stack trace:
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
at System.Net.FileWebRequest.GetResponseCallback(Object state)
--- Inner Exception ---
System.IO.DirectoryNotFoundException
- Could not find a part of the path 'C:\Users\Lanboy\Downloads\Application Files\Bingo Game_1_0_0_1\Bingo Game.exe.manifest'.
- Source: mscorlib
- Stack trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at 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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync)
at System.Net.FileWebStream..ctor(FileWebRequest request, String path, FileMode mode, FileAccess access, FileShare sharing, Int32 length, Boolean async)
at System.Net.FileWebResponse..ctor(FileWebRequest request, Uri uri, FileAccess access, Boolean asyncHint)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
:
Cannot download the application. The application is missing required files. Contact application vendor for assistance.
내가 더 자세한 정보를 얻을 세부 사항을 클릭하면? 중요한 단계가 빠졌습니까? 내 서버에 매니페스트 파일을 호스팅하고 어떻게해야합니까?
도움을 주시면 대단히 감사하겠습니다.
업데이트 덧글과 답에 따라 나는 주어진 파일을 모두 게시하고 압축하여 결정했습니다. 압축 폴더에있는 파일 포함 :
Bingo Game.application
Bingo Game.exe.config.deploy
Bingo Game.exe.deploy
Bingo Game.exe.manifest
난 후 압축을 풀고 빙고 Game.application을 클릭, 서버, 다운로드에 업로드를 다시하고 상기와 정확히 같은 오류와 함께 실패합니다.
본 적이 있습니까? http://stackoverflow.com/questions/24347722/publish-windows-app-to-be-emailed/24347981#24347981 –
업로드 한 파일과 다운로드 한 파일에 대한 정보를 추가 할 수 있습니까? – Herdo
답변 한 사람들에게. 내가 가지고있는 것/havent을 업로드하고, 서버에 명시하는 등의 혼란이있는 것 같다. 가능한 한 많은 세부 사항을 넣으려고했지만 위에 나와있는 단계를 벗어난 일은하지 않았다. 감사합니다 – RSM