dlang / visuald

Visual D - Visual Studio extension for the D programming language
http://rainers.github.io/visuald/visuald/StartPage.html
Boost Software License 1.0
288 stars 70 forks source link

VS2022 create project wizard not working or VS2022 integration issue #260

Closed dlangBugzillaToGithub closed 9 months ago

dlangBugzillaToGithub commented 1 year ago

turkeyman reported this on 2023-08-30T07:19:20Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=24119

CC List

Description

Fresh installation of VS2022 Community Fresh installation of VisualD 1.4.0-beta File > New -> Project Choose "D/VC++ based Windows Application" Configure a default console app and create the project Press build, and receive this error:

1>C:\Program Files (x86)\VisualD\msbuild\dcompile.targets(192,5): error MSB4062: The "dbuild.CompileD" task could not be loaded from the assembly C:\Program Files (x86)\VisualD\msbuild\dbuild.17.5.dll. Could not load file or assembly 'Microsoft.Build.CPPTasks.Common, Version=17.5.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. Confirm that the 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.

dlangBugzillaToGithub commented 1 year ago

turkeyman commented on 2023-08-30T07:21:13Z

VS version 17.7.3

dlangBugzillaToGithub commented 11 months ago

r.sagitario commented on 2023-10-03T06:43:59Z

Hi! It's good that MS provides updates with new features on a regular basis, but unfortunately that also makes Microsoft.Build.CPPTasks.Common.dll incompatible every time.

I am on the Preview version of VS, so I only have the 17.8 version ATM, but I can get the appropriate version to link against from my office computer later. Stay tuned...

rainers commented 9 months ago

added support for VS 17.5 to 17.9 in https://github.com/dlang/visuald/releases/tag/v1.4.0-beta2