Sunday, 15 August 2010

c# - VS2008 debugs old ASP.NET web service -



c# - VS2008 debugs old ASP.NET web service -

i'm writing asp.net web service, in c#. before yesterday if wanted debug press f5, , asp.net development server start hosting service. breakpoints enabled , work. functionality gone. when start debugging, development server started old version of web service hosted, , breakpoints not work. warning versions not match.

it not help if rebuild everything, or alter assembly version, or alter file name of dll. it not help if delete whole temp folder %temp%\temporary asp.net files. old web service pulled out knows where, , stored in temp folder again.

major alter before yesterday had installed iis. web service installed there works expected, need debug well. thought problem installed web service (with vdproj), uninstalled it, did not help either.

how prevent scheme caching old version of web service. old version stored anyway?

check web settings on asp.net project. using asp.net development server f5 debugging create sure "use visual studio development server" radio button selected under server heading. specify specific port other projects in solution can consistently reference (in case i'm dealing web service). there's chance find "user local iis web server" radio button selected.

hope helps.

edit: problem here not iis, changing target build output folder of web service. must bin\, or development server cannot find it. rebuild did not help because alter dll file in new folder, old file remain undisturbed in bin folder.

c# asp.net visual-studio

No comments:

Post a Comment