Why does web.config get updated?

  • Thread starter Thread starter Frank Rizzo
  • Start date Start date
F

Frank Rizzo

I have a solution with a web service as the starting project. The web
service references other projects in the solution, which in turn access
other assemblies (some of which are in the GAC). When I run, VS2005
stuffs a bunch of assemblies (that are 2 or 3 levels removed from the
web service) into into web.config into the
configuration/compilation/assemblies.

This is really annoying. How can I turn it off?

Thanks.
 
Hello Frank,

If I understood you correctly, u are uusing the Website solution instead
of Web project one. And in WebSite solution all references are stored in
web.config, not in the reference folder as in the normal project

To solve this u need to convert your website to webproject

---
WBR,
Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

"The greatest danger for most of us is not that our aim is too high and we
miss it, but that it is too low and we reach it" (c) Michelangelo


FR> I have a solution with a web service as the starting project. The
FR> web service references other projects in the solution, which in turn
FR> access other assemblies (some of which are in the GAC). When I run,
FR> VS2005 stuffs a bunch of assemblies (that are 2 or 3 levels removed
FR> from the web service) into into web.config into the
FR> configuration/compilation/assemblies.
FR>
FR> This is really annoying. How can I turn it off?
FR>
FR> Thanks.
FR>
 
Back
Top