no need to specify which visual studio your using
This commit is contained in:
parent
460b965a41
commit
a6d1bcd4a7
13
README.md
13
README.md
@ -67,16 +67,3 @@ mkdir -p x64\release\test
|
|||||||
x64\release\joomer-efsw-file-monitoring.exe
|
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
|
|
||||||
```
|
|
||||||
@ -25,6 +25,7 @@
|
|||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user