diff options
author | Ankit Jain <radical@gmail.com> | 2022-07-07 23:52:14 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 23:52:14 +0300 |
commit | 68ad7ce14646db9b98e2663a4967fd41c619feca (patch) | |
tree | 9f528f11c1498e9180925e39dbbe394453732c35 | |
parent | 5db1a114c6a06ef91215212e3addcec74dbff47d (diff) | |
parent | 17408b9765c043c680bd54f958742f3ef0601f92 (diff) |
Merge pull request #7585 from dotnet/thaystg-patch-1
Update workaround for wasm hosted apps
-rw-r--r-- | release-notes/7.0/known-issues.md | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index a5b96c4e..b38fd580 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -6,10 +6,26 @@ You may encounter the following known issues, which may include workarounds, mit ### Unable to debug a Blazor WebAssembly App -It’s not possible to debug a Blazor app using .net7 preview 5 https://github.com/dotnet/runtime/pull/70383 +It’s not possible to debug a Blazor WebAssembly app using .NET 7 Preview 5 https://github.com/dotnet/runtime/pull/70383 -Workaround: -Copy the following into any net7.0 blazor wasm csproj: +#### Workaround for a Blazor WebAssembly Hosted App: + +Copy the following into the server project (`.csproj`) of a `.NET 7 Preview 5` Blazor WebAssembly Hosted App: + +```xml + <ItemGroup> + <PackageReference Include="Serilog.Extensions.Logging.File" Version="2.0.0" ExcludeAssets="all" GeneratePathProperty="true"/> + </ItemGroup> + <Target Name="_CopySerilogDeps" AfterTargets="Build"> + <Copy SourceFiles="$(PkgSerilog_Extensions_Logging_File)\lib\netstandard2.0\Serilog.Extensions.Logging.File.dll" + DestinationFolder="$(OutputPath)\BlazorDebugProxy" + SkipUnchangedFiles="true"/> + </Target> +``` + +#### Workaround for a Blazor WebAssembly Standalone App: + +Copy the following into a `.NET 7 Preview 5` Blazor WebAssembly project (`.csproj`): ```xml <ItemGroup> |