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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:13:45+00:00 2026-05-13T22:13:45+00:00

In a simple app I’m working on, I’ve got three related assemblies: MyCompany.Geography.Windows.Forms which

  • 0

In a simple app I’m working on, I’ve got three related assemblies:

  1. “MyCompany.Geography.Windows.Forms” which is a class library with the winforms controls in it
  2. “MyCompany.Geography” which has some definitions for some base types and the like.
  3. “MyCompany.Geography.Windows” which is a quick knock up app with a simple form, and one of the controls dropped on it as a basic test harness.

Now, everything was going well and I could drop my control on tot he form in the designer, and it merrily added the relevant references, but when I try and actually run it under debug, I get:

System.TypeLoadException occurred
  Message="Could not load type 'MyCompany.Geography.Windows.Forms.MyControl' from assembly 'MyCompany.Geography.Windows, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'."
  Source="MyCompany.Geography.Windows"
  TypeName="MyCompany.Geography.Windows.Forms.MyControl"
  StackTrace:
       at MyCompany.Geography.Windows.Form1.InitializeComponent()
       at MyCompany.Geography.Windows.Form1..ctor() in ...\Projects\MyCompany.Geography\MyCompany.Geography.Windows\Form1.cs:line 10
  InnerException: 

Normally I’d go and look at the inner exception, but there is none. the bit that’s really confusing me is that I’d have exepcted it to have followed the reference, and looked in there, and I’m a bit stuck as to what to check?

  • 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-13T22:13:46+00:00Added an answer on May 13, 2026 at 10:13 pm

    Make sure that the executable application references both MyCompany.Geography.Windows.Forms.dll and MyCompany.Geography.dll.

    Have you checked the Output window during the debug session for any information about failing to load the assembly? It could also be related to conflicting versions of the assembly. When the application breaks into the debugger at the point of the exception, open the Modules window (Debug -> Windows -> Modules) and see if the assemblies are in fact loaded.

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

Sidebar

Related Questions

I've created a very simple app, which presents an easygui entrybox() and continues to
I am making a simple app in which filled circles bounce around the screen.
I'm writing a simple app that's going to have a tiny form sitting in
I have a simple app that uses an SQL Express 2005 database. When the
I need a simple app to edit database tables. Are there any code generators
Let's say I have a fairly simple app that lets users store information on
I have a simple iphone app that's based on the CrashLanding sample app. So
I have a simple Google App Engine app, that I wrote using ordinary strings.
In a simple dialog app, using designer, I've set up the usual shortcut keys
Its a simple config app with 4 checkboxes and 5 textboxes, and all values

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.