diff options
author | Noah Gilson <noahgilson@microsoft.com> | 2022-11-10 02:35:39 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 02:35:39 +0300 |
commit | cca43311de3c033f0a446c5d524289add7095fb0 (patch) | |
tree | 81585a40c466604b00726f0a8bfac881b56e2ea6 | |
parent | 5daa13e8bda85561c3458aa5c256a43840000675 (diff) | |
parent | 3e6191860734b6880fe5a4a7c756660633e6de0c (diff) |
Merge pull request #7949 from dotnet/nagilson-preview-7-sdks
Document .NET 7 Preview Workloads Breaking Builds
-rw-r--r-- | release-notes/7.0/known-issues.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/release-notes/7.0/known-issues.md b/release-notes/7.0/known-issues.md index 5181d0e3..c1ea8736 100644 --- a/release-notes/7.0/known-issues.md +++ b/release-notes/7.0/known-issues.md @@ -98,6 +98,14 @@ More information and workaround can be found at https://github.com/dotnet/runtim ## .NET SDK +### [7.0] Projects using certain workloads don't load, build, and or run if .NET 7 Preview SDK workloads are installed: + +If a preview .NET 7 SDK is installed, projects with workload dependencies such as `microsoft.net.workload.mono.toolchain` may fail to build, load, and or run. An example of this issue is described [here](https://github.com/dotnet/sdk/issues/28947). + +**Resolution** + +The best method to resolve the issue is to uninstall any .NET 7 preview SDKs. For detailed instructions, see [dotnet uninstall instructions](https://learn.microsoft.com/en-us/dotnet/core/install/remove-runtime-sdk-versions?pivots=os-windows). For example, on Windows, dotnet preview SDKs can be uninstalled with add/remove programs. Another option is to try deleting the folder `C:\Program Files\dotnet\sdk-manifests\microsoft.net.workload.mono.toolchain`, but this will only work for file-based installs. [Dotnet-core-uninstall](https://github.com/dotnet/cli-lab/releases) is another option for uninstalling the .NET 7 preview SDKs. + ### [RC1] dotnet restore --interactive not working for authenticated feeds The --interactive flag is not working with any dotnet.exe command in RC1. https://github.com/dotnet/sdk/issues/27597 |