etrnldarkness
New Member
I have an asp.net 4.0 webforms application. It is a website, not a project, so it is not precompiled before deployment. I made a change to a single code-behind file (c# file) and I need to upload it to the website. If I upload just this single file, will it compile on the website? Or do I need to upload other files to trigger a compile? E.g., do I need to upload the front end .aspx file along with it? I ask this because a change that I made works on my dev machine but isn't working on the production server. I suspect that perhaps, the C# file that was uploaded hasn't compiled on the web server, thus, the website is still running the older c# file. Anyone have thoughts on this? Thanks in advance. EDIT: I should specify that it is a website project, not a web application project.