29 lines
1.5 KiB
XML
29 lines
1.5 KiB
XML
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<ImportGroup Label="PropertySheets">
|
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
|
</ImportGroup>
|
|
|
|
<ItemGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
<ProjectCapability Include="PackageReferences" />
|
|
</ItemGroup>
|
|
|
|
<PropertyGroup Condition="'$(MSBuildProjectExtension)' == '.vcxproj'">
|
|
<!-- NuGet 包恢复配置 -->
|
|
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
|
|
<NuGetPackageImportStamp>true</NuGetPackageImportStamp>
|
|
|
|
<!-- 目标平台和框架配置 -->
|
|
<Platform Condition="'$(Platform)' == ''">x64</Platform>
|
|
<TargetFramework>native</TargetFramework>
|
|
|
|
<!-- NuGet 包路径配置 -->
|
|
<NuGetPackageRoot Condition="'$(NuGetPackageRoot)' == ''">$(UserProfile)\.nuget\packages</NuGetPackageRoot>
|
|
|
|
<!-- WebView2 配置 -->
|
|
<WebView2LoaderPreference>Static</WebView2LoaderPreference>
|
|
|
|
<!-- NuGet 目标框架配置 -->
|
|
<NuGetTargetMoniker Condition="'$(NuGetTargetMoniker)' == ''">native,Version=v0.0</NuGetTargetMoniker>
|
|
<RuntimeIdentifiers Condition="'$(RuntimeIdentifiers)' == ''">win;win-x86;win-x64;win-arm;win-arm64</RuntimeIdentifiers>
|
|
</PropertyGroup>
|
|
</Project> |