I have an ASP.net 2.0 application, and I made some changes to the source file (cs files). I downloaded the changes with the confidence that it will automatically recompile. I also have a compiled dll in MY_APP / bin. I checked it and noticed that it did not recompile. Please understand that I am new to this.
my # 1 way to do this is to add a space to the top of the web config file after the xml declaration tag.
It forces node to cache and recompile. We even have a back-end page called Flush.aspx that does this for us.
I use a similar method for ChanChan, but instead of a space, I put a comment in the web.config file to indicate when / why the config was changed.
It is always best to just start the build after making changes to the .cs.
Where do you run it? Is it for debugging or production?
Where did you upload the changes? Source control, web server?
Did you run the assembly first? Locally or remotely?
In the VS-menu you have Build β Reconstruction of the solution