Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chrisant996 opened this issue Feb 25, 2021 · 1 comment
Open

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

chrisant996 opened this issue Feb 25, 2021 · 1 comment

Comments

@chrisant996
Copy link

chrisant996 commented Feb 25, 2021

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.
@chrisant996
Copy link
Author

chrisant996 commented Feb 25, 2021

Oh, and the latest experimental build does not reproduce the ANSI escape code problem, so that appears to have been addressed.

However, I would still like to be able to build Console using the same development environment as the repo expects. (I can of course make local changes, but then I won't be able to verify whether pull requests from me will build correctly for others.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant