Products Technologies Demo Docs Blog Support Company

Visual Studio 2022 and .NET 5, 6 and 7 (Preview) Support and Strategy

With the release of TX Text Control 31.0, we will fully support .NET 5, 6 and 7 (Preview) within Visual Studio 2022 including Windows Forms designer support, NuGet packages and deployment support.

Visual Studio 2022 and .NET 5, 6 and 7 (Preview) Support and Strategy

TX Text Control 30.0 already supports .NET 5 and 6, but is missing Visual Studio designer and toolbox support for Windows Forms and WPF. For Windows Forms and WPF, Microsoft decided to change the Visual Studio design-time experience and other features such as third-party licensing.

The upcoming version 31.0 is in the works and for ASP.NET, Windows Forms and WPF, we are working on enhancements to fully support .NET 5, 6 and 7 (Preview) features including:

The following illustration shows the supported .NET versions for the current version 30.0 and the upcoming version 31.0:

Text Control .NET Support

TX Text Control: .NET Support Strategy

NuGet Packages

All compiled dependencies are bundled into packages that contain all DLLs together with other content needed in the projects that consume TX Text Control components.

After TX Text Control has been installed using the developer kit setup, the new NuGet package source "Text Control Offline Packages" is added to NuGet and contains all available NuGet packages for Text Control components:

Text Control Offline Packages

Visual Studio 2022: Text Control NuGet Package Source

After adding the NuGet package to the project, all available toolbox entries are added automatically:

Text Control Toolbox Support

Visual Studio 2022: Toolbox Support

Visual Studio Design-Time Support

In Windows Forms, after creating a TextControl on a form, you have full access to the designer functionality to add more components such as the ribbon bar, ruler bars and to connect and arrange controls automatically.

Text Control Design-Time Support

Visual Studio 2022: Design-Time Support

.NET 6 Compatible Licensing

With version 30.0, it was required to enable the obsolete .NET BinaryFormatter while compiling the license into the assembly. We removed this requirement in version 31.0, so that no additional settings are required to use TX Text Control in .NET Core applications. This change is valid for all versions including Windows Forms, WPF and ASP.NET.

Easy Deployment

When deploying the application, TX Text Control 31.0 fully supports the Publish functionality of Visual Studio. For example, in the following screenshot the application is published to a folder.

Publishing Applications

Visual Studio 2022: Publishing Applications

After selecting the folder, you can choose the Target runtime and the Deployment mode:

Publishing Applications

Visual Studio 2022: Publishing Applications

When the application is published, all required files (including the binaries of TX Text Control) are copied into the right location automatically:

Publishing Applications

Visual Studio 2022: Publishing Applications

.NET 7 Compatibility: ASP.NET, Windows Forms and WPF

We tested version 31.0 with Visual Studio 17.4.0 Preview 1.0 and .NET 7 and all Text Control related features including toolbox and design-time support, deployment and licensing work as expected. We have been testing our components against all preview builds including the latest version and we don't expect any showstoppers prior to Microsoft's official release of .NET 7 later this year.

ASP.NET Core NuGet Package

With version 31.0, we will also provide a NuGet package to use the ServerTextControl and MailMerge classes in ASP.NET Core Web Apps.

Text Control ASP.NET NuGet

Visual Studio 2022: ASP.NET NuGet Support

The NuGet package TXTextControl.TextControl.ASP.SDK is automatically adding all required assemblies, dependencies and licenses.licx entries to the project, so that can use these classes right away without adding any references and licenses entries manually:

Text Control ASP.NET NuGet

Visual Studio 2022: ASP.NET NuGet Support

As always, your feedback is welcome! Let us know, if you are already using .NET 6 (or 7?) in production or plan to do so in the near future.

Stay in the loop!

Subscribe to the newsletter to receive the latest updates.

Related Posts

Windows FormsWPF.NET 6

Windows Forms and WPF Comeback: .NET 6 and 7. Our Commitment to Windows…

Windows Forms was introduced in the first version of .NET and Visual Studio in 2001. Since then it has grown in popularity specifically for rapid, WYSIWYG development. With the release of .NET…


ASP.NETWindows FormsWPF

Sneak Peek 31.0: Signature Fields

In TX Text Control 31.0, we will introduce native signature fields that can be used to add electronic and digital signatures to documents. These new fields will be compatible to the ASP.NET…


ASP.NETWindows FormsWPF

Sneak Peek 31.0: Full .NET 6 Visual Studio Designer Support

The next version 31.0 is in the works and for .NET Windows Forms and WPF, we are working on enhancements to fully support .NET 6 features including Visual Studio design-time support, NuGet…


ASP.NETWindows FormsWPF

TX Text Control 33.0 SP3 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 3 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…


ASP.NETWindows FormsWPF

TX Text Control 33.0 SP2 is Now Available: What's New in the Latest Version

TX Text Control 33.0 Service Pack 2 is now available, offering important updates and bug fixes for all platforms. If you use TX Text Control in your document processing applications, this service…