diff --git a/SpecProbe.Native/Initializer.cs b/SpecProbe.Native/Initializer.cs index 231bee3..ecfc185 100644 --- a/SpecProbe.Native/Initializer.cs +++ b/SpecProbe.Native/Initializer.cs @@ -40,15 +40,15 @@ internal static void InitializeNative() if (!File.Exists(libPath)) throw new Exception("Can't load specprober library because it isn't found."); libManager = new LibraryManager( - new LibraryItem(NativeLand.Platform.Windows, Architecture.X86, + new LibraryItem(Platform.Windows, Architecture.X86, new LibraryFile(libPath)), - new LibraryItem(NativeLand.Platform.Windows, Architecture.X64, + new LibraryItem(Platform.Windows, Architecture.X64, new LibraryFile(libPath)), - new LibraryItem(NativeLand.Platform.MacOS, Architecture.X64, + new LibraryItem(Platform.MacOS, Architecture.X64, new LibraryFile(libPath)), - new LibraryItem(NativeLand.Platform.Linux, Architecture.X64, + new LibraryItem(Platform.Linux, Architecture.X64, new LibraryFile(libPath)), - new LibraryItem(NativeLand.Platform.Linux, Architecture.X86, + new LibraryItem(Platform.Linux, Architecture.X86, new LibraryFile(libPath))); libManager.LoadNativeLibrary(); _initialized = true; diff --git a/SpecProbe.Native/SpecProbe.Native.csproj b/SpecProbe.Native/SpecProbe.Native.csproj index dea5dde..206933e 100644 --- a/SpecProbe.Native/SpecProbe.Native.csproj +++ b/SpecProbe.Native/SpecProbe.Native.csproj @@ -46,7 +46,7 @@ - +