Solved

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

Posted on 2010-11-15
5
613 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Healthcare organizations in the United States must adhere to the guidance of both the HIPAA (Health Insurance Portability and Accountability Act) and HITECH (Health Information Technology for Economic and Clinical Health Act) for securing and protec…
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.

785 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