Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Visual Studio 2008 trying to be "nice"... auto adding web.configVisual Studio 2008 trying to be "nice"... auto adding web.config
Previous
 
Next
New Post
7/23/2008 12:11 PM
 

I use the WAP method of developing modules, the following would only apply to WAP because the WSP method already includes web.config.  Long story short, when I add certain controls (I've noticed it the most with the ASP.NET AJAX Control ToolKit) to my ASCX files and/or open them up to edit later, Visual Studio thinks it is being really nice and generates a web.config on my behalf.  Of course I really don't want it there, however, and have to delete it before I can pull the module up in my portal.  If I leave the ASCX up it adds the file over and over again so long as I keep deleting it.  Waaaaay annoying.

Anybody else have this problem and know how to resolve it; how to tell VS to stop being so "nice"?


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
7/23/2008 4:17 PM
 

Can't promise this works, but try removing or renaming the web.config OUTSIDE of Visual Studio. Visual Studio then sees it as missing, but still compiles. It doesn't appear to add another one. Haven't fully tested this.

I think it's a Microsoft thing, to continue to be that "thoughtful" aunt who keeps buying you things you don't want or need! lol


Jason Honingford - Web & Software Developer
www.PortVista.com
 
New Post
7/30/2008 4:27 PM
 

Sorry I didn't reply until now... that little workaround works great.  Thanks!


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0Visual Studio 2008 trying to be "nice"... auto adding web.configVisual Studio 2008 trying to be "nice"... auto adding web.config


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out