Visual Studio 2010 debugger build correctly - compiler pdb and linker pdb not in synch?

The problem isn't with the pdb it's that the VS isn't correctly detecting when modules should be re-compiled.

The problem isn't with the pdb it's that the VS isn't correctly detecting when modules should be re-compiled. More specifically, I have a source-controlled code base that is tested via a suite of unit tests. The unit tests are keyed off of a main file, say MainTest.

Cpp, which has the int main(...) function that launches all of the tests. This is just a glue file and rarely changes. The files that change often are the test classes it imports.

Now, all my test classes are "header-less" i.e. All definitions/declarations are contained within one module (such as TestClass1. Cpp, TestClass2.

Cpp, etc...) mainly because they're just tests and I don't want the extra clutter. The problem is that when I make changes to TestClass1. Cpp and build, VS 2010 doesn't deem it necessary to re-build MainTest.

Cpp saying: Skipping... (no relevant changes detected) MainTest. Cpp Apparently this is a known issue, see: http://connect.microsoft.com/VisualStudio/feedback/details/99825/code-change-in-header-does-not-re-compile-correctly To correctly build, I have to force VS to re-compile MainTest.cpp. As a workaround, I put a "touch MainTest.

Cpp" in my project's Pre-Build Event. Some follow-up questions: Does MS intend to fix this? If so, have they?

Is there a better workaround?

I also want to note that VS 2005 detected these conditions correctly. My solution broke after importing to VS 2010. – user635242 Aug 2 at 20:52.

Solution is very simple. Just Exclude the file from the project (the one for which checksum issue occured). Include the same file again in project Rebuild whole project Thast it.

I hope this will resolve your problem. SAM.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions