From a1e9d85962bebcb6925783934c7c7eff687a5faa Mon Sep 17 00:00:00 2001 From: Jason Ly Date: Thu, 1 Jan 2026 16:48:51 -0500 Subject: [PATCH] add troubleshooting tips to README --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 109cab2..d4703c3 100644 --- a/README.md +++ b/README.md @@ -62,9 +62,19 @@ cd joomer-efsw-file-monitoring git switch ProposedCleanup curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image.h curl -LO https://raw.githubusercontent.com/nothings/stb/master/stb_image_write.h -msbuild joomer-efsw-file-monitoring.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v145 +msbuild joomer-efsw-file-monitoring.vcxproj /p:Configuration=release /p:Platform=x64 mkdir -p x64\release\test x64\release\joomer-efsw-file-monitoring.exe ``` +## Troubleshooting +If you receive Error MSB8020, you need to retarget your project +When you build, add /p:PlatformToolset=v### with the correct version number depending on which Visual Studio you have installed +Visual Studio Version,Toolset Name,Internal Version Number +Visual Studio 2022,v143,14.3x - 14.4x +Visual Studio 2019,v142,14.2x +Visual Studio 2017,v141,14.1x +Future / Preview,v145,14.5x (Likely VS 2025/Next) +For example, if your using Visual Studio 2022 +msbuild joomer-efsw-file-monitoring.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143 \ No newline at end of file