-
-
Notifications
You must be signed in to change notification settings - Fork 626
-
-
Notifications
You must be signed in to change notification settings - Fork 626
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
Support building with Visual Studio 2022 #13033
Comments
AppVeyor now supports this: https://www.appveyor.com/blog/2021/11/10/visual-studio-2022-image/ |
For SCons, they said today or tomorrow, but that was the day before
yesterday.
|
This was reverted by #13387 |
The fact that the uia library doesn't build on VS2022 is definitely an issue in our build environment. Running msbuild from the vs2022 developer command prompt works just fine. |
Fix-up of #13387 Fixes #13033 Summary of the issue: Pr #13387 introduced support for custom UIA extensions, there by using the Microsoft UIA Automation remote operations library. This pr disabled building support for Visual Studio 2022. This has now been solved. Description of how this pull request fixes the issue: Fixes build on Visual Studio 2022 by ensuring that the windir environment variable is available. This should eventually be fixed in scons itself, though there's a note in their source code stating that adding environment variables to the basic set that's imported from os.environ should be considered very carefully.
This issue should be reopened, since NVDA doesn't yet support building with VS 2022 build tools. Is this still under investigation and blocked by issues in the UIA remote ops library? |
You should be able to install the VS2019 toolset with VS2022 build tools
as well, I assume?
|
@codeofdusk @LeonarddeR |
Please provide logging output if possible. I have no idea where to
start. I have VS 2022 enterprise installed on both systems and both
environments work like a charm as long as I have the VS2019 build tools
installed.
|
Is your feature request related to a problem? Please describe.
Visual Studio 2022 is to be released next week. NVDA builds with Visual Studio 2019.
Describe the solution you'd like
Support building with Visual Studio 2022. We can decide to support 2019 and up, but as soon as appveyor supports 2022, it makes sense to drop 2019 support altogether.
Additional context
Blocked by a new SCons release. Visual Studio 2022 support is in master but is awaiting a new release.
The text was updated successfully, but these errors were encountered: