Click here to Skip to main content
15,887,968 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
C#
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.


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"
Posted
Updated 23-Dec-16 20:24pm

1 solution

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...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900