I am creating my first ASP.Net web application project in VS2010. The site has a main page that uses all content pages.
I published it on a local Windows 2008 R2 server that is running IIS 7.5, so other team members can look.
I published it using the "File System" in a directory on the server. If I look in the directory on the server, all I see are .aspx files and a few dlls - this is what I expect.
If I go to IIS and try to browse the web application (or open a browser in my local field and go to http://myserver/Contacts - I will get a server error - "The Contacts / MasterPage1.master.cs file" does not exist.
I do not understand - why is IIS looking for a .cs file when all .cs files are compiled in a dll in a web application project?
source share