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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:14:52+00:00 2026-06-05T07:14:52+00:00

I am having figuring out an unexpected behavior in using Unity application block. I

  • 0

I am having figuring out an unexpected behavior in using Unity application block. I have Project A as my start up project.

Project A has a project reference to Project B which has a project reference to Project C.

Project A uses unity to resolve reference to classes defined in Project B. These classes in turn use Unity to resolve reference to dependencies on classes in Project C.

So, since I am only using interfaces defined in a common project and resolving concrete references using Unity, there is no need to add project/assembly references for Project B or Project C in Project A.

But in that case Unity is not being able to resolve the references. If on the other hand, I add the references for both the projects, there are no issues. Why is it necessary? Is there any way around this?

Is this because Unity will need the dll to be in context and loaded in order to construct types from these assemblies? Somehow this doesn’t feel right.
Can anybody help me in understanding this beahvior.

  • 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-05T07:14:53+00:00Added an answer on June 5, 2026 at 7:14 am

    The code in the Unity assembly needs to be able to resolve the concrete classes you’ve registered. This means that it needs to have access to the assemblies in which the concrete classes reside – be they in the same output directory as the Unity assembly, or in the GAC – unity needs to be able to find them.

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

Sidebar

Related Questions

I'm having trouble figuring out how to setup user access rights for project portals
Having trouble figuring out the syntax (which I'm sure is obvious and I'm stupid)
I having trouble figuring out the correct architecture for this kind of application: it's
I'm having trouble figuring out how to solve this issue. I have a file
I am having trouble figuring out how to make text found using glob into
I am having difficulty figuring out how to number my subreport's records. I have
I'm having trouble figuring out how to correctly reference the 'right' 'this' in a
I'm having trouble figuring out what my Flex Project is expecting from my PHP
I am having trouble figuring out how to create an application bundle for release,
I am having trouble figuring out how to reference the (variable) name of a

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.