I am writing an effect plugin, which successfully builds to windows and authoring.
However after I have premaked the solution for PS5 and XboxSeriesX it flags error MSB8020 "build tools for v142 cannot be found".
The toolset is definitely installed as other projects dont have this problem.
Similarly to this question
https://www.audiokinetic.com/qa/12151/failing-compile-effect-plugin-wwise-windows-visual-studio?show=12151#q12151 , premake console shows that it is running action for 2017 but also for 2019 and 2022. I am using the v160 (VS2019) project, the same as for Authoring and Windows.
Retargeting the project is not available in Visual Studio so at a bit of a loss what to do.
As an aside, I notice that the build target for Xbox is a dll and a lib, the same as the windows build. Is it necessary to build specifically for Xbox or can i simply copy the windows build to the Xbox directory before packaging?