Merge pull request #185 from windows-toolkit/fixBuildWarnings
Fix build warnings
This commit is contained in:
Коммит
a11d84d8c1
|
@ -61,8 +61,9 @@
|
|||
<NoWarn>1591</NoWarn>
|
||||
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
|
||||
<OutputPath>bin\$(Platform)\$(Configuration)</OutputPath>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'net462'">
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
<TargetPlatformMinVersion Condition="'$(TargetPlatformMinVersion)'==''">10.0.17134.0</TargetPlatformMinVersion>
|
||||
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -20,9 +20,6 @@
|
|||
</Description>
|
||||
<PackageTags>Win32 WindowsForms UWP XAML</PackageTags>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
</Description>
|
||||
<PackageTags>XAML Islands Win32 Forms WindowsForms WinForms XamlHost</PackageTags>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWindowsForms>true</UseWindowsForms>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -67,10 +64,6 @@
|
|||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Toolkit.Win32.UI.XamlApplication.Package\Microsoft.Toolkit.Win32.UI.XamlApplication.Package.csproj" >
|
||||
<PrivateAssets>analyzers</PrivateAssets>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<SuppressDependenciesWhenPacking>true</SuppressDependenciesWhenPacking>
|
||||
<IncludeBuildOutput>false</IncludeBuildOutput>
|
||||
<IsTool>true</IsTool>
|
||||
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);NETSDK1106</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
<PackageId>Microsoft.Toolkit.UI.XamlHost</PackageId>
|
||||
<IsWpfProject>true</IsWpfProject>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
<MSBuildWarningsAsMessages>$(MSBuildWarningsAsMessages);NETSDK1106</MSBuildWarningsAsMessages>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -17,9 +17,6 @@
|
|||
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
|
||||
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -23,9 +23,6 @@
|
|||
<DefineConstants>$(DefineConstants);WPF</DefineConstants>
|
||||
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
|
|
|
@ -13,9 +13,6 @@
|
|||
<PackageTags>XAML Islands Win32 WPF XAMLHost</PackageTags>
|
||||
<PackageId>Microsoft.Toolkit.Wpf.UI.XamlHost</PackageId>
|
||||
<Platforms>x64;x86;AnyCPU</Platforms>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(TargetFramework)' == 'netcoreapp3.0'">
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -56,10 +53,6 @@
|
|||
<None Include="VisualStudioToolsManifest.xml" Pack="true" PackagePath="tools" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.VCRTForwarders.140" Version="1.0.2-rc" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Microsoft.Toolkit.Win32.UI.XamlApplication.Package\Microsoft.Toolkit.Win32.UI.XamlApplication.Package.csproj">
|
||||
<PrivateAssets>analyzers</PrivateAssets>
|
||||
|
|
Загрузка…
Ссылка в новой задаче