Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > Debugging with VS2005 dynamic web-reference

Thread Tools

Debugging with VS2005 dynamic web-reference

Posts: n/a

My client-side dynamic web-reference contains strings, which I
substitute with user entries in my installer class. This is
serialized in app.config, which after building becomes,

For example:

http:// server/directory/MyService/MyService.asmx

My installer class for the project substitutes server and directory
with real values when the .dll is installed. (Yes, it's a class
library). The web-reference becomes:


When I debug the library, (which starts an exe, which loads the dll) ,
I edit the MyDll.dll.config file and change it to a test service.
Since the installer is not run, I must do this manually.

However, it uses whatever default value is in the attribute modifier
for the defaultInstance, NOT what is in the .dll.config file.

How can I get the debug version to read the config file? Will the
production version REALLY read what is in the .config file at run time
or use the compiled default value?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VS2005 Enable ASP.NET Debugging in Class Library App =?Utf-8?B?UGV0ZXIgU3V0Y2xpZmZl?= ASP .Net 4 09-11-2006 01:09 PM
debugging in VS2005 using breakpoints Carlos ASP .Net 2 04-17-2006 07:54 PM
Debugging help VS2005 ! Ashish ASP .Net 0 12-30-2005 04:48 PM
vs2005 debugging on ws2k3 server gerry ASP .Net 6 12-23-2005 04:51 PM
Error in Debugging from VS2005 of ASP.NET 2.0 Site =?Utf-8?B?REVXcmlnaHRfQ0FAb25saW5lLm5vc3BhbQ==?= ASP .Net 1 11-17-2005 08:15 AM