diff --git a/console/Program.cs b/console/Program.cs index 69cf477..d1c4f14 100644 --- a/console/Program.cs +++ b/console/Program.cs @@ -1,4 +1,8 @@ -using System.Runtime.CompilerServices; +using System; // Console +using System.Net.Http; // HttpClient +using System.Threading; // Thread +using System.Threading.Tasks; // Task / async support +using System.Runtime.CompilerServices; // UnsafeAccessor public static class WasiMainWrapper { @@ -11,7 +15,7 @@ public static async Task MainAsync(string[] args) var json = await client.GetStringAsync(query); Console.WriteLine(json); - ExampleWorld.exports.ExampleWorld.Add(2, int.Parse(json)); + // ExampleWorld.exports.ExampleWorld.Add(2, int.Parse(json)); return 0; } diff --git a/console/console.csproj b/console/console.csproj index dcd3478..8a2b273 100644 --- a/console/console.csproj +++ b/console/console.csproj @@ -2,8 +2,8 @@ Exe - net9.0 - enable + net10.0 + disable enable wasi-wasm @@ -14,23 +14,15 @@ - + + + + - - - - - - - - - \ No newline at end of file diff --git a/console/nuget.config b/console/nuget.config index caa4ee8..3dbb4a0 100644 --- a/console/nuget.config +++ b/console/nuget.config @@ -3,6 +3,7 @@ +