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

VS2022 support #1260

Open
pablo-msft opened this issue Apr 2, 2024 · 5 comments
Open

VS2022 support #1260

pablo-msft opened this issue Apr 2, 2024 · 5 comments

Comments

@pablo-msft
Copy link

Add support for building in VS2022.

1ds only detects vs2017 or vs2019. So when installing packages, if vs2019 is installed the various packages must be installed in 2019 and not 2022.

@maxgolov
Copy link
Contributor

maxgolov commented Apr 2, 2024

Have you tried build-all-v143.bat:

https://github.com/microsoft/cpp_client_telemetry/blob/main/build-all-v143.bat

@echo off

set VSTOOLS_VERSION=vs2022
set PlatformToolset=v143
call build-all.bat

image

@pablo-msft
Copy link
Author

Nice. I can use that.

That script is not documented anywhere, and the Windows documentation specifically does not make note of VS2022.

@maxgolov
Copy link
Contributor

maxgolov commented Apr 2, 2024

It's documented in README - Build issues are in general out of the support scope due to the unlimited number of build flags combinations.. https://github.com/microsoft/cpp_client_telemetry/pulls?q=is%3Apr+is%3Aclosed+vs2022 - if you feel that something is missing, best way to fix this is to send in a PR.

@lalitb
Copy link
Contributor

lalitb commented Apr 16, 2024

@pablo-msft can this be closed ?

@pablo-msft
Copy link
Author

@latitb I think this can be retitled, since VS2022 can be used, but should not be closed.

I acknowledge that build issues are out of support scope, due to consumers of the library using any combination of flags. However, there is a clear need for documentation of said flags or capabilities, so that new consumers can make informed decisions and use the capabilities of the 1DS library. Visual Studio is the tool that 1DS suggests using to compile its code package for Windows, and it is unclear how to configure it in the first place.

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

No branches or pull requests

3 participants