News

With .NET 6 Support Ending, Security Vulnerabilities Loom

While many Visual Studio developers are awaiting the debut of .NET 9 in November, they might want to pay attention to a looming security issue with .NET 6, which will reach end of support at the same time, perhaps leaving apps open to cybersecurity attacks.

"Continuing to use an unsupported version will expose you to security vulnerabilities," Microsoft said in a blog post last month announcing .NET 6 end of support on Nov. 12, 2024, the date of the company's .NET Conf event where new .NET releases are debuted.

Microsoft will no longer provide updates or technical support for .NET 6 after that, even security fixes, with the company advising developers to update to .NET 8 to stay supported.

.NET Release Timeline
[Click on image for larger view.] .NET Release Timeline (source: Microsoft).

Along with no more security updates and end of technical support, developers can expect these development upon end of support for .NET 6, Microsoft said:

  • Getting NETSDK1138 build warnings when targeting .NET 6 from a later SDK.
  • Getting "gold bar" warnings in Visual Studio when targeting .NET 6.

Upgrading to .NET 8 before the debut of .NET 9 involves changing the value of the TargetFramework property in a project file to net8.0, along with updating development and hosting environments, which is all covered in Microsoft guidance titled "Upgrade to a new .NET version."

Note that upgrading development environments primarily involves installing a new .NET SDK, which is done automatically by new editions of Visual Studio, so Visual Studio users need only upgrade to a newer version of the IDE. Microsoft guidance says Visual Studio 2022 17.8 or later is required for .NET 8 development. The current version of Visual Studio 2022 is 17.10.5, released on July 25, 2024.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • VS Code 1.123 Adds Agent Session Sync, 1M Context Windows

    Microsoft released Visual Studio Code 1.123 on June 3, adding agent-focused features, larger model context support, integrated browser updates and a new delay for some automatic extension updates.

  • Copilot Billing Shock Hits Developers

    Developer complaints about GitHub Copilot's new usage-based billing model have centered on unexpectedly rapid AI credit consumption, and neither GitHub nor Microsoft has responded directly to the backlash, though they have previously published guidance to lessen model usage costs.

  • Hands On with GitHub Copilot App Technical Preview: Turning a Blazor Issue into a PR

    GitHub's brand-new Copilot desktop app, in technical preview, handled a small Blazor issue from planning through pull request creation, but the hands-on test also showed why developers still need to verify agent work in the running app before merging.

  • At Build 2026, Microsoft Sets Up Windows as an OS for AI Agents

    Microsoft's Build 2026 Windows developer announcements point to a broader platform strategy for agentic AI, spanning terminal workflows, local models, app-building skills, Cloud PCs and operating system-level containment.

Subscribe on YouTube