I have recently had a rather strange problem with Visual Studio 2012:
- Project A (C ++ DLL) refers to Project B (C ++ static lib). No CLR.
- Project A is defined as my launch project (it has a debug command line set).
- After changing the file in project B and pressing CTRL + F5, VS2012 does not create project A before starting it. He is building project B !
Stages of research that I have already done:
- After changing a file in project C that neither A nor B refers to, CTRL + F5 creates neither A nor B. This is expected.
- After changing the file in project A itself, CTRL + F5 builds A. This is expected.
- I was able to reproduce this problem with project A 'and dependency B'.
- Configuration Manager: all projects are configured for my working configuration.
- VS Options:
- "On Run when projects are out of date:" = "Always build."
- "Only create run projects and run dependencies." Without this, he will simply build all my huge decision when starting Project A, which is unlikely to be wanted.
I should also note that I recently upgraded from Visual Studio 2010 (with which we did not have this problem).
I am fresh from ideas. Is anyone
source
share