Merged PR 712621: Fix MSBuildHelloWorldExample

Be explicit about out and intermediate dirs in the msbuild project example (so thep predictors get that right).  Update the platform toolset as well so it works with VS2022

Related work items: #2047654
This commit is contained in:
Serge Mera 2023-04-12 22:32:25 +00:00
Родитель 621bffcfc4
Коммит e4a27667e4
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -12,7 +12,9 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.default.props" />
<PropertyGroup> <PropertyGroup>
<ConfigurationType>Application</ConfigurationType> <ConfigurationType>Application</ConfigurationType>
<PlatformToolset>v142</PlatformToolset> <PlatformToolset>v143</PlatformToolset>
<OutDir>Bin\</OutDir>
<IntermediateOutputPath>Object\</IntermediateOutputPath>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ItemGroup> <ItemGroup>