msedi
msedi

Reputation: 1743

Change local path of referenced project

I'm building a set of plugin assemblies that I want to load in my main application. For that reason I have to search through a plugin directory named "plugins". I currently have my plugins attached to my main applications' solution with all projects in my solution and all projects are added as ProjectReference in the project file of the main application with CopyLocal set to true.

The problem is the I want to have the project reference outputs not copied to the OutputPath of the main application, but in a subfolder. I couldn't find any option to set something like this.

Upvotes: 0

Views: 466

Answers (1)

Andrew Walters
Andrew Walters

Reputation: 4803

If I understand correctly this is what you want.

In the plugins project right click -> properties -> build -> output path

You can change the output path to anywhere you need and have the parent project reference the assemblies in that folder.

enter image description here

Upvotes: 1

Related Questions