I'm using Asp.net 4 and IIS 7. I have a remote desktop connection to the server, and I am rebuilding my solution in visual studio and then replacing the new code behind file on my local computer开发者_Go百科 with that of the web servers deployed version.
However it is not recompiling and using my updated file. I've tried stopping the server, recycling the app pool, replacing files in the app_code, bin directory, and searching with no luck. For now the files are not dll's.
What am I doing wrong?
Delete the compiled assemblies from the %windir%\Microsoft.NET\Framework\v.xxxx\Temporary ASP.NET
Files\<site name>
directory.
This is where IIS generates the assemblies - deleting these should cause it to recompile.
精彩评论