add troubleshooting tips to README

This commit is contained in:
Jason Ly 2026-01-01 16:48:51 -05:00
parent 54b22488af
commit a1e9d85962

View File

@ -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