I've got a solution with several different projects in it, some are pure class libraries and some are web app projects. If I want my default types to be available to all projects, where should I put the config file for the container?
+1
A:
Maybe this question could be helpful to you:
> http://stackoverflow.com/questions/71608/how-do-you-set-up-your-net-development-tree
Ricky AH
2008-09-17 09:39:11
+1
A:
What I tend to do is to create it in the solution root directory. Then, for each project that needs it, I do :
- right click->Add Existing
- Browse to, and select file
- Click on down arrow and select "Add as link"
- Select the file in the project
- Properties
- Build Action -> Content
- Copy To Output Directory -> Copy if newer
Then, when you initialise your Dependency Inject framework, you can use something like Server.MapPath("~/bin/filename.config")
.
David Kemp
2008-10-17 23:36:46