c# - Same web service project, different configuration, can't debug -


i have created c# web service, web client, , debugged service asp.net development server (that thingy gets activated when press f5). fine. need web service same previous, differs in few lines of code. purpose created 2 new configurations, debugnew , releasenew, , set output directory binnew (instead of default "bin"). problem original web service executed in debugger, instead of new web service. debugger unaware of binnew folder. how set environment start new web service if debugnew configuration active?

as far know, web applications run out of bin folder. if knows how change that, happy call myself wrong in order learn trick myself.

assuming correct once there, write post compile script checks build configuration active. if it's either debugnew or releasenew, copy contents binnew bin.

if there's few lines of code different though, question whether or not putting configuration setting in , adjusting code accordingly isn't better way go. but, don't know facts. thought had.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -