App.Config location

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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 said:
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 said:
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
 
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 said:
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 said:
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 said:
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
 
Back
Top