Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/core.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Bhandari <rbhanda@microsoft.com>2022-06-16 04:25:37 +0300
committerGitHub <noreply@github.com>2022-06-16 04:25:37 +0300
commitab88f76baefeb635719967d85ccc8de709e2ef07 (patch)
tree268b3d8d832292a16330f8e1858b11d6e6cea1ad
parentedf5a568fea81b202d847f0b728958d48d93115b (diff)
parente73c7c805daad002fc28d4fccc1554e2a5723498 (diff)
Merge pull request #7544 from dotnet/rbhanda-patch-3
Update known-issues.md for Blazor debugging issue
-rw-r--r--release-notes/7.0/known-issues.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md
index b60477e5..c6198f17 100644
--- a/release-notes/7.0/known-issues.md
+++ b/release-notes/7.0/known-issues.md
@@ -4,6 +4,25 @@ You may encounter the following known issues, which may include workarounds, mit
## .NET Runtime
+### 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
+
+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