473,395 Members | 1,692 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Signing problem

I'm trying to build my application with a strong name, but I get this
errors:
error CS1577: Assembly generation failed -- Referenced assembly
'AxInterop.SHDocVw' does not have a strong name

error CS1577: Assembly generation failed -- Referenced assembly
'SgmlReaderDll' does not have a strong name

I've no control over either one of them, how do I get this, or do I've to
resign myself to no strong names?
Jul 21 '05 #1
6 4065
If one of your assemblies in signed, all of the other assemblies that you
use should be singed too. So I think the only solution is to sign the other
assemblies as well (if that is possible).
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#Q*************@tk2msftngp13.phx.gbl...
I'm trying to build my application with a strong name, but I get this
errors:
error CS1577: Assembly generation failed -- Referenced assembly
'AxInterop.SHDocVw' does not have a strong name

error CS1577: Assembly generation failed -- Referenced assembly
'SgmlReaderDll' does not have a strong name

I've no control over either one of them, how do I get this, or do I've to
resign myself to no strong names?

Jul 21 '05 #2
The problem is that they are not my assemblies, they are 3rd party ones.

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:u$*************@tk2msftngp13.phx.gbl...
If one of your assemblies in signed, all of the other assemblies that you
use should be singed too. So I think the only solution is to sign the other assemblies as well (if that is possible).
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#Q*************@tk2msftngp13.phx.gbl...
I'm trying to build my application with a strong name, but I get this
errors:
error CS1577: Assembly generation failed -- Referenced assembly
'AxInterop.SHDocVw' does not have a strong name

error CS1577: Assembly generation failed -- Referenced assembly
'SgmlReaderDll' does not have a strong name

I've no control over either one of them, how do I get this, or do I've to resign myself to no strong names?


Jul 21 '05 #3
Are the components that you are using ActiveX/COM Components, or are they
real .NET Assemblies? Because that last ones, you can sign; see this
article:
http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpcongeneratingprimaryinteropassemblies.asp
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#y**************@TK2MSFTNGP12.phx.gbl...
The problem is that they are not my assemblies, they are 3rd party ones.

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:u$*************@tk2msftngp13.phx.gbl...
If one of your assemblies in signed, all of the other assemblies that you
use should be singed too. So I think the only solution is to sign the

other
assemblies as well (if that is possible).
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#Q*************@tk2msftngp13.phx.gbl...
I'm trying to build my application with a strong name, but I get this
errors:
error CS1577: Assembly generation failed -- Referenced assembly
'AxInterop.SHDocVw' does not have a strong name

error CS1577: Assembly generation failed -- Referenced assembly
'SgmlReaderDll' does not have a strong name

I've no control over either one of them, how do I get this, or do I've

to resign myself to no strong names?



Jul 21 '05 #4
IExploerer component :-(

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:Oi**************@tk2msftngp13.phx.gbl...
Are the components that you are using ActiveX/COM Components, or are they
real .NET Assemblies? Because that last ones, you can sign; see this
article:
http://msdn.microsoft.com/library/de...us/cpguide/htm l/cpcongeneratingprimaryinteropassemblies.asp
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#y**************@TK2MSFTNGP12.phx.gbl...
The problem is that they are not my assemblies, they are 3rd party ones.

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:u$*************@tk2msftngp13.phx.gbl...
If one of your assemblies in signed, all of the other assemblies that you use should be singed too. So I think the only solution is to sign the

other
assemblies as well (if that is possible).
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#Q*************@tk2msftngp13.phx.gbl...
> I'm trying to build my application with a strong name, but I get this > errors:
> error CS1577: Assembly generation failed -- Referenced assembly
> 'AxInterop.SHDocVw' does not have a strong name
>
> error CS1577: Assembly generation failed -- Referenced assembly
> 'SgmlReaderDll' does not have a strong name
>
> I've no control over either one of them, how do I get this, or do
I've to
> resign myself to no strong names?
>
>



Jul 21 '05 #5
So this is an ActiveX component. You should check out the article I
mentioned in my previous post. You don't need to sign the ActiveX component,
but you should sign the Interop assembly that is generated by Visual Studio
..NET (when you added a reference to a com component).
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan

"Ayende Rahien" <Ay****@no.spam> wrote in message
news:ek**************@TK2MSFTNGP12.phx.gbl...
IExploerer component :-(

"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:Oi**************@tk2msftngp13.phx.gbl...
Are the components that you are using ActiveX/COM Components, or are they
real .NET Assemblies? Because that last ones, you can sign; see this
article:

http://msdn.microsoft.com/library/de...us/cpguide/htm
l/cpcongeneratingprimaryinteropassemblies.asp
--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
"Ayende Rahien" <Ay****@no.spam> wrote in message
news:#y**************@TK2MSFTNGP12.phx.gbl...
The problem is that they are not my assemblies, they are 3rd party ones.
"Jan Tielens" <ja*@no.spam.please.leadit.be> wrote in message
news:u$*************@tk2msftngp13.phx.gbl...
> If one of your assemblies in signed, all of the other assemblies that
you
> use should be singed too. So I think the only solution is to sign

the other
> assemblies as well (if that is possible).
>
>
> --
> Greetz
>
> Jan Tielens
> ________________________________
> Read my weblog: http://weblogs.asp.net/jan
>
>
>
> "Ayende Rahien" <Ay****@no.spam> wrote in message
> news:#Q*************@tk2msftngp13.phx.gbl...
> > I'm trying to build my application with a strong name, but I get

this > > errors:
> > error CS1577: Assembly generation failed -- Referenced assembly
> > 'AxInterop.SHDocVw' does not have a strong name
> >
> > error CS1577: Assembly generation failed -- Referenced assembly
> > 'SgmlReaderDll' does not have a strong name
> >
> > I've no control over either one of them, how do I get this, or do I've to
> > resign myself to no strong names?
> >
> >
>
>



Jul 21 '05 #6
Don't know whether it is a good solution, but I'm using it for a long
time without any problems.

So, you have some COM (ActiveX object) and you wants to sign Interop
of this COM object:

You must sign your Interop.YOURLIB reference with the Assembly key
1 Run tlbimp.exe YOURLIB.DLL /out:Interop.YOURLIB.dll
/keyfile:YOURKEY.snk
where "YOURLIB.DLL" is your source ActiveX component (you can simple
find path to it when add reference to the project).

2. Now you can add Interop.YURLIB reference into your project (remove
old previoisly) and build it.
Jul 21 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Martin | last post by:
I have a couple of questions around code signing with MS technology: 1. Is there a way to transfer the generated strong name signing private key directly to a smartcard (or generate it on the...
4
by: Todd Richardson | last post by:
Two questions. We would like to have users complete ASP.NET web forms for submission. Once these are completed I would like to generate an XML document from the form. The XML document should...
2
by: Henrik Skak Pedersen | last post by:
Hello, I have a class which is beeing serialized/deserialized using the BinaryFormatter class. That has been working with no problems until I signed all my assemblies. Now I get a...
1
by: AVL | last post by:
Hi I need some clarification on signing. what does it mean--signing an assembly? where is ti used? How is it used?
1
by: Jason Richmeier | last post by:
I have encountered an error while attempting to sign an assembly. I have become quite frustrated since I seem to be going in circles and making no progress. Hopefully someone will have the magic...
0
by: Raffi Basmajian | last post by:
I am trying to understand the difference between signing ClickOnce manifests and signing shared assemblies. My company is building .Net 2005 WinForm applications for internal company use only....
0
by: adam3223 | last post by:
I have a mixed code dll which will be used by many developers to build applications on top of. I've read signing an assembly is recommended to rule out any naming conflicts, and increase security....
0
by: =?Utf-8?B?d29taW4=?= | last post by:
Hello, I have a software that I sign with a trusted certificate from Verisign (both the assemblies and the MSI packages) following Microsoft recomendations. In most of the cases I install the...
6
by: raylopez99 | last post by:
Anybody use Strong Name Signing? I think this is used by default for Resource files, which is one reason perhaps I can't get my resource files to work (somehow the public key is messed up, perhaps...
1
by: BillE | last post by:
<extreme frustration> I have googled and read about this, but can't seem to get a grip on it. Apparently I am being coerced into digitally signing applications. Is this true? What if I don't...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.