.NET 6 upgrade

The .NET DLL Importer no longer provides the Framework Type option (and will stop providing the corresponding runtime files pbdotnetcoreinvoker.dll and pbdotnetframeworkinvoker.dll in the next version). The recommended framework type is .NET. And you can still import the .NET Framework or .NET Core DLL via LoadWithDotNet.

If you have imported the DLL targeting .NET Framework or .NET Core before, you should upgrade it to .NET 6.0, replace the LoadWithDotNetFramework function or LoadWithDotNetCore function with the LoadWithDotNet function, and (if necessary) package the corresponding runtime file (pbdotnetinvoker.dll) manually.