1

I have this Windows Form application that is a single application.

I recently created a ASP .NET Web Service on a server and added a Service Reference to this Web Service in my app.

It looks like it is forcing me to use an app.config now.

Is there a way to somehow prevent the creation of this file and have those settings embedded within the app.

I did some web searches on google and on stack overflow but wasn't able to come up with anything useful.

Thanks!

Joel Coehoorn
  • 399,467
  • 113
  • 570
  • 794
JoshF
  • 159
  • 4
  • 15
  • Embedding a config within the executable goes against the whole point of it being a config in the first place – Aaron McIver Feb 16 '11 at 22:42
  • possible duplicate of [Consume a SOAP web service without relying on the app.config](http://stackoverflow.com/questions/3703844/consume-a-soap-web-service-without-relying-on-the-app-config) – devnull Mar 19 '14 at 03:26

0 Answers0