Getting following error LNK1104 cannot open file 'kernel32.lib', what path do i need to add, and where to add it in Visual Studio 2022.
I looked at previous threads, most solutions are for older versions of Visual Studio, can't find the configurations in newer version of Visual studio.
Make sure that you have installed the required Windows SDK.
kernel32.libis part of a Windows Kit.Example path from my Windows 10 system:
Visual Studio configuration
Project > Properties > VC++ Directories > Include Directoriesmight be broken. Restore it to$(VC_IncludePath);$(WindowsSDK_IncludePath).