Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 625
  • Last Modified:

File associations are not allowed in deployment manifest. error when deploying via ClickOnce

Ok all...

When deploying a clickonce app using vs2008 over the .net 3.5 framework, I have added the following xml to the app manifest

(??? are used as representations, not the actual letters I use)

<fileAssociation xmlns="urn:schemas-microsoft-com:clickonce.v1"
   extension = ".???"
   description = "??? Document"
   progid = "???.Document"
   defaultIcon="???.ico"
/>

as described in the MSDN.

When I attempt to deploy the app on a test machine the following error occurs during install:

"Cannot Continue, the Application is Improperly Formatted.  Contact the application vendor for assistance."

reading through the details in the log we find:
File associations are not allowed in deployment manifest.


I should add that this is a full trust application, and we are currently using a test certificate.

According to MSDN this should be working.  Any idea why it is not?
   
0
jasonstreet
Asked:
jasonstreet
  • 2
  • 2
2 Solutions
 
nhenny2009Commented:
Sounds like you added this info to the deployment manifest and not the app.manifest
0
 
Erick37Commented:
Is this how you added the association?

How To: Add File Associations to a ClickOnce Application
http://blogs.msdn.com/b/mwade/archive/2008/01/30/how-to-add-file-associations-to-a-clickonce-application.aspx
0
 
jasonstreetAuthor Commented:
Ok...I'm assuming that I'll find the deployment manifest in the application folder...
0
 
nhenny2009Commented:
mind attaching the deployment error log?
0
 
jasonstreetAuthor Commented:
Erick,
I started there, but went on to the actual MSDN page

http://msdn.microsoft.com/en-us/library/bb882599.aspx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now