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

  • SEARCH
  • Home
  • 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 6685017
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:00:31+00:00 2026-05-26T05:00:31+00:00

I am struggling with the current scenario below. I’m using vs 2010 and C#

  • 0

I am struggling with the current scenario below. I’m using vs 2010 and C# with .NET 4:

  • I have a separate solution (call it solution A) that has 2 class library projects in it (call them B and C).
    Project B has a link to a “GlobalAssemblyInfo.cs” file in Project C, BUT Project B does not depend on Project C, it merely just has a link to the .cs file in Project C.
    This is all well and good as everything compiles and B.dll + C.dll is produced.

  • Now I have a totally different solution (call it D) that has only 1 console application project in it (call it E).
    Now in Project E, I add a reference to B.dll. When I compile all is well.

The problem is when I debug Project E, when I get to a line of code that uses any object from Project B (or B.dll), I get an error that says “FileNotFoundException unhandled exception. Could not load file or assembly B”, where B is the fully qualified name of assembly B.

How do I resolve this problem? I know the problem is caused by the linking to the “GlobalAssemblyInfo.cs” file in Project C because when I remove / delete this link everything works fine and I can use object in assembly B.

Here is a url that explains how to link to files within a solution / project if you need to understand what linking is http://bloggingabout.net/blogs/jschreuder/archive/2006/11/02/Centralizing-AssemblyInfo-settings_2C00_-or-simplify-versioning-of-solutions.aspx

  • 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-26T05:00:31+00:00Added an answer on May 26, 2026 at 5:00 am

    I had the same problem, after I started using a global AssemblyInfo my unit tests were throwing FileNotFound exceptions for the app project. Turns out it was because I had specified

    [assembly: AssemblyCulture("en")]
    

    in the global assembly. Changing it to

    [assembly: AssemblyCulture("")]
    

    Solved it for me.

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

Sidebar

Related Questions

Here is what I am struggling with. I have to determine whether current time,
I'm struggling with using ClearCase at my current job and it's a REAL pain,
Struggling with command line again, I have figure out that I can store the
Struggling to parse this JSON response from http://api.twitter.com/1/trends/current.json using foreach ($json_output->trends[0] as $trend )
I've been struggling to find a framework/IDE/GUI designer that suits my current needs. I'm
I've been struggling with this one for a couple of days now. My current
Struggling with styling the mouse over for a button ... I have managed to
Iam struggling with NHibernate and its lazyload. I have a structure which I simplified
been struggling with an issue now for a day or two. I have an
I'm struggling to find the right terminology here, but if you have jQuery object...

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.