Proper Way to sign assembly and install in the GAC

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When i sign my assembly and try to run it on the device I get
"MissingMethodException". What am I doing incorrectly?
 
Is it signed or delay signed? You can verify that by running this command:
sn -vf assembly.dll

If it is delay signed, it won't work, real signing is needed.



If it is signed, have you performed proper steps to add it to the GAC on
device?



http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncfhowto/html/HOWTOGAC.asp

--
Best regards,

Ilya

This posting is provided "AS IS" with no warranties, and confers no rights.

*** Want to find answers instantly? Here's how... ***

1. Go to
http://groups-beta.google.com/group/microsoft.public.dotnet.framework.compactframework?hl=en
2. Type your question in the text box near "Search this group" button.
3. Hit "Search this group" button.
4. Read answer(s).
 
Chris I completely understand...

Signing is no problem, that I fixed.

I created a mpm.gac file and placed it in \Windows along with all the
assemblies that are in the gac file. The gac file looks like this.

\Windows\MPManager.dll
\Windows\MPScanner.dll
\Windows\MPMsr.dll
\Windows\MPPrinter.dll
\Windows\SymbolScanner.dll
\Windows\ZebraMsr.dll
\Windows\ZebraPrinter.dll
\Windows\MPTrace.dll
\Windows\RCSTrace.dll

Supposedly when you start your application it will look for gac files in the
\Windows directory and call cgacutil.exe to install each assembly? I tried
this but had no luck. So I wrote an app that took the files and called
cgacutil and it adds them to the gac. So my question is what have I done
wrong with the gac file?

Am I in leftfield?

Thanks gents!
 
Back
Top