Skip to content

Cake Build Fails with Visual Studio 2019 #3193

Closed
@rprouse

Description

@rprouse

My current machine only has Visual Studio 2019 installed. Running the Cake build;

.\build.ps1 -Target Build

Gives the error

========================================
Build
========================================
An error occurred when executing task 'Build'.

----------------------------------------
Teardown
----------------------------------------
Error: One or more errors occurred.
        MSBuild: Could not locate executable.

Removing the line settings.ToolVersion = MSBuildToolVersion.VS2017 doesn't help. We should be able to build using newer versions of Visual Studio even if our minimum version is lower.

I am seeing the same thing in the adapter project, but not in the NUnit Console project. I will look at the MSBuildSettings there to see if I can figure it out.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions