Member 12210939 Ответов: 1

Что касается публикации моего exe файла


пытаюсь опубликовать код point grey camera. Я написал отдельный код для point grey camera из примера программы "Flycap2SimpleGUI_CSharp", но не смог опубликовать код и получил следующую ошибку
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 файлы\Point Grey Research\FlyCapture2\src\FlyCapture2SimpleGUI_CSharp"

1 Ответов

Рейтинг:
0

OriginalGriff

Посмотрите на сообщения об ошибках:

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

Если он не может найти файлы, то вам нужно посмотреть, почему нет.
Может быть, они находятся не там, где вы им сказали, может быть, это проблема с разрешениями, может быть, вы их не установили.

Но сам путь меня беспокоит: если ваше приложение ожидает найти is for На моем рабочем столе, оно всегда будет шокировано - я не храню файлы данных на своем рабочем столе, только ограниченное количество ярлыков для приложений и / или папок. Приложение, которое пыталось сохранить там данные, было бы удалено очень быстро, и я хотел бы вернуть свои деньги, так как команда разработчиков явно не пишет код will behaving...