SpiderPig Posted November 29, 2023 Share Posted November 29, 2023 I running Visual Studio 22 v17.8.2 and Release will no longer compile. I have the latest Ultra update. I tried rolling back VS to before the last update but it only goes back once it seems and then the option to roll back is no longer available. What do you suggest here @Josh? Do we hold off updating VS until you've updated on your end? Quote Link to comment Share on other sites More sharing options...
Josh Posted November 29, 2023 Share Posted November 29, 2023 It looks like they just put out an update. I am on 17.8.0. It is very rare for VS to break compatibility between updates, even between major versions (i.e. 2019-2022) I don't know for sure that is the problem but I will update to 17.8.2 today. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted November 30, 2023 Author Share Posted November 30, 2023 Okay, I'll just keep reporting if it breaks again. Quote Link to comment Share on other sites More sharing options...
Solution Josh Posted November 30, 2023 Solution Share Posted November 30, 2023 Make sure "whole program optimization" is disabled in the VS project settings. Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted November 30, 2023 Author Share Posted November 30, 2023 I disabled it for release mode but still won't compile. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 30, 2023 Share Posted November 30, 2023 Did you try creating a new project and making sure that also does not work? Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
SpiderPig Posted November 30, 2023 Author Share Posted November 30, 2023 ...I hadn't, but just did and that worked. I'll see what settings are different. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted November 30, 2023 Author Share Posted November 30, 2023 Got it working. There are two "whole program optimization" options. One in "C++\Optimization" and another in the "Advanced" section of Configuration Properties". I changed the "Advanced" one which is why it didn't work. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.