I've got 5 projects in a solution including a web site project (I would not do a web site project now, but at the time I didn't know that and it's to much hassle to convert). When I run vs2010 and a rebuild all, the dll's from the other projects are moved into the /bin directory and everything works fine.
When I run the fb action and do rebuild all, none of the other project dll's are moved into the web project's directory (/bin/0. What am I missing?
On the VS.NET Solution action make sure you’ve selected ‘All Enabled Projects’ rather then ‘All Projects in Solution’. The problem is that the all projects option executes MSBuild for each project in the solution which doesn’t work for web sites as they don’t have a project file, using all enabled projects will simply pass the solution file to MSBuild.
I do have “all enabled projects”. any other ideas? I wonder why it works inside of vs2010 when I do a rebuild all? I did delete the dll’s that don’t make it to the web/bin directory, and after a rebuild all, they reappear.
I’m not sure, I created a web site project in VS2010 with a project reference to a class library in the solution, and then used the VS.NET action to build the solution and it all worked as expected. I did notice that VS only stored the information about project references in the solution file, any other assemblies that are referenced are simply copied to the BIN folder and if they are deleted they won’t be re-created.