How to make my ASP.net 2.0 application recompile

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.

+7
source share
5 answers

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.

+10
source share

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.

+4
source share

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?

+1
source share

Where did you upload the changes? Source control, web server?

Did you run the assembly first? Locally or remotely?

0
source share

In the VS-menu you have Build β†’ Reconstruction of the solution

0
source share

All Articles