From ab1dcf7ec005c99eada4e3b3033c58257d26777e Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 17 Sep 2025 11:31:03 -0600 Subject: [PATCH 1/2] bump to preview00207 --- console/Program.cs | 2 +- console/console.csproj | 20 ++++++-------------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/console/Program.cs b/console/Program.cs index 69cf477..0a11033 100644 --- a/console/Program.cs +++ b/console/Program.cs @@ -11,7 +11,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..8e18db9 100644 --- a/console/console.csproj +++ b/console/console.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable @@ -14,23 +14,15 @@ - + + + + - - - - - - - - - \ No newline at end of file From 8200246fe80146b8d9f625c52a59ecdd0f6abe99 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Wed, 17 Sep 2025 11:39:34 -0600 Subject: [PATCH 2/2] disable ImplicitUsings --- console/Program.cs | 6 +++++- console/console.csproj | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/console/Program.cs b/console/Program.cs index 0a11033..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 { diff --git a/console/console.csproj b/console/console.csproj index 8e18db9..24f85e9 100644 --- a/console/console.csproj +++ b/console/console.csproj @@ -3,7 +3,7 @@ Exe net10.0 - enable + disable enable wasi-wasm