Skip to content

Cake build fails if only Visual Studio 2017 installed #2170

Closed
@rprouse

Description

@rprouse

I am working on a new computer with only Visual Studio 2017 installed. I can build the solution fine in Visual Studio, but when I try to build using Cake, I get the error,

========================================
Build45
========================================
Executing task: Build45
Microsoft (R) Build Engine version 4.7.2046.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.

CSC : error CS1617: Invalid option '6' for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default [C:\src\nunit\nunit\src\NUnitFramework\framework\nunit.framework-4.5.csproj]
An error occured when executing task 'Build45'.

I am using Visual Studio 2017 15.2 (26430.6) release.

Metadata

Metadata

Assignees

Labels

is:buildpri:criticalUse this to indicate a hotfix may be necessary

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions