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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:16:59+00:00 2026-06-03T04:16:59+00:00

I have a project Foo.BackOffice . it has a reference to Foo.Repository which I

  • 0

I have a project Foo.BackOffice . it has a reference to Foo.Repository which I have NHibernate dlls.

When i publish Foo.BackOffice to IIS. It doesnt publish the dlls which are in Foo.Repository, NHibernate DLLs. But it does publish the Foo.Repository.dll.

How can I publish the dll’s that Foo.Repository has as reference.

Thanks.

  • 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-03T04:17:01+00:00Added an answer on June 3, 2026 at 4:17 am

    From this connect issue:

    The behavior you’re seeing is currently by-design. The compiler only
    copies indirect references for which it can find a compile-time
    dependency. In this case, it determines that your Web project doesn’t
    have a compile time dependency on Project B. Direct dependencies will
    always be copied.

    You only have direct dependency on Foo.Repository not on Nhibernate.

    So just reference the NHibernate dlls in your web project and they will copied during publish.

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

Sidebar

Related Questions

So, if I have website project Foo which has a reference to class library
Say my SVN repository looks like: project/ trunk/ README foo/ bar.sh and I have
I have a Jamroot file which looks a bit like this; project foo ;
If I have this project structure Foo.Data reference EntityFramework Foo.Business reference Foo.Data Foo.Web reference
I have a project Foo which I errantly created the wrong tag for. It
If I have a project Foo that has a .lib as an output that's
I have a function which is called many times in my project: void foo(int
I have a Maven project that has always worked fine in Netbeans, but upgrading
I have a project which does not follow the rails nameing conventions, because it
I have a project that uses two third party libraries, both of which make

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.