I have a solution that contains web-site and couple of dependent projects. I need to build this solution with MSBuild. The issue is that I need to build site itself only to resolve references and then just throw away results of build. I’ve taken a look on the solution .metaproj file, but it only contains target that allows me to build site. I’m using it, as it also resolves that references. It’s not a critical issue, but in my case it takes two minutes of total fife to build that site itself.
Sure I can build dependent projects manually and then just copy build results… But every time new reference is added it will require modifications of build file.
So is there smart way doing this?
Just build it. Consider building it in parallel with /m, but other than writing your own half-compiler, you should just let the build system do this for you.