・VisualStudio2022communityをインストール
・ツールと機能から必要なパッケージをインストール

・vcxprojのWindowsTargetPlatformVersionとPlatformToolsetを利用しているWindowsビルドバージョンに合わせる
10.0.22000.0はWindows11のSDKで、v143はWindows11のこと。
<PropertyGroup Label="Globals">
<ProjectGuid>{75640BB7-FA6D-4DED-A074-E4758CCEF7D1}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>VirtualDesktopAccessor</RootNamespace>
<WindowsTargetPlatformVersion>10.0.22000.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
