From 0669fbcc27e2e0480a7e8663e8ab311bf3d93ba1 Mon Sep 17 00:00:00 2001 From: Clint Rutkas Date: Wed, 18 Nov 2020 11:38:45 -0800 Subject: [PATCH] Renaming nativemethods --- .../editor/FancyZonesEditor/FancyZonesEditor.csproj | 7 ++++++- .../FancyZonesEditor/{Native.cs => NativeMethods.cs} | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) rename src/modules/fancyzones/editor/FancyZonesEditor/{Native.cs => NativeMethods.cs} (94%) diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj b/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj index 211435d465..f6d99f1cd4 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj +++ b/src/modules/fancyzones/editor/FancyZonesEditor/FancyZonesEditor.csproj @@ -152,7 +152,7 @@ - + GridEditorWindow.xaml @@ -267,6 +267,11 @@ 2.3.2 + + 3.3.1 + runtime; build; native; contentfiles; analyzers; buildtransitive + all + 12.2.5 diff --git a/src/modules/fancyzones/editor/FancyZonesEditor/Native.cs b/src/modules/fancyzones/editor/FancyZonesEditor/NativeMethods.cs similarity index 94% rename from src/modules/fancyzones/editor/FancyZonesEditor/Native.cs rename to src/modules/fancyzones/editor/FancyZonesEditor/NativeMethods.cs index 64da24667f..7982cd09b0 100644 --- a/src/modules/fancyzones/editor/FancyZonesEditor/Native.cs +++ b/src/modules/fancyzones/editor/FancyZonesEditor/NativeMethods.cs @@ -8,7 +8,7 @@ using System.Runtime.InteropServices; namespace FancyZonesEditor { // PInvokes to handshake with fancyzones backend - internal static class Native + internal static class NativeMethods { [DllImport("kernel32", SetLastError = true, CharSet = CharSet.Ansi)] public static extern IntPtr LoadLibrary([MarshalAs(UnmanagedType.LPStr)] string lpFileName);