开发者

How to resolve website references with MSBuild without building website?

开发者 https://www.devze.com 2023-02-02 03:42 出处:网络
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

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开发者_StackOverflow 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消