Skip to content

Commit

Permalink
exclude win32 native from dotnet 6 build
Browse files Browse the repository at this point in the history
  • Loading branch information
jetersen committed Nov 25, 2021
1 parent 50563a6 commit c3d2b7f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Spectre.IO/Internal/Native/Win32.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
#if !NET6_0_OR_GREATER
using System.Runtime.InteropServices;

namespace Spectre.IO.Internal
{
Expand All @@ -14,3 +15,4 @@ public enum SymbolicLink
public static extern bool CreateSymbolicLink(string lpSymlinkFileName, string lpTargetFileName, SymbolicLink dwFlags);
}
}
#endif

0 comments on commit c3d2b7f

Please sign in to comment.