MVC3 Publishing, why models / controllers are not published

I am trying to publish an MVC3 site in Visual Studio 2010 using the file system publishing method. The MVC site is not working, but I am pretty sure that this has something to do with my current server configuration, so my question is not why the site will not work. My question is when I publish a site, it does not publish the Models or Controllers folders; this is normal? If so, how is the site function without these two elements built on the server?

+8
visual-studio-2010 asp.net-mvc-3 publishing controller model
source share
1 answer

Yes, it is normal. Your models and controller are compiled and placed in a folder called "bin". This folder should contain a DLL with the name of your project.

+19
source share

All Articles