?
Solved

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

Posted on 2010-11-23
5
Medium Priority
?
1,151 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:Tom Sage
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
Mez4343 earned 750 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:Tom Sage
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 750 total points
ID: 34199859
0
 

Author Closing Comment

by:Tom Sage
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

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…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

762 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