# Upgrading a .NET Framework Windows Forms App to a .NET 6 Windows Forms App

> This article explains how to upgrade a .NET Framework Windows Forms App to a .NET 6 Windows Forms App using the .NET Upgrade Assistant.

> **Note:** This article is outdated and may no longer be accurate.

- **Author:** Bjoern Meyer
- **Published:** 2023-07-19
- **Modified:** 2026-07-17
- **Description:** This article explains how to upgrade a .NET Framework Windows Forms App to a .NET 6 Windows Forms App using the .NET Upgrade Assistant.
- **2 min read** (342 words)
- **Tags:**
  - Windows Forms
  - TextControl
  - .NET 6
- **Web URL:** https://www.textcontrol.com/blog/2023/07/19/upgrading-a-net-framework-windows-forms-app-to-a-net-6-windows-forms-app/
- **LLMs URL:** https://www.textcontrol.com/blog/2023/07/19/upgrading-a-net-framework-windows-forms-app-to-a-net-6-windows-forms-app/llms.txt
- **LLMs-Full URL:** https://www.textcontrol.com/blog/2023/07/19/upgrading-a-net-framework-windows-forms-app-to-a-net-6-windows-forms-app/llms-full.txt

---

This tutorial shows how to upgrade a .NET Framework Windows Forms App to a .NET 6 Windows Forms App by using the .NET Upgrade Assistant. In addition, you will learn how to replace the references to the TX Text Control with the corresponding NuGet packages.

### .NET Upgrade Assistant

1. Install the [.NET Upgrade Assistant](https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.upgradeassistant) Visual Studio extension.
2. Open your .NET Framework Windows Forms App in Visual Studio.
3. In *Solution Explorer*, right-click the project you want to upgrade and select *Upgrade*. Select *Side-by-side incremental project upgrade*, which is the only upgrade option.
4. For the upgrade target, select *New project* and click *Next*.
5. Choose a name for your new project, select *Empty Project* as the *project template* and click *Next*.
6. Select your preferred target framework, such as .NET 6. Click *Next*.
7. In the *Select components to upgrade* view, deselect all TX Text Control related references and the *licenses.licx* file from the *Properties* node. Click *Upgrade selection* to start the upgrade process.
    
    ![Windows Forms Application](https://s1-www.textcontrol.com/assets/dist/blog/2023/07/19/a/assets/vs1.webp "Windows Forms Application")
8. Locate the newly created project in the *Solution Explorer* and expand its *Dependencies -> Assemblies*. Delete all references to TX Text Control by selecting them in the tree view and choosing *Edit -> Remove* from the main menu.

### Adding the NuGet Package

Once all forms and classes have been updated, the TX Text Control references must be added using NuGet. These references are not converted automatically, but since TX Text Control provides easy-to-install NuGet packages, this step is very easy.

1. In the *Solution Explorer*, select your created project and choose *Manage NuGet Packages...* from the *Project* main menu. Select **Text Control Offline Packages** as the *Package source*.
    
    *Install* the latest versions of the following packages:
    
    
    - *TXTextControl.TextControl.WinForms.SDK*
    
    ![ASP.NET Core Web Application](https://s1-www.textcontrol.com/assets/dist/blog/2023/07/19/a/assets/visualstudio2.webp "ASP.NET Core Web Application")

That is all. After these steps, you should be able to successfully compile and run your application.

---

## About Bjoern Meyer

As CEO, Bjoern is the visionary behind our strategic direction and business development, bridging the gap between our customers and engineering teams. His deep passion for coding and web technologies drives the creation of innovative products. If you're at a tech conference, be sure to stop by our booth - you'll most likely meet Bjoern in person. With an advanced graduate degree (Dipl. Inf.) in Computer Science, specializing in AI, from the University of Bremen, Bjoern brings significant expertise to his role. In his spare time, Bjoern enjoys running, paragliding, mountain biking, and playing the piano.

- [LinkedIn](https://www.linkedin.com/in/bjoernmeyer/)
- [X](https://x.com/txbjoern)
- [GitHub](https://github.com/bjoerntx)

---

## Related Posts

- [Upgrading a .NET Framework Windows Forms App to a .NET 8 Windows Forms App with TX Text Control 32.0 SP2](https://www.textcontrol.com/blog/2024/01/16/upgrading-a-net-framework-windows-forms-app-to-a-net-6-windows-forms-app-with-tx-text-control-32-0-sp2/llms.txt)
- [Official TX Text Control .NET Sample Applications Are Now Hosted on GitHub](https://www.textcontrol.com/blog/2023/01/08/official-tx-text-control-net-sample-applications-are-now-hosted-on-github/llms.txt)
- [Using Charts with TX Text Control .NET for Windows 31.0 in .NET 6](https://www.textcontrol.com/blog/2022/11/02/using-charts-with-tx-text-control-net-for-windows-3100-in-net-6/llms.txt)
- [Getting Started with Windows Forms (.NET 5 and better)](https://www.textcontrol.com/blog/2022/09/01/getting-started-with-windows-forms-net-5-and-better/llms.txt)
- [Windows Forms and WPF Comeback: .NET 6 and 7. Our Commitment to Windows Applications](https://www.textcontrol.com/blog/2022/08/17/windows-forms-and-wpf-comeback-net-6-and-7-our-commitment-to-windows-applications/llms.txt)
- [Visual Studio 2022 and .NET 5, 6 and 7 (Preview) Support and Strategy](https://www.textcontrol.com/blog/2022/08/11/visual-studio-2022-net-5-6-7-support-and-strategy/llms.txt)
- [Sneak Peek 31.0: Signature Fields](https://www.textcontrol.com/blog/2022/05/27/sneak-peek-310-signature-fields/llms.txt)
- [Sneak Peek 31.0: Full .NET 6 Visual Studio Designer Support](https://www.textcontrol.com/blog/2022/05/27/sneak-peek-31-full-net-6-visual-studio-designer-support/llms.txt)
- [Migrate a Windows Forms Desktop Application to .NET 6](https://www.textcontrol.com/blog/2021/12/21/migrate-a-windows-forms-desktop-application-to-dotnet-6/llms.txt)
