开发者

Did Visual Studio 2010 break "Project Dependencies" between C++ projects?

In Visual Studio 2008, if I had a solution containing multiple C++ projects, I could make them depend on each-other and correctly link by using the "Project Dependencies" option. This fixed up the build order and also made (e.g.) the main application project link against the static library outputs.

In Visual Studio 2010, this doesn't seem to work. Did Visual Studio 201开发者_Python百科0 change the way this works?


Yes. You also need to add a Reference to the depended-upon project. This is not just for managed C++ (or C++/CLI) applications any more.

The Visual C++ Team Blog has an entry about this: Flexible Project-to-Project References.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜