diff --git a/src/mono/sample/wasi/native/ILLink.Descriptors.xml b/src/mono/sample/wasi/native/ILLink.Descriptors.xml
new file mode 100644
index 0000000000000..9df567cb73b38
--- /dev/null
+++ b/src/mono/sample/wasi/native/ILLink.Descriptors.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
diff --git a/src/mono/sample/wasi/native/Program.cs b/src/mono/sample/wasi/native/Program.cs
index d8d480869a8de..ffea2e7c343b7 100644
--- a/src/mono/sample/wasi/native/Program.cs
+++ b/src/mono/sample/wasi/native/Program.cs
@@ -4,6 +4,8 @@
using System;
using System.Runtime.InteropServices;
+namespace Sample;
+
public unsafe class Test
{
[UnmanagedCallersOnly(EntryPoint = "ManagedFunc")]
diff --git a/src/mono/sample/wasi/native/Wasi.Native.Sample.csproj b/src/mono/sample/wasi/native/Wasi.Native.Sample.csproj
index 9af9d62eeee98..123684c9f70f5 100644
--- a/src/mono/sample/wasi/native/Wasi.Native.Sample.csproj
+++ b/src/mono/sample/wasi/native/Wasi.Native.Sample.csproj
@@ -12,6 +12,8 @@
+
+
diff --git a/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs b/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs
index 62f23c2648899..13f3787c0aff7 100644
--- a/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs
+++ b/src/mono/wasi/Wasi.Build.Tests/BuildTestBase.cs
@@ -693,6 +693,16 @@ public static int Main()
.MultiplyWithSingleArgs(true, false) /*aot*/
.UnwrapItemsAsArrays();
+ public static IEnumerable