Bug 12922 – Solution is always rebuilt in Visual Studio 2010
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
visuald
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2014-06-14T12:42:00Z
Last change time
2014-06-28T11:17:24Z
Assigned to
nobody
Creator
arietto86
Comments
Comment #0 by arietto86 — 2014-06-14T12:42:36Z
IDE: Visual Studio 2010.
OS: Windows 7 x86.
VisualD version: 0.3.38-1.
Basic console project was created with the main.d file, which contained:
---------------
import std.stdio;
int main(string[] argv)
{
writeln("Hello D-World!");
return 0;
}
--------------
After the 1st successful build when I try to debug the same source, I've got:
------ Build started: Project: ConsoleApp9, Configuration: Debug Win32 ------
Building Debug\ConsoleApp9.exe...
Debug\ConsoleApp9.exe not up to date: link dependency file d:\temp\ConsoleApp9\ConsoleApp9\Debug\ConsoleApp9.lnkdep does not exist
Converting debug information...
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
It it possible to avoid abundant rebuild?
Comment #1 by r.sagitario — 2014-06-14T13:36:48Z
I've seen in it on one other system, too. The dependency tracking for the linker seems to fail.
You can disable it in the "Projects and Solutions->Visual D Settings" setup page by unchecking "Monitor OPTLINK dependencies". It only has effect on the build if implicitely linked libraries are modified.