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? 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?
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?
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?
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? > >
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? > > > > > >
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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?
|
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...
|
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....
|
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....
|
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...
|
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...
|
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...
|
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...
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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,...
|
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,...
|
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...
|
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...
|
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...
| |