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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T05:15:39+00:00 2026-05-14T05:15:39+00:00

This is how my project looks: TestMvc (my web project) has a reference to

  • 0

This is how my project looks:

  • TestMvc (my web project) has a reference to the DomainModel.Core assembly where my interfaces and business objects reside.

  • The class that implements the interfaces in DomainModel.Core is in a different assembly called DomainModel.SqlRepository; the reason behind it is that if I just want to create a repository for Oracle I just have to deploy the new dll, change the web.config and be done with it.

When I build the solution, if I look at the \bin folder of my TestMvc project, there is no reference to the DomainModel.SqlRepository, which makes sense because it’s not being reference anywhere.

Problem arises when my windsor controller factory tries to resolve that assembly, since it’s not on the \bin directory. So is there a way to point windsor to a specific location, without adding a reference to that assembly? My web.config looks like this:

<component id="UserService"
  service="TestMvc.DomainModel.Core.Interface, TestMvc.DomainModel.Core"
  type="TestMvc.DomainModel.SqlRepository.Class, TestMvc.DomainModel.SqlRepository"
  lifestyle="PerWebRequest" />

There’s many ways around this, like copying the dll as part of the build, add the reference to the project so it will get copied to the \bin folder or install it on the GAC and add an assembly reference in the web.config. I guess my question is specific to Windsor, to see if I can give the location of my assembly and it will resolve it.

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

    Windsor relies on .NET standard assembly resolution mechanism. You can set assembly redirect in your web.config but it’s better to have MsBuild just copy the file over.

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

Sidebar

Related Questions

The team explorer for my project looks like this: mytfsserver\mycollection -- Project 1 solution
Is this possible in any way? My project folder structure looks like this: my_project:
My Django project's directory hierarchy looks like this: + pybsd |---+ devices |---+ templates
I'm working on this project where the client has a virtual server setup. I
My project directory looks like this: /project Makefile main /src main.cpp foo.cpp foo.h bar.cpp
Looking at this question the OWASP WebGoat project looks like a great way to
I'm using subeclipse plugin for eclipse for SVN. My project looks like this :
A majority of my work has all been in .net, but this project was
I just created a project so my Solution Explorer looks like this: (source: kalleload.net
I have data in an MYSQL database that looks like this: Project Date Time

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.