Re: Strong Name Assemby
- From: "Richard Grimes" <richardg@xxxxxxxx>
- Date: Sat, 26 Nov 2005 21:39:59 -0000
Chris wrote:
> I have a strong named assembly. It installs fine on my XP Pro Machine
> via the .net configuration tool. When I use the same tool to install
> it on a W2003 machine it says it isn't strongly named.
> As I don't have vs.net. Ihave been compliling my vb file as a module
> and then using al.exe to sign it with a strong name.
I don't understand why you think you need VS.NET to sign the assembly.
You use the <AssemblyKeyFile> attribute in the code (or in v2.0, the
/keyfile switch) to indicate the location of the file containing the
key. That way you do not have to compile the code as a module, you can
compile it as an assembly.
> It seems to work
> on my machine. When I copy the dll to the 2003 machine it doesn't.
> Does it need any additional files than the dll. Also the W2003
> machine is .net v2 whereas my machine is .net v1. Any ideas? Regards,
Well, if you create an assembly with al, around the module, then you
need to deploy all the files to your W2003 machine, so that will mean at
least two files (the assembly file that contains the manifest and the
module). I suspect that this is why the installation fails. My Fusion
workshop shows the details, in C#.
Richard
--
http://www.grimes.demon.co.uk/workshops/fusionWS.htm
http://www.grimes.demon.co.uk/workshops/securityWS.htm
.
- Prev by Date: Re: .NET dll and embedded Visual C++
- Next by Date: RE: XML Serialization of Two Classes
- Previous by thread: dll in .NET and eVC application
- Next by thread: How to specify the filename when exporting from a servlet an XLS?
- Index(es):
Relevant Pages
|