Enterprise Library post-build event

Tuesday, 10 January 2006 14:01 by Greg

Normally Enterprise Library configuration files live in the main project directory next to your other configuration files.  However, at run-time the application often looks for those configuration files in the same directory, and that is not the main project directory (its the debug or release directory).  This is the quick and easy way to copy all of these configuration files is with a post-build event. 

copy $(ProjectDir)*.config $(ProjectDir)$(OutDir)

Tags:  
Categories:   Professional
Actions:   E-mail | Permalink | Comments (0) | Comment RSSRSS comment feed
Comments are closed