From b629d2912f6bef5b4875fff8a28728ddc8044c2a Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Wed, 14 Sep 2022 13:40:40 -0300 Subject: [PATCH 1/2] Update workaround for evaluate expressions in a wasm hosted apps https://github.com/dotnet/runtime/pull/75495 --- release-notes/7.0/known-issues.md | 44 +++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index e6651d7b4c..a685727e90 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -4,6 +4,50 @@ You may encounter the following known issues, which may include workarounds, mit ## .NET Runtime +### Unable to evaluate expressions in a Blazor WebAssembly App + +It isn't possible to debug a Blazor WebAssembly app using .NET 7 RC1 https://github.com/dotnet/runtime/pull/75495 + +#### Workaround for a Blazor WebAssembly Hosted App: + +Copy the following into the server project (`.csproj`) of a `.NET 7 Preview RC1` Blazor WebAssembly Hosted App: + +```xml + + + + + + + + +``` + +#### Workaround for a Blazor WebAssembly Standalone App: + +Copy the following into a `.NET 7 Preview RC1` Blazor WebAssembly project (`.csproj`): + +```xml + + + + + + + + +``` + +That will copy the missing dependency into the DevServer package and enable evaluation of expression on Wasm debugging in .NET 7.0 Preview RC1 after a single build. This workaround only needs to be run once per package root to repair the DevServer package but should be harmless to leave in. + ### Unable to debug a Blazor WebAssembly App It isn't possible to debug a Blazor WebAssembly app using .NET 7 Preview 5 https://github.com/dotnet/runtime/pull/70383 From 1b2d95c07db0943150782c20a3a3ef229e3659e2 Mon Sep 17 00:00:00 2001 From: Thays Grazia Date: Wed, 14 Sep 2022 13:42:11 -0300 Subject: [PATCH 2/2] Fix text --- release-notes/7.0/known-issues.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index a685727e90..0f465915b0 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -6,7 +6,7 @@ You may encounter the following known issues, which may include workarounds, mit ### Unable to evaluate expressions in a Blazor WebAssembly App -It isn't possible to debug a Blazor WebAssembly app using .NET 7 RC1 https://github.com/dotnet/runtime/pull/75495 +It isn't possible to evaluate expressions in a Blazor WebAssembly app using .NET 7 RC1 https://github.com/dotnet/runtime/pull/75495 #### Workaround for a Blazor WebAssembly Hosted App: