8

I am attempting to publish an MVC3 Site in Visual Studio 2010 using the "File System" publish method. The MVC site does not work, but I'm almost positive that this has something to do with my current server configuration, so my question is not why won't the site work. My question is when i publish the site, it does not publish the "Models" or "Controllers" folders; is this normal? If so how does the site function without these two elements being built to the server?

1 Answer 1

19

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

2
  • That's what I was thinking was going on. So I guess my next question is this, if another web developer comes to work on these applications behind me (like I leave my company) how will he/she be able to edit them without those files? Commented Oct 4, 2013 at 1:45
  • 5
    Well, hopefully you have the source code in place that will be accessible to them (a git or svn repository). In the worst case scenario they could decompile using something like this: jetbrains.com/decompiler/index.html?topDP Commented Oct 4, 2013 at 1:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.