Skip to content

Commit

Permalink
Update rc1+17.11 known issue with workaround (#9502)
Browse files Browse the repository at this point in the history
  • Loading branch information
rainersigwald authored Sep 11, 2024
1 parent d154ea0 commit 1f892c4
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions release-notes/9.0/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,14 @@ The behavior will be **fixed in .NET 9 RC1** release.

## .NET SDK

### .NET 9.0.100-RC.1 will fail when used with 17.11
### .NET SDK 9.0.100-RC.1 will fail when used with Visual Studio 17.11

There is an incompatible dependency between a file loaded from the SDK and the dependencies that Visual Studio includes.
There is an incompatible dependency between a file referenced in the SDK and the dependencies that Visual Studio includes.

`
```terminal
NETSDK1060 Error reading assets file: Error loading lock file '...\obj\project.assets.json' : Could not load file or assembly 'System.Text.Json, Version=8.0.0.4, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
`
```

To target .NET 9 from Visual Studio, .NET SDK requires the use of Visual Studio 17.12 Preview 2.0 or higher.

This behavior will be **fixed in an upcoming Visual Studio 17.11.x** release
An **upcoming Visual Studio 17.11.x** release will restore support for targeting .NET 8 and lower using .NET SDK 9.0.100. A [workaround that can be temporarily checked into affected repositories](https://github.com/dotnet/sdk/issues/43339#issuecomment-2344233994) is available.

0 comments on commit 1f892c4

Please sign in to comment.