Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 192075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:23:43+00:00 2026-05-11T16:23:43+00:00

I am trying to introduce Strong Signing in my project assemblies. My project output

  • 0

I am trying to introduce Strong Signing in my project assemblies.

My project output is persisted in XML and a type is mentioned (before signing) as:

typestr="XYZ.PQR, MyWidget, Version=1.0.2406.20198, Culture=neutral, PublicKeyToken=null"

After all the assemblies are signed with public-key with token, 622edca63ee1770c. I have introduced <assemblyBinding> block in my app.config file as follows:

 <assemblyBinding>
  <dependentAssembly>
    <assemblyIdentity name="MyWidget" publicKeyToken="622edca63ee1770c" culture="neutral"/>
    <bindingRedirect oldVersion="1.0.2406.20198" newVersion="0.1.27.10695"/>
  </dependentAssembly>
 </assemblyBinding>

I am still getting Error:

Could not load file or assembly ‘EPGWidget, Version=1.0.2406.20198, Culture=neutral, PublicKeyToken=622edca63ee1770c’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

When a code piece like:

Type type = Type.GetType(typestr);

following is executed. However, it works for:

typestr="XYZ.PQR, MyWidget"
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:23:44+00:00Added an answer on May 11, 2026 at 4:23 pm

    If you are serializing as xml, why is there type information in it? One of the objectives of xml is to remove type metadata from the serialization. Is this an array or something? There may be better ways to serialize this data.

    Assembly redirects do not, AFAIK, work with string-based reflection; if the qualified name doesn’t match, it doesn’t match. The last example doesn’t specify the signing details, which allows it to accept any.

    Personally, I’d try to fix the issue of having type information in the xml – it is probably an easier, and more appropriate, battle to fight.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to introduce integration testing using Arquillian Drone in our project. I
I am trying to introduce pagination using the backbone.js paginator plugin 's requestPager .
I'm trying to introduce dependency injection (DI) as a pattern here at work and
I'm trying to introduce a join to this query: SELECT `n`.*, round((`n`.`rgt` - `n`.`lft`
I am trying to introduce RoR to my company and I have two ways
SQL Server Beginner question: I'm trying to introduce a computed column in SQL Server
I am trying to introduce Automapper into an application for the first time, but
I'm trying to learn move semantics well enough to introduce it to my students.
Im trying to introduce some logic into my jsp struts2 page. If a List
I have been trying to introduce a Merge statement into the following SQL query

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.