Forms won't load when opening old project. ".Net" error

Mugsy's RapSheet 216 Reputation points
2026-08-14T13:18:40.63+00:00

I tried to open an old VB project I started last year, but VS 2022 refuses to open it, giving me the following error:

"The current .NET SDK does not support targeting .NET 8.0. Either target .NET 6.0 or lower, or use a version of the .NET SDK that supports .NET 8.0."

No details on how to resolve this. "Clean" on the form didn't work. The project settings do not indicate an assigned version of ".Net".

Extremely annoying. Any idea how to fix this? TIA

(ADDENDUM: Tried all suggested fixes from site AI after submission. Nothing works. Keeps asking me to update .Net 6.0/8.0, even after doing so.)

DonNet error

I download/install .Net 6.0.36, but the message keeps coming back.
Install DotNet6,0,36

Developer technologies | Visual Studio | Setup
0 comments No comments

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 84,856 Reputation points
    2026-08-14T14:24:03.0266667+00:00

    To support .net 8, vs 2022 must be version 17.8 or later. Be sure you have upgraded to the latest version.

    note: .net 8 support ends in November. You will to upgrade to VS 2026 to migrate to .net 10. So your best option is to upgrade to vs 2026.

    Was this answer helpful?

    2 people found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.