Skip to content

ConsoleZ.sln uses v142 toolset but is in VS2017 format? #540

@chrisant996

Description

@chrisant996

What configuration should I be using to compile Console?

I'm trying to compile Console because I want to track down and offer a fix for what may be a bug in ANSI escape code handling in a particular case. (I see in the wiki that Console doesn't process ANSI escape codes. The issue occurs only in Console, not in conhost or ConEmu or Windows Terminal. I want to examine Console in the debugger to be able to identify how/whether it's somehow involved. Regardless, I want to be able to build it to test changes since the April 2019 release, and to be able to potentially contribute in the future.)

When I start ConsoleZ.sln, it gets auto-detected as a VS2017 solution and loads in VS2017. But when trying to build in VS2017 it reports errors because the vcxproj files target the v142 toolset, which is part of VS2019. Looking at source logs for the vcxproj files, they were explicitly changed to reference "v142" toolset and the commit description mentions Visual Studio 2019. VS2019 refuses to open the ConsoleZ.sln file without converting it to VS2019, so it seems that I'm having trouble replicating the intended build environment.

Background:

  • I'm the current maintainer of Clink and am well versed in C++ and Visual Studio in general.
  • I have both VS2017 Enterprise and VS2019 Enterprise installed side by side, and keep them fully updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions