ここで私がやっていることがあります。私はシンプルで空白のWPFアプリケーションをVisual Studio 2010の下に作成しました。 ClickOnceの展開を有効にし、署名、セキュリティなどを設定し、ローカルIISインスタンスに公開します。私はブラウザを起動し、publish.htm
ページをヒットし、正しくインストールされます。「Check for Updates」が選択されている場合、ClickOnceアプリケーションが失敗します。
次に、すべてを吹き飛ばし、プロジェクトを再作成し、ClickOnceを有効にして署名するなどですが、今度は[プロパティ] - > [更新]公開ページ。 「アプリケーションはアップデートを確認する」のチェックボックスをクリックし、「アプリケーションが起動する前に」のラジオボタンを選択します。 [OK]をクリックしてローカルのIISに再度公開し、publish.htmページを表示します。 「インストール」をクリックすると、「アプリケーションをダウンロードできません。アプリケーションに必要なファイルがありません。アプリケーションベンダーに問い合わせてください。 '
唯一の参考資料は、application.manifest
ファイルに記載されているファイルが見つからないことですが、それが何であるかはわかりません。もし誰かが私にこの方向性を向けることさえできたら、それを感謝します。
これは間違いなく404 Not Foundエラーですが、どのファイルが参照されているのかわかりません。ここに「詳細」ページがあります。
PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime : 4.0.30319.1
System.Deployment.dll : 4.0.30319.1 (RTMRel.030319-0100)
clr.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfdll.dll : 4.0.30319.1 (RTMRel.030319-0100)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)
SOURCES
Deployment url : http://localhost/WpfApplication1/WpfApplication1.application
Server : Microsoft-IIS/7.5
X-Powered-By : ASP.NET
Deployment Provider url : http://jerrydev/WpfApplication1/WpfApplication1.application
ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of http://localhost/WpfApplication1/WpfApplication1.application resulted in exception. Following failure messages were detected:
+ Downloading http://jerrydev/WpfApplication1/WpfApplication1.application did not succeed.
+ The remote server returned an error: (404) Not Found.
COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.
WARNINGS
There were no warnings during this operation.
OPERATION PROGRESS STATUS
* [1/13/2011 11:05:50 AM] : Activation of http://localhost/WpfApplication1/WpfApplication1.application has started.
ERROR DETAILS
Following errors were detected during this operation.
* [1/13/2011 11:05:50 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://jerrydev/WpfApplication1/WpfApplication1.application 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.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.FollowDeploymentProviderUri(SubscriptionStore subStore, AssemblyManifest& deployment, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
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
- The remote server returned an error: (404) Not Found.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.