Ah, now I remember what is wrong.
In SD 2.0, ReleaseBuild.bat sets the revision number to 2.0.0.x, but DebugBuild.bat doesn't reset it to 2.0.0.0. To fix the problem, run src/ResetAssemblyInfo.bat, then do a debug build.
More information is in doc/technotes/versioning.html