views:

176

answers:

1

I have 2 projects in my VS2005 solution: Exe.csproj and Dll.csproj

Dll.csproj has an app.config

Exe.csproj has a project reference to Dll.csproj

If I compile Exe.csproj, than Dll.dll and Dll.pdb will be automatically copied to Exe/bin/debug, but Dll.dll.config not.

Is there any way to get Dll.dll.config in Exe/bin/debug without post build event technique?

A: 

Right click on the file (Dll.dll.config) and view it's properties.

Set Copy to Local to True. This will put the file in the output directory automatically.

Kindness,

Dan

Daniel Elliott
This will copy to Dll\bin\debug but not to Exe\bin\debug
Zhenya
Sorry, you are right %)
Zhenya
No that is not work, I have looked in wrong directory. (
Zhenya