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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T05:22:19+00:00 2026-06-15T05:22:19+00:00

I have a project ProjA which wraps up references to several other projects and

  • 0

I have a project “ProjA” which wraps up references to several other projects and some ‘plugin’ assemblies. All of those references have Copy Local set to ‘True’. Note that the code in the plugin assemblies (which are project references) is not referred to in “ProjA” directly, but is loaded and located through DI/Ninject. (So I’m using these project references as a way of getting the plugin assemblies into the output folder, see below for why)

I also have project “ProjB”, which references ProjA. It invokes ProjA code which should do it’s thing, using the referenced plugin assemblies.

The problem is, it doesn’t work. The plugin assemblies are not copied down from the ProjA output folder (which they are ‘copied local’-into) into the ProjB output folder. So Ninject doesn’t load them, and the thing fails.

So my two questions:

  • If I have dictated to VS/msbuild that ProjA refers to projects P1, P2, P3, P4, and set copy local to true – why then would it assume only the main output assembly is required to make ProjA work? Can I make it think any differently?
  • I’m guessing that adding a Copy Local reference to the plugin assemblies as a way of having VS recognise a build dependency between the plugins and the project using them (currently a fixed set of plugins, hence this route) – is not ideal. I then think that adding the plugin assemblies as ‘Content’ to the project would work, but then I have two issues: 1) TFS source control; the plugin projects need a writable target to build to, presumably – content files would be ‘checked in’ and 2) some of the plugins have Content of their own: with references I don’t need to worry about missing something. Going the Content route I need to refer to another project’s build output folder, include all of it’s content, but not the PDBs.. seems even more hacky!

I have also considered and played with post-build steps for either the plugin projects (not ideal: I am pulling them into this new solution from another, if I add post-build steps it will likely screw up the other solution) or the project which depends on them (which is OK, but an XCopy with relative paths, and having to manually set up Project Dependencies.. seems more hacky again).

Is there something I’m missing, any ideas at all? If Copy Local chained across project references it would fit perfectly..

  • 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-15T05:22:20+00:00Added an answer on June 15, 2026 at 5:22 am

    Not possible with Visual Studio or msbuild it seems.

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

Sidebar

Related Questions

I have a multi-module maven 2 project which uses assemblies (via maven-assembly-plugin at the
At work we have a number of projects which need to share some common
I have two CVS projects, which I maintain in Eclipse. I check out first
In my project I have a folder with resources which I don't want to
I have Joomla 2.5 installed. I developed some little module which generates html code.
I have a project that consists of multiple projects, something like: my_project\ proj_A\ (code,
Problem domain We have Projects and Milestones Once created, a Milestone has a Project
I have a project with several dependencies that are in various repositories. Each time
I have a silverlight application which has a class library project in it. th
I have a rather large solution, which contains two documentation projects based on Sandcastle

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.