Avoid System.Net.Http compile error when targeting net472
This commit is contained in:
Родитель
2da647834c
Коммит
dfd69e0a9d
|
@ -4,5 +4,10 @@
|
|||
<EmbedUntrackedSources Condition=" '$(UseWPF)' == 'true' ">false</EmbedUntrackedSources>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<!-- Avoid compile error about missing namespace when combining ImplicitUsings with .NET Framework target frameworks. -->
|
||||
<Using Remove="System.Net.Http" Condition="'$(TargetFrameworkIdentifier)'=='.NETFramework'" />
|
||||
</ItemGroup>
|
||||
|
||||
<Import Project="$(_WpfTempProjectNuGetFilePathNoExt).targets" Condition="'$(_WpfTempProjectNuGetFilePathNoExt)' != '' and Exists('$(_WpfTempProjectNuGetFilePathNoExt).targets')"/>
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче