diff options
author | Larry Ewing <lewing@microsoft.com> | 2022-06-16 04:22:58 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 04:22:58 +0300 |
commit | e73c7c805daad002fc28d4fccc1554e2a5723498 (patch) | |
tree | 268b3d8d832292a16330f8e1858b11d6e6cea1ad | |
parent | 9201e08bd1c55fec047022b27747f2677a66e1a5 (diff) |
Update known-issues.md
-rw-r--r-- | release-notes/7.0/known-issues.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index 987f8646..c6198f17 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -11,8 +11,16 @@ It’s not possible to debug a Blazor app using .net7 preview 5 https://github.c Workaround: Copy the following into any 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="$(PkgMicrosoft_AspNetCore_Components_WebAssembly_DevServer)\tools\BlazorDebugProxy" + SkipUnchangedFiles="true"/> + </Target> +``` That will copy the missing dependency into the DevServer package and enable Wasm debugging in .NET 7.0 Preview 5 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 as long as the project doesn’t have a different Serilog version requirement. ### Assembly.GetType("System.Net.Http.HttpClientHandler", false, true) does not find some types but finds it when ignoreCase is set to false |