473,395 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

App.Config location

All,

I would like to know where I should place the app.config file during
development? Should it be where the solutions files are?

Thanks
Msuk
Nov 16 '05 #1
3 8661
Hi,

Yes, I think it has to be in the root folder of project.
It will be renamed and copied to the target folder upon build.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
All,

I would like to know where I should place the app.config file during
development? Should it be where the solutions files are?

Thanks
Msuk

Nov 16 '05 #2
Hi,

This is where I have placed it but when I perform a build it is not moved to
the bin folder. I am using a app.config for a library solution.

Thnaks
Msuk

"Miha Markic [MVP C#]" wrote:
Hi,

Yes, I think it has to be in the root folder of project.
It will be renamed and copied to the target folder upon build.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
All,

I would like to know where I should place the app.config file during
development? Should it be where the solutions files are?

Thanks
Msuk


Nov 16 '05 #3
App.config is good only for executables...
Library doesn't use it at all.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:02**********************************@microsof t.com...
Hi,

This is where I have placed it but when I perform a build it is not moved
to
the bin folder. I am using a app.config for a library solution.

Thnaks
Msuk

"Miha Markic [MVP C#]" wrote:
Hi,

Yes, I think it has to be in the root folder of project.
It will be renamed and copied to the target folder upon build.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
SLODUG - Slovene Developer Users Group
www.rthand.com

"msuk" <ms**@discussions.microsoft.com> wrote in message
news:C2**********************************@microsof t.com...
> All,
>
> I would like to know where I should place the app.config file during
> development? Should it be where the solutions files are?
>
> Thanks
> Msuk


Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Suresh Gladstone | last post by:
Hi, This is a bit with versioning and installation of the .NET dlls. I want to perform the following, 1. A third party application will be invoking my .NET dll through COM interop . For this I...
4
by: Simon Harvey | last post by:
Hi chaps, Can someone tell me the following: If I declare a site wide config file and then want to overide it in a secure directory, do I need to have a complete config file, or can I just...
5
by: BPearson | last post by:
Hello I would like to have several sites share a single web.config file. To accomplish this, I would point the root of these sites to the same folder. Is there any reason why I might not want to...
4
by: Bennett Haselton | last post by:
If I add this to my web.config file: <authentication mode="Forms"> <forms name=".ASPXUSERDEMO" loginUrl="login.aspx" protection="All" timeout="60" /> </authentication> I can configure the...
9
by: Benny Ng | last post by:
Hi,all, How to let the sub-directory to avoid the authentication control from Root's webconfig? I heard that we can add a new web.config to the sub-directory. And then we can slove the problem....
5
by: Eric Sabine | last post by:
This situation requres many exes to be sitting on a network share. I would like all of these to use the same app.config file, which will be stored in the same location on the network. A quick...
13
by: Khodr | last post by:
Hello, I am using VS.NET 2003 and vb. I build my application MyApp and it generates MyApp.exe.config. So now MyApp.exe reads parameters from MyApp.exe.config. Great and no problem! I need to...
5
by: Andrew | last post by:
Hi, I have a default.aspx which allows the user to choose between module Admin and module B. When the user clicks either one, he will be redirected to a FormsAuthentication login page. The...
5
by: mmcd79 | last post by:
I built a VB.net application that makes use of a machine level DB connection string setting, and a user level starting location setting. The machine level setting and the default user based...
8
by: Andrus | last post by:
..NET 2 Winforms application. How to create new setting and set it default value in userSettings section of app.config file or overwrite existing setting value ? I found code below in this list...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.