Fixed Vanara.PInvoke.Accessibility after TFM removal

pull/221/head
dahall 2021-03-23 21:27:32 -06:00
parent dac39367d6
commit dd0ba29025
2 changed files with 5 additions and 1 deletions

View File

@ -1,4 +1,4 @@
#if !(NET20 || NET35 || NET40 || NET45)
#if NETSTANDARD || NETCOREAPP2_1 || NETCOREAPP2_0
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

View File

@ -24,6 +24,10 @@ AccessibleChildren AccessibleObjectFromEvent AccessibleObjectFromPoint Accessibl
<ItemGroup Condition=" $(TargetFramework.StartsWith('net2')) Or $(TargetFramework.StartsWith('net3')) Or $(TargetFramework.StartsWith('net4')) ">
<Reference Include="Accessibility" />
</ItemGroup>
<PropertyGroup Condition=" $(TargetFramework.StartsWith('netcoreapp3')) ">
<ImportWindowsDesktopTargets>true</ImportWindowsDesktopTargets>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\..\Core\Vanara.Core.csproj" />
<ProjectReference Include="..\Shared\Vanara.PInvoke.Shared.csproj" />