Skip to content

Conversation

@Generalisk
Copy link

This pull request adds support for Visual Studio 2026. Previously, users were forced to use Visual Studio 2022, but this PR now allows users to optionally use the latest version of Visual Studio 2026 instead.

This PR adds an additional createallprojects script to generate the solution for the use in Visual Studio 2026 called createallprojects-vs2026.bat.

Thankfully, Visual Studio 2026 offers backward compatibility with Visual Studio 2022 so that VS2022 projects can be seamlessly upgraded to Visual Studio 2026. But there is one caveat with this when it comes to the Source Engine. The source engine uses MSVC version 143 to build the project, which is not supported in Visual Studio 2026. This dissuades people (such as me) from installing the component, which ends up resulting in this happening every time you regenerate the solution:

image

To resolve this, projects generated for Visual Studio 2026 will use MSVC v145 instead. Thankfully, the change in platform toolkit versions doesn't appear to cause any issues while building, but if you are experiencing compilation issues directly after upgrading, I suggest that you clean the solution and then rebuild it. If that doesn't work, please let me know in the comments.

image

Additionally, Visual Studio 2022 support was retained as to avoid forcing users to upgrade. Some users may be unable or unwilling to upgrade, whether it being their device not being able to run it, or because of certain features that VS2026 support (such as copilot).

The README has also been updated to accommodate for the added support of VS2026 & lists down the required components.

This is to make it clear that the script is for Visual Studio 2022.

Also, it makes it more consistent with it's VS2026 counterpart.
Generalisk added a commit to Generalisk/SourceSDK-Generalisk that referenced this pull request Jan 13, 2026
Bitl added a commit to BitlDevelopmentStudios/source-sdk-2013-bds-base that referenced this pull request Jan 20, 2026
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

Successfully merging this pull request may close these issues.

1 participant