diff options
author | Rahul Bhandari <rbhanda@microsoft.com> | 2022-07-10 01:23:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-10 01:23:38 +0300 |
commit | 94c044d511faba68ce6a88e420141c2b8364c0cd (patch) | |
tree | 053bc6315595098c1bb0f138e16223abff452293 | |
parent | 68ad7ce14646db9b98e2663a4967fd41c619feca (diff) |
Update known-issues.md
-rw-r--r-- | release-notes/7.0/known-issues.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index b38fd580..fe6848ac 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -54,6 +54,19 @@ More information and workaround can be found at https://github.com/dotnet/runtim ## .NET SDK +### [Testhost.exe does not find '7.0.0-preview.6.22324.4' runtime when running tests](https://github.com/dotnet/sdk/issues/26462) +A file-based install of the SDK, dotnet test on a .net 7 project will look in the global location rather than the local location and be unable to find .net 7. + +Workaround: Setting DOTNET_ROOT to point to 'C:\Users\adity\AppData\Local\Microsoft\dotnet' fixes the issue. + +### Blazor issues depending on whether you’re using .NET 6 installed by VS or stand-alone install of .NET 7 + +If your app is targetting Blazor using the .net 7 included in VS, you can target net6.0 but not target net7.0. + +Workaround: + +Install the stand-alone SDK for .NET 7.0 Preview 6 + ### MaxInteger[T]\(System.Collections.Generic.IEnumerable`1[T]\)' violates the constraint of type parameter 'T' exception We have discovered that AutoMapper library is impacted by a change in .NET 7 Preview 5 and this is tracked by [dotnet-sdk-7.0.100-preview.5.22257.3] MaxInteger[T]\(System.Collections.Generic.IEnumerable`1[T]\)' violates the constraint of type parameter 'T' exception · Issue #3988 · AutoMapper/AutoMapper (github.com). .NET team has submitted a PR to fix the bug in AutoMapper code and is working with AutoMapper library owners to determine options. |