Solved

ClickOnce - How to deploy with no strong name for some DLLs?

Posted on 2010-11-23
5
1,126 Views
Last Modified: 2012-05-10
VS 2010 VB.NET project targeted to .NET 4.0
I have some 3rd party DLLs that are not strong named.  I am only using on intranet.
How can I use ClickOnce with some DLLs that are not strong named?

Thank you
0
Comment
Question by:MisterT25
  • 2
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
Mez4343 earned 250 total points
ID: 34199570
From what I understand, you only need to strong name your assembly and not all componenets within. The idea being the clickonce install will notify the Client of the publisher of the installation and not of every company that makes up the assembly.

What error are you getting and what Signing are you using?

You should be able to Create a Test Certificate on the Signing page of Project Properties and install the clickonce on a client.
0
 

Author Comment

by:MisterT25
ID: 34199604
Hi Mez4343,

I am getting this error in the VS Build:

Referenced assembly something.dll does not have a strong name.

This is a 3rd party dll.  I do not have the source code.

Thanks
0
 
LVL 83

Assisted Solution

by:CodeCruiser
CodeCruiser earned 250 total points
ID: 34199859
0
 

Author Closing Comment

by:MisterT25
ID: 34200049
Thanks to both of you for your suggestions.

I do not want to have to disassemble a DLL to make this work.

This is just part of the frustration dealing with ClickOnce.  It is a great idea, and if it was designed so it was not so complicated, it probably would be used by more programmers.

IMHO Clickonce is not a robust solution that one can depend upon.
0
 
LVL 10

Expert Comment

by:Mez4343
ID: 34201315
Yea, I struggled with ClickOnce in VS2005 a while ago. I bought this book and it helped alot.

http://www.amazon.com/Smart-Client-Deployment-ClickOnce-Applications/dp/0321197690

Its actually a really nice deployment architecture. Just not very devleoper friendly yet.

Good luck
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

735 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