Solved

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

Posted on 2010-11-23
5
1,101 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

705 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

19 Experts available now in Live!

Get 1:1 Help Now