Skip to content

Commit

Permalink
Fixed Vanara.PInvoke.Accessibility after TFM removal
Browse files Browse the repository at this point in the history
  • Loading branch information
dahall committed Mar 24, 2021
1 parent dac3936 commit dd0ba29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion PInvoke/Accessibility/Oleacc-Intf-CoreStd.cs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 4 additions & 0 deletions PInvoke/Accessibility/Vanara.PInvoke.Accessibility.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
Expand Down

0 comments on commit dd0ba29

Please sign in to comment.