Wrox Programmer Forums
.NET 4.5.1 and Visual Studio 2013 General Discussions For discussing anything about .NET 4.5.1, WPF, WCF, the rest of the .NET 4.5.1 Framework, and Visual Studio 2013 that isn't about a specific Wrox book. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the .NET 4.5.1 and Visual Studio 2013 General Discussions section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 7th, 2016, 01:37 PM
Friend of Wrox
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Can't change web.config while running?

When I try to change appsettings in web.config VS 2013 says:

Saving the file "web.config" requires you to stop your debug session. Would you like to stop debugging now?

Well, no, I would not like to stop debugging. Restarting this program and drilling down to the place where this change should be visible is a PITA!

I was able to change web.config in previous versions of VS while running. I don't understand why changing appsettings should require recompilation; they're explicitly read when consumed.

Can anybody explain why this has changed? Is there some VS option I can change to restore that functionality? Need I implement the INI file that web.config was supposed to eliminate? Thanks, MS!

Similar Threads
Thread Thread Starter Forum Replies Last Post
App.Config and Web.Config conflict John.Burke ASP.NET 2.0 Professional 5 March 9th, 2010 11:51 AM
Config Error Running Time Tracker Solution Margaret BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 3 June 23rd, 2009 06:52 AM
Change web config at runtime louisa68 ASP.NET 3.5 Basics 23 February 23rd, 2009 06:57 AM
Fix for Web.config Error in ...\Chapter01\LINQforBinding Web Sites rogerj BOOK: Professional ADO.NET 3.5 with LINQ and the Entity Framework ISBN: 978-0-470-22988-0 0 February 18th, 2009 01:59 PM
web.config vs. app.config darlo Visual Studio 2005 11 August 20th, 2008 07:23 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.