关于发布我的exe文件 [英] Regarding publishing of my exe file

查看:84
本文介绍了关于发布我的exe文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图发布点灰色相机的代码。我已经为示例程序编写了一个单独的点灰色相机代码Flycap2SimpleGUI_CSharp,但无法发布代码并收到以下错误

trying to publish the code of point grey camera. I have written a separate code for point grey camera from the sample program given"Flycap2SimpleGUI_CSharp" but unable to publish the code and getting following error

PLATFORM VERSION INFO
	Windows 			: 10.0.10586.0 (Win32NT)
	Common Language Runtime 	: 4.0.30319.42000
	System.Deployment.dll 		: 4.6.1038.0 built by: NETFXREL2
	clr.dll 			: 4.6.1038.0 built by: NETFXREL2
	dfdll.dll 			: 4.6.1038.0 built by: NETFXREL2
	dfshim.dll 			: 10.0.10586.0 (th2_release.151029-1700)

SOURCES
	Deployment url			: file:///C:/Users/ITREAT/Desktop/flycap%20EXTERNALTRIGGER/trial/bin/x64/Debug/trial.application
	Application url			: file:///C:/Users/ITREAT/Desktop/flycap%20EXTERNALTRIGGER/trial/bin/x64/Debug/trial.exe.manifest

IDENTITIES
	Deployment Identity		: trial.application, Version=1.0.0.1, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=amd64
	Application Identity		: trial.exe, Version=1.0.0.1, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=amd64, type=win32

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\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.application resulted in exception. Following failure messages were detected:
		+ Downloading file:///C:/Users/ITREAT/Desktop/flycap EXTERNALTRIGGER/trial/bin/x64/Debug/trial.exe.config.deploy did not succeed.
		+ Could not find file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.
		+ Could not find file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.
		+ Could not find file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.

WARNINGS
	* The manifest for this application does not have a signature. Signature validation will be ignored.
	* The manifest for this application does not have a signature. Signature validation will be ignored.

OPERATION PROGRESS STATUS
	* [12/24/2016 11:58:14 AM] : Activation of C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.application has started.
	* [12/24/2016 11:58:14 AM] : Processing of deployment manifest has successfully completed.
	* [12/24/2016 11:58:14 AM] : Installation of the application has started.
	* [12/24/2016 11:58:14 AM] : Processing of application manifest has successfully completed.
	* [12/24/2016 11:58:19 AM] : Found compatible runtime version 4.0.30319.
	* [12/24/2016 11:58:19 AM] : Request of trust and detection of platform is complete.

ERROR DETAILS
	Following errors were detected during this operation.
	* [12/24/2016 11:58:19 AM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
		- Downloading file:///C:/Users/ITREAT/Desktop/flycap EXTERNALTRIGGER/trial/bin/x64/Debug/trial.exe.config.deploy 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.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
			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 file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.
		- Source: System
		- Stack trace:
			at System.Net.FileWebRequest.EndGetResponse(IAsyncResult asyncResult)
			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
		--- Inner Exception ---
		System.Net.WebException
		- Could not find file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.
		- 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 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.
		- 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.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.





如何发布代码或是否有替代代码



我尝试了什么:



我已经编写了C:\Program Files \ Point Grey中给出的示例程序代码Research\FlyCapture2\src\FlyCapture2Simple GUI_CSharp



how can I publish the code or is there any alternative code

What I have tried:

I have written a code from the sample program given in "C:\Program Files\Point Grey Research\FlyCapture2\src\FlyCapture2SimpleGUI_CSharp"

推荐答案

查看错误消息:

Look at the error messages:
Could not find file 'C:\Users\ITREAT\Desktop\flycap EXTERNALTRIGGER\trial\bin\x64\Debug\trial.exe.config.deploy'.



如果它无法找到文件,那么你需要看看为什么不。

它们可能不是你告诉他们的地方,可能是权限问题,可能是你还没有安装它们。



但路径本身让我担心:如果你的应用程序希望在我的桌面上找到它,它总会受到惊吓 - 我不会存储数据文件我的桌面,只有有限数量的应用程序和/或文件夹的快捷方式。一个试图保存数据的应用程序将很快卸载并且我希望我的钱能够回归,因为开发团队显然没有编写代码...


If it can't find files, then you need to look at why not.
It may be they aren't where you have told them they are, it may be a permissions problem, it may be that you haven't installed them.

But the path itself worries me: if your app expects to find is for on my desktop it's always going to get a shock - I don't store data files on my desktop, only a limited number of shortcuts to applications and / or folders. An app that tried to keep data there would be uninstalled very quickly and I'd want my money back as the development team is clearly not writing will behaving code...


这篇关于关于发布我的exe文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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