How to fix "satellite assemblies required are loadable and fully signed" error?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave Kennedy
    New Member
    • Feb 2011
    • 1

    How to fix "satellite assemblies required are loadable and fully signed" error?

    Hi,
    Env:
    Windows XP,
    Visual Studio 2008,
    Target Framework: .Net Framework 3.5
    C#,
    POS for .NET v1.12 SDK

    I am developing a custom MSR Service Object (PoshMsr.cs) based on ExampleMsr.cs.

    There is an issue with the TargetInvocatio nException exception:

    1. Make sure "Strings.resour ces" was correctly embedded or linked into assembly "POSH_MSR_S O" at compile time,
    2. or that all the satellite assemblies required are loadable and fully signed.

    I don't know if it is 1. or 2.
    The exception is thrown after this code in the Service Object (PoshMsr.cs)

    Code:
        public PoshMsr()
        {
          // Initialize ResourceManager for loading localizable strings
          rm = new ResourceManager("Strings", Assembly.GetExecutingAssembly() );
    
          // Initialize device properties
          Properties.CapIso = true;
          Properties.CapTransmitSentinels = true;
          Properties.DeviceDescription = rm.GetString("IDS_MSR_DEVICE_DESCRIPTION");
        }
    The default SO Microsoft.Point OfService.Examp leServiceObject s.dll is signed
    but POSH_MSR_SO.dll is not signed.

    Does the dll need to be signed and How can I sign the dll ?

    Thanks
Working...