Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 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 October 7th, 2006, 10:50 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default Application Configuration File

Been a while since a did this, and can't remember how I got it right. I add a config file to a Windows app, move it to the Debug directory, but when I build the project, the config file gets deleted? What up?

Bob

 
Old October 7th, 2006, 10:56 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,093
Thanks: 1
Thanked 12 Times in 11 Posts
Default

Never mind. Figured it out. I was just adding a config file with the same name as the app. Didn't have an App.config file. When I add the App.config file, the config file with the same name as the app gets placed in the Debug directory when I build.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Access / Modify Configuration File prasanna.nadgir C# 2 October 2nd, 2007 12:14 PM
Using Application Configuration Files semilemon C# 2005 17 April 24th, 2007 10:27 PM
Configuration file name and location TomH VB Databases Basics 2 September 29th, 2006 06:59 PM





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