Solved

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

Posted on 2015-01-26
2
90 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 33

Accepted Solution

by:
it_saige earned 500 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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Get size of each directory on each mapped drive 5 28
Write to file when application closes (by logoff) - VB.NET 1 31
SSRS troubles 4 46
cannot connect to sqlserver 8 25
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
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…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now