I have a MVC
web application that I am developing in Visual Studio 2010. Along side my MVC
project in my solution I also have 2 Class Library
projects.
When I right click the MVC project in the solution explorer I get (among others) these options: Build Deployment Package
, Publish...
, and Package/Publish Settings
.
These options are not available for the 2 Class Library
projects, so prior to uploading any code I am currently putting everything in a deployment folder on my local machine using the Publish...
option for the MVC
project and just copy & pasting the other 2 projects in windows explorer.
I would very much like to use the Publish...
option to deploy all 3 projects using FTP to our server.
I have discovered that if I change the Output Type
of the 2 Class Library
projects from Class Library
to Console Application
then I get the options to Publish...
etc., but they aren't Console Applications
s so I don't really want to do this.
My question is, how can I , using Visual Studio 2010 publish Class Library
projects using FTP?
UPDATE Turns out I'm a numpty!
Because the MVC app references the 2 class libraries, the .dll
s for them are already included in the bin folder for the MVC app and I didn't need to include the other projects when I publish.