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 7919179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T15:46:42+00:00 2026-06-03T15:46:42+00:00

I had to rebuild the Krypton.Toolkit.dll from it’s source in order to remove a

  • 0

I had to rebuild the Krypton.Toolkit.dll from it’s source in order to remove a license error message on runtime. In the references I have removed and replaced the old Krypton assemblies with the ones from source.

I am now getting the error: (and a related cast type error)

Could not load file or assembly 'ComponentFactory.Krypton.Toolkit, Version=4.0.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e'

I understand the error message. Although the my new reference has the same name it does not have a strong name at all, so there is no PublicKeyToken.

What I don’t understand is why it’s still looking for the old PublicKeyToken when the reference is being replaced completely? This DLL is not in the GAC.


At first these DLLs with matching PKT where referenced in my main projects .csproj file. I gave my two assemblies a strong name and replaced the old references.

I have then cleaned and rebuilt the project and the new strong name has been replaced in the csproj file. However Visual Studio is still looking for a87e673e9ecb6e8e in the aforementioned project, as shown in the error window.


Sorted.
A reference was referencing the same 3rd party DLL as my project and they where conflicting.

  • 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-06-03T15:46:44+00:00Added an answer on June 3, 2026 at 3:46 pm

    Something in your solution seems to still hold a reference to the strong-named version.

    You can open your .csproj (or I think .vbproj if you’re doing VB) and look for that reference in your favorite text editor. Look for a line similar to:

    <Reference Include="ComponentFactory.Krypton.Toolkit, Version=4.0.0.0, Culture=neutral, PublicKeyToken=a87e673e9ecb6e8e, processorArchitecture=MSIL">
    </Reference>
    

    Searching for the PublicKeyToken is probably sufficient.

    If you find it, you will know which project still references the strong named version.

    You may see a sub node like

    <Reference ... >
      <HintPath>..\SomePath\ComponentFactory.Krypton.Toolkit.dll</HintPath>
    </Reference>
    

    directing the linker to look in a specific path to resolve the reference.

    You can manually edit the project file (back it up first), or use that knowledge to update the reference through VS if you’re more comfortable with that.

    UPDATE

    If it turns out (as it did in this case) that the issue is with a referenced DLL that in turn references the other Krypton version, a good tool for diagnosing the issue is the Fusion Log Viewer

    http://msdn.microsoft.com/en-us/library/e74a18c4.aspx

    Note that Fusion Log Viewer must run as Administrator. If not, it will not show any results but will otherwise not complain.

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

Sidebar

Related Questions

I had to rebuild my machine and went from XP to Windows 7. I've
My development machine died and I've had to rebuild it from scratch. I reinstalled
Tried to rebuild an app that was working just yesterday. Got a message that
I want a 64-bit python interpreter on my Mac so I had to rebuild
I get this error message in Visual Studio when I'm trying to run the
I had to rebuild a machine here and thought I'd just redo my web
I had to rebuild a project in my application. I created a new project
So just this week I had the opportunity to re-build my development machine and
I recently had the MacBook I'm using to develop an app (for work) rebuilt.
Had a page that was working fine. Only change I made was to add

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.