开发者

How to make server recompile code behind files

开发者 https://www.devze.com 2023-03-03 09:06 出处:网络
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开发者

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消