Re: Strong Name Assemby

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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


.



Relevant Pages

  • Strong Name Assembly
    ... It installs fine on my XP Pro Machine via ... the .net configuration tool. ... When I copy the dll to the 2003 machine it doesn't. ...
    (microsoft.public.dotnet.security)
  • Strong Name Assembly
    ... It installs fine on my XP Pro Machine via ... the .net configuration tool. ... When I copy the dll to the 2003 machine it doesn't. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Strong Name Assembly
    ... Get .NET 2.0 SDK for you dev box and try it again ... Daniel Fisher ... It installs fine on my XP Pro Machine via ... > the .net configuration tool. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Strong Name Assembly
    ... very likely registered for verification skipping on your machine, explaining ... If this the problem, fully signing the assembly ... It installs fine on my XP Pro Machine via ... > the .net configuration tool. ...
    (microsoft.public.dotnet.security)
  • Re: Movie Maker wont start
    ... I renamed all of the dll files you suggested and then ... >something is dying when dshow goes to enumerate the ... FXLibrary (This installs FXLibrary.dll) ...
    (microsoft.public.windowsxp.moviemaker)