Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2008: How do I include project output as an embedded resource in another project?

I have two projects in one Visual Studio 2008 solution. I'd like to use the primary output from one of the projects as an embedded resource in the other, but for the life of me I can't find any way to accomplish this.

If I simply add the output file as a resource, then it doesn't seem to change when its source project is rebuilt. I even have the project dependencies/build order set up properly and this does not seem to help.

Anyone have any hints for me?

Thanks!

like image 277
Tom Avatar asked Jul 26 '10 18:07

Tom


1 Answers

the best option is to "reference" the other project as if it were a class library. that way you make sure the whole references tree is copied to your output dir.

like image 160
Leo Waisblatt Avatar answered Oct 04 '22 01:10

Leo Waisblatt