我如何解决exe构建过程? [英] How I solve the exe builder process?

查看:57
本文介绍了我如何解决exe构建过程?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我是在c#中创建.exe文件。此创建的文件可以在我的计算机中正确安装。但是,当我将此.exe文件共享到另一台计算机时,我得到一个错误消息窗口。在消息框中,获取两个按钮确定和详细信息。当我按下详细信息按钮然后打开一个记事本并获得更多消息,如下所示

https://drive.google.com/file/d/0B_6C4ugyUhW- dlA5MzBlZVhvVXc / view?usp = sharing



PLATFORM VERSION INFO

Windows:6.1.7601.65536(Win32NT)
公共语言运行时:4.0.30319.18444

System.Deployment.dll:4.0.30319.34244建立者:FX452RTMGDR

clr.dll:4.0.30319.18444建立者:FX451RTMGDR

dfdll.dll:4.0.30319.34244建立者:FX452RTMGDR

dfshim.dll:4.0.41209.0(Main.041209-0000)



来源

部署网址:file:/// D:/iwebsource/LAS.application



错误摘要

以下是错误摘要,这些错误的详细信息将在后面的日志中列出。

*激活D:\ iwebsource \ LAS.application导致异常。检测到以下失败消息:

+下载文件:/// D:/iwebsource/LAS.application没有成功。

+找不到文件'D:\ iwebsource \ LAS.application'。

+找不到文件'D:\ iwebsource \ LAS.application'。

+找不到文件'D:\ iwebsource \ LAS.application'。



组件商店交易失败摘要

未检测到交易错误。



警告

此操作期间没有任何警告。



操作进度状态

* [16-Feb-15 12 :54:23 PM]:激活D:\ iwebsource \ LAS.application已经开始。



错误详情

关注错误在此操作中检测到​​。

* [16-Feb-15 12:54:23 PM] System.Deployment.Application.DeploymentDownloadException(Unknown subtype)

- 正在下载文件:/// D:/iwebsource/LAS.application没有成功。

- 来源: System.Deployment

- 堆栈跟踪:

在System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(NextQueueItem next)

在System.Deployment。 System.SDeployment.Application.FileDownloader.Download(SubscriptionState subState)中的
应用System.SDeployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri,String targetPath,IDownloadNotification notification,DownloadOptions options,ServerInformation& serverInformation)

在System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore子商店,Uri& sourceUri,TempFile& tempFile,SubscriptionState& subState,IDownloadNotification通知,DownloadOptions选项,ServerInformation& serverInformation)

在System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore子存储,Uri& sourceUri,TempFile& tempFile,SubscriptionState& subState,IDownloadNotification通知,DownloadOptions选项)

在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)

---内部例外---

System.Net.WebException

- 找不到文件'D:\ iwebsource \ LAS.application'。

- 来源:系统

- 堆栈跟踪:

在System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)

在System.Net.FileWebRequest.GetResponse()

在System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(NextQueueItem next)

---内部异常---

System.Net.WebException

- 找不到文件'D:\ iwebsource \ LAS.application'。

- 来源:系统

- 堆栈跟踪:

在System.Net.FileWebResponse..ctor(FileWebRequest请求,Uri uri,FileAccess访问,布尔asyncHint)

在System.Net.FileWebRequest.GetResponseCallback(对象状态)

---内部异常---

System.IO.FileNotFoundException

- 找不到文件'D:\ iwebsource \ LAS.application 。<无线电通信/>
- 来源:mscorlib

- 堆栈跟踪:

在System.IO .__ Error.WinIOError(Int32 errorCode,String maybeFullPath)
$ System.IO.FileStream.Init中的b $ b(字符串路径,FileMode模式,FileAccess访问,Int32权限,Boolean useRights,FileShare共享,Int32 bufferSize,FileOptions选项,SECURITY_ATTRIBUTES secAttrs,String msgPath,Boolean bFromProxy,Boolean useLongPath,Boolean checkHost )

在System.IO.FileStream..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享,Int32 bufferSize,FileOptions选项,字符串msgPath,布尔bFromProxy)

在System.IO.FileStream..ctor(字符串路径,FileMode模式,FileAccess访问,FileShare共享,Int32 bufferSize,布尔useAsync)

在System.Net.FileWebStream..ctor(FileWebRequest请求,字符串路径,FileMode模式,FileAccess访问,FileShare共享,Int32长度,布尔异步)

在System.Net.FileWebResponse..ctor(FileWebRequest请求,Uri u ri,FileAccess访问,布尔asyncHint)



组件商店交易详情

没有交易信息。







我如何解决这个问题。我需要将这个.exe文件安装到我所有的onthers计算机上。

谢谢。

Hello, I was create .exe file in c#. This created file can install properly in my computer. But when I share this .exe file to another computer then I got one error message window. In the message box get two buttons "Ok and Details". When I press on Details button then open one notepad and get some more message those are as following
https://drive.google.com/file/d/0B_6C4ugyUhW-dlA5MzBlZVhvVXc/view?usp=sharing

"PLATFORM VERSION INFO
Windows : 6.1.7601.65536 (Win32NT)
Common Language Runtime : 4.0.30319.18444
System.Deployment.dll : 4.0.30319.34244 built by: FX452RTMGDR
clr.dll : 4.0.30319.18444 built by: FX451RTMGDR
dfdll.dll : 4.0.30319.34244 built by: FX452RTMGDR
dfshim.dll : 4.0.41209.0 (Main.041209-0000)

SOURCES
Deployment url : file:///D:/iwebsource/LAS.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of D:\iwebsource\LAS.application resulted in exception. Following failure messages were detected:
+ Downloading file:///D:/iwebsource/LAS.application did not succeed.
+ Could not find file 'D:\iwebsource\LAS.application'.
+ Could not find file 'D:\iwebsource\LAS.application'.
+ Could not find file 'D:\iwebsource\LAS.application'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [16-Feb-15 12:54:23 PM] : Activation of D:\iwebsource\LAS.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [16-Feb-15 12:54:23 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading file:///D:/iwebsource/LAS.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.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
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
- Could not find file 'D:\iwebsource\LAS.application'.
- 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 file 'D:\iwebsource\LAS.application'.
- 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.FileNotFoundException
- Could not find file 'D:\iwebsource\LAS.application'.
- 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.
"


How I solve this problem. I need to install this .exe file to all my onthers computer.
Thank you.

推荐答案

我认为错误信息很清楚:

I think the error messages are quite clear:
+ Downloading file:///D:/iwebsource/LAS.application did not succeed.
+ Could not find file 'D:\iwebsource\LAS.application'.
+ Could not find file 'D:\iwebsource\LAS.application'.
+ Could not find file 'D:\iwebsource\LAS.application'.


这篇关于我如何解决exe构建过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆