.NET 6 upgrade
The previous PowerBuilder versions work with .NET Framework.
Starting from version 2022 R2, PowerBuilder is upgraded to work with
.NET 6. The following are the changes you may or may not notice when
using the product:
-
The PowerBuilder Installer will install .NET SDK 6.0 if it
is not detected on your computer. -
ADO.NET database connections now require .NET 6 data
providers for SQL Server, Oracle and ODBC connections. -
Changes to the .NET DLL Importer include:
-
The .NET DLL Importer no longer provides the Framework
Type option. -
The recommended framework type is .NET, although it is
possible to import a .NET Framework
or .NET Core DLL. -
The LoadWithDotNetFramework function and
LoadWithDotNetCore function are obsolete. Any scripts calling
LoadWithDotNetFramework function or LoadWithDotNetCore
function should be replaced by scripts calling the LoadWithDotNet
function. -
The LoadWithDotNet function
(and the corresponding runtime file pbdotnetinvoker.dll) can
load .NET, .NET Framework or .NET Core DLLs. -
The recommended DLL version is .NET 6.0, although it is
possible to import a lower version DLL.
-
-
The RibbonBar Builder, Image Selector, and .NET DLL Importer
tools are built using .NET 6.
Note that the following tools/features continue working with
.NET Framework 4.0:
-
DataWindow blob control
-
Excel12 support
-
PowerBuilder Runtime Packager