Visual Studio 2008, MSBuild: "replacement" projects
Posted
by liori
on Stack Overflow
See other posts from Stack Overflow
or by liori
Published on 2010-05-24T23:24:02Z
Indexed on
2010/05/25
19:11 UTC
Read the original article
Hit count: 230
Hello,
My solution has a library project which needs a special environment to be built (lots of external libraries and tools)... but it is not vital to our application. We'd like to avoid installing these tools when not necessary (most of our developers work on other parts of code).
We have created another project which has the same API, but has an empty implementation and is compilable without those external tools. I'd like to be able to easily switch between those projects and still get all the references in other projects correct.
I don't know VS/MSBuild very well, but willing to learn whatever is necessary. Is it possible? I am looking for ideas... We're using Subversion, and solutions involving some hacks inside VCS are also welcome.
© Stack Overflow or respective owner