diff options
author | Thays Grazia <thaystg@gmail.com> | 2022-07-07 19:07:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 19:07:37 +0300 |
commit | 1b181f76bf8ac45fb831e42101a53c3231e414bb (patch) | |
tree | 6caf1e35a4860ee822b5f81cbcf5e67f0ea36031 | |
parent | 5db1a114c6a06ef91215212e3addcec74dbff47d (diff) |
Update workaround for wasm hosted apps
-rw-r--r-- | release-notes/7.0/known-issues.md | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index a5b96c4e..d747667c 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -8,7 +8,20 @@ You may encounter the following known issues, which may include workarounds, mit It’s not possible to debug a Blazor app using .net7 preview 5 https://github.com/dotnet/runtime/pull/70383 -Workaround: +Workaround for a hosted app: +Copy the following into the server net7.0 blazor wasm csproj: + +```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"/> + </Target> +``` + +Workaround for a non-hosted app: Copy the following into any net7.0 blazor wasm csproj: ```xml |