Solved

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

Posted on 2010-11-15
5
615 Views
Last Modified: 2013-12-17
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
Comment
Question by:jasonstreet
  • 2
  • 2
5 Comments
 
LVL 3

Accepted Solution

by:
nhenny2009 earned 400 total points
ID: 34137311
Sounds like you added this info to the deployment manifest and not the app.manifest
0
 
LVL 32

Assisted Solution

by:Erick37
Erick37 earned 100 total points
ID: 34137367
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
 

Author Comment

by:jasonstreet
ID: 34137374
Ok...I'm assuming that I'll find the deployment manifest in the application folder...
0
 
LVL 3

Expert Comment

by:nhenny2009
ID: 34137395
mind attaching the deployment error log?
0
 

Author Comment

by:jasonstreet
ID: 34137460
Erick,
I started there, but went on to the actual MSDN page

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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

All of the resources available today make learning a new digital media easier than ever-- if you know where to begin. This is a clear, simple guide to a few of the basic digital art mediums and how to begin learning them on your own.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
This video demonstrates basic masking and how to edit the mask to reveal the desired image.
This video demonstrates how to use each tool, their shortcuts, where and when to use them, and how to use the keyboard to improve workflow.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question