Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] .NET 9 Target Framework Missing #245

Open
Bram1903 opened this issue Oct 11, 2024 · 1 comment
Open

[Bug] .NET 9 Target Framework Missing #245

Bram1903 opened this issue Oct 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Bram1903
Copy link

Bram1903 commented Oct 11, 2024

Describe the bug

I am working on multiple projects, and today I updated one of them to .NET 9, following the release of .NET 9 Release Candidate 2. However, when trying to add a migration in the project targeting .NET 9, the target frameworks don't show up in the plugin. Initially, I suspected an installation issue, but after switching between projects using .NET 8 and .NET 9, it became evident that the issue only occurs with the .NET 9 plugin. I also tried removing both .NET 8 and .NET 9 to test the behavior, but the problem persisted. The same project works fine under .NET 8, but simply switching to the .NET 9 SDK renders the plugin unusable. Rider also displays a warning in the "Add migration" window when the project is set up to target .NET 9, as shown below:

image
image

To Reproduce

Steps to reproduce the behavior:

  1. Open a project targeting .NET 9
  2. Go to the "Add migration" window
  3. Observe that it cannot find a target framework or any of the startup projects

Expected behavior

.NET 9 should appear as a valid target framework, and the startup project list should be populated.

Screenshots

.NET 8 (Working as expected):
image

.NET 9:
image

Environment:

  • OS: Windows 11 (64-bit)
  • .NET SDK info: .NET 8 & .NET 9 installed, using .NET 9 within Rider
  • Plugin version: 1.5.25.10
  • Rider version: 2024.2.6
  • Microsoft.EntityFrameworkCore Library: 9.0.0-rc.1.24451.1 due to Npgsql.EntityFrameworkCore.PostgreSQL. not being updated yet.
@Bram1903 Bram1903 added the bug Something isn't working label Oct 11, 2024
@seclerp
Copy link
Member

seclerp commented Oct 11, 2024

Hi @Bram1903, thank you for reporting! The problem is known and will be fixed in one of the upcoming 2024.3 EAP versions of Rider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants