?
Solved

VB2013, Generating unsigned manifests by excluding a file from the hash...

Posted on 2015-01-26
2
Medium Priority
?
123 Views
Last Modified: 2015-08-20
The programs I develop are only used were I work and are installed by me.  I want to avoid the whole Certificate/signing hassle and one of the advantages of VS2013 is that you are suppose to be able to do that.  (According to )

The last paragraph of instructions say:

To generate unsigned manifests and exclude one or more files from the generated hash
1.On the Signing page, clear the Sign the ClickOnce manifests check box.

2.Open the Application Files dialog box and set the Hash to Exclude for the files that you want to exclude from the generated hash.

3.Publish the application.

My questions are:

What file is safe to exclude?

I thought I saw a "Hash" column, but I must have imagined it because the only column I have now on the projects "Application Files" screen are Publish Status and Download Group.  (Publish Status is the only one with an "Exclude" choice.)

Can I just create an empty text file, include it in my project, and then Exclude it on the Application Files list (even though Download Group says it is Required) - would that do the trick?

Thanks
0
Comment
Question by:sqdperu
2 Comments
 
LVL 35

Accepted Solution

by:
it_saige earned 2000 total points
ID: 40570688
The ClickOnce manifest uses the hashes of the included project files to generate the certificate.  In this case it really does not matter what you exclude.  This exclusion does not keep the file(s) from being used to generate the binary (that would not make any sense).

So to directly answer your question, yes, you can add a text file that is used for this purpose.

-saige-
0
 

Author Comment

by:sqdperu
ID: 40571141
Showing Hash column (sometimes it is not present)I looked today at the Projects \ Publish tab \ "Application Files"  (button) screen and I now have the "Hash" column back!   Any ideas on this screen what causes the "Hash" column to appear and disappear?

thanks,
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

831 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