Reputation: 1770
I'm using VS.NET 2003 and VB.NET. I have placed my log4net.config file in the same folder as the source code and I want to automatically copy the log4net.config file to the bin folder just as the app.config file is copied to bin. Is there an automatic way to do this?
Upvotes: 1
Views: 1274
Reputation: 59
Add a post build event - Link
Something like:-
copy "$(ProjectDir)log4net.config" "$(ProjectDir)$(OutDir)"
should do it.
Upvotes: 0
Reputation: 21231
Include it as a resource, and choose copy always.
You can do this by:
I dont have my IDE open, so the steps might need a little tweaking.
Upvotes: 0