add refrence on pre-build
Date: 02/06/09
(C Sharp) Keywords: sql
Hello,
First of all, please excuse me for my english.
I have VS2005 Pro. Is there any simple way to programmatically add reference to project on pre-build?
I have a problem with SqlCe reference and bad-known "ProjectAssemblies" folder. So all I need is to add reference before build and remove it after the build. At the moment I'm doing it manually.
May be some VS macro? If not, then may be it could be done by writing a program which will edit solution file before building?
Thanks in advance.
Source: http://community.livejournal.com/csharp/100958.html