diff --git a/Test/Program.cs b/Test/Program.cs
index 8bc428f..aa69b0a 100644
--- a/Test/Program.cs
+++ b/Test/Program.cs
@@ -7,7 +7,9 @@
unsafe
{
- Native.Beatmap_CreateFromFile(@"C:\Users\mini\Desktop\test.osu", out NativeBeatmap nativeBeatmap);
+ int error = Native.Beatmap_CreateFromFile(@"C:\Users\mini\Desktop\test.osu", out NativeBeatmap nativeBeatmap);
+ Console.WriteLine($"Error code: {error}");
+ Console.WriteLine($"Error message: {Native.ErrorHandler_GetLastMessage()}");
Console.WriteLine($"ID: {nativeBeatmap.Handle}");
Console.WriteLine($"Ruleset ID: {nativeBeatmap.RulesetId}");
Console.WriteLine($"AR: {nativeBeatmap.ApproachRate}");
@@ -21,7 +23,7 @@
nativeBeatmap.Handle = 2;
int size;
- int error = Native.Beatmap_GetTitle(nativeBeatmap.Handle, null, &size);
+ error = Native.Beatmap_GetTitle(nativeBeatmap.Handle, null, &size);
Console.WriteLine($"Error code: {error}");
Console.WriteLine($"Error message: {Native.ErrorHandler_GetLastMessage()}");
diff --git a/Test/Test.csproj b/Test/Test.csproj
index e7a25aa..91527e5 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -1,15 +1,14 @@
-
- Exe
- net9.0
- enable
- enable
- true
-
-
-
-
-
+
+ Exe
+ net9.0
+ enable
+ enable
+ true
+
+
+
+
diff --git a/osu.Native.Analyzers/DynamicDependencyGenerator.cs b/osu.Native.Analyzers/DynamicDependenciesGenerator.cs
similarity index 98%
rename from osu.Native.Analyzers/DynamicDependencyGenerator.cs
rename to osu.Native.Analyzers/DynamicDependenciesGenerator.cs
index 6c247a6..cb0079b 100644
--- a/osu.Native.Analyzers/DynamicDependencyGenerator.cs
+++ b/osu.Native.Analyzers/DynamicDependenciesGenerator.cs
@@ -8,7 +8,7 @@
namespace osu.Native.Analyzers;
[Generator]
-public class DynamicDependencyGenerator : IIncrementalGenerator
+public class DynamicDependenciesGenerator : IIncrementalGenerator
{
public void Initialize(IncrementalGeneratorInitializationContext context)
{
diff --git a/osu.Native.Analyzers/osu.Native.Analyzers.csproj b/osu.Native.Analyzers/osu.Native.Analyzers.csproj
index 9f75257..74672c0 100644
--- a/osu.Native.Analyzers/osu.Native.Analyzers.csproj
+++ b/osu.Native.Analyzers/osu.Native.Analyzers.csproj
@@ -1,14 +1,14 @@
-
- netstandard2.0
- latest
- Analyzer
- true
-
+
+ netstandard2.0
+ latest
+ Analyzer
+ true
+
-
-
-
-
+
+
+
+
diff --git a/osu.Native.Tests/osu.Native.Tests.csproj b/osu.Native.Tests/osu.Native.Tests.csproj
index 65fb357..aa9670a 100644
--- a/osu.Native.Tests/osu.Native.Tests.csproj
+++ b/osu.Native.Tests/osu.Native.Tests.csproj
@@ -1,37 +1,36 @@
-
- net10.0
- enable
- true
- enable
-
+
+ net10.0
+ enable
+ true
+ enable
+
-
-
-
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
+
+
+
-
-
- Always
- osu.Native-aot.dll
-
-
-
-
-
-
+
+
+ Always
+ osu.Native-aot.dll
+
+
+
+
+
diff --git a/osu.Native/ILLink.Substitutions.xml b/osu.Native/ILLink.Substitutions.xml
index 4c86634..711aa67 100644
--- a/osu.Native/ILLink.Substitutions.xml
+++ b/osu.Native/ILLink.Substitutions.xml
@@ -1,40 +1,257 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/osu.Native/osu.Native.csproj b/osu.Native/osu.Native.csproj
index 25cbad6..04d5653 100644
--- a/osu.Native/osu.Native.csproj
+++ b/osu.Native/osu.Native.csproj
@@ -1,42 +1,51 @@
-
- net10.0
- enable
- true
- enable
+
+ net10.0
+ enable
+ true
+ enable
-
- true
- Size
- false
+
+ true
+ Size
+ false
+
-
- true
- true
+ true
+ full
+ false
+ true
- true
-
-
+ true
+ true
+
+ true
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- all
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ all
+
+