Skip to content

Visual Studio 2026 Update #169

@jobennup-dev

Description

@jobennup-dev

Microsoft only allows community downloads for Visual Studio 2026 now and nw-gyp fails when trying to compile with the newest version.

I was able to update nw-gyp to work with VS 2026 with the following changes to nw-gyp/find-visualstudio.js

Add to line 265:
if(ret.versionMajor === 18) {
ret.versionYear = 2026
return ret
}

Add to line 312:
else if(versionYear === 2026) {
return 'v145'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions