开发者

WCF web.config is getting overwritten after every compilation?

I have a Silverlight application calling a WCF service. SimplehttpBinding stuff.

  1. Every I make changes to silverlight xaml code, the web.config gets refrshed also.
  2. Even if make any changes to web.cofig file开发者_如何学JAVA, they get overwritten too.

Its as if, some other process is writing these files. Why is that happening? How can I make sure that it does not get overwritten after every compile?


Check your solution if you have another web.config in a different directory with property Copy to output directory set to Copy Always.

I had a similar problem before I realized I had that property set.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜