[Issue 19803] New: Add support for latest VS 2019 16.1.0

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 12 09:35:19 UTC 2019


https://issues.dlang.org/show_bug.cgi?id=19803

          Issue ID: 19803
           Summary: Add support for latest VS 2019 16.1.0
           Product: D
           Version: D2
          Hardware: All
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: visuald
          Assignee: nobody at puremagic.com
          Reporter: petar.p.kirov at gmail.com

I had installed VS 2019 + VisualD v0.49.0 and everything was working smoothly.
Thanks for the awesome work, by the way!

Today I upgraded my VS 2019 to "16.1.0 Preview 1.0" and I got this message when
trying to build a dmd:

1>C:\Program Files (x86)\VisualD\msbuild\dcompile.targets(136,5): error
MSB4062: The "dbuild.CompileD" task could not be loaded from the assembly
C:\Program Files (x86)\VisualD\msbuild\dbuild.16.0.dll. Could not load file or
assembly 'Microsoft.Build.CPPTasks.Common, Version=16.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot
find the file specified. Confirm that the <UsingTask> declaration is correct,
that the assembly and all its dependencies are available, and that the task
contains a public class that implements Microsoft.Build.Framework.ITask.
1>Done building project "dmd.vcxproj" -- FAILED.

After the update, the version of "Microsoft.Build.CPPTasks.Common.dll" is
16.0.28803 (under "C:\Program Files (x86)\Microsoft Visual
Studio\2019\Preview\MSBuild\Microsoft\VC\v160"), so I suspect that the problem
is due to the different version.

This may be difficult to solve right now, as the latest VS SDK Nuget package is
16.0.200 (https://www.nuget.org/packages/microsoft.visualstudio.sdk), so I
don't know whether that would be compatible with VS 2019 16.1.0.

--


More information about the Digitalmars-d-bugs mailing list