.NET Core projects resolve a specific version the moment you add the package. If you want to update to a newer HALCON version, for example from 20.05.0 to 20.11.0, you must change the version specified in your project.
Note that 20.11.2 is a breaking change compared to 20.11.1, which can also be seen in the HALCON SemVer major version change from 20111 to 20112.
For example from 20.05.0 to 20.11.0, change your project .csproj from:
<PackageReference Include="MVTec.HalconDotNet" Version="20050.0.0" />
to:
<PackageReference Include="MVTec.HalconDotNet" Version="20110.0.0" />
HALCON/.NET DLL is not a self-contained library but an interface to the native HALCON library. Therefore, the library version used by your project has to match the installed HALCON version exactly.
Even for maintenance releases, which are backwards compatible at application level, mixing of binaries from different releases is not recommended because the internal communication between HALCON/.NET and the native HALCON library is not guaranteed to be always compatible.
Applications that use HALCON/.NET have local copies of the corresponding assemblies. After installing a newer release of HALCON, these applications would therefore still use their old HALCON assemblies. To use the new HALCON/.NET DLL re-build your project, Visual Studio -> Solution -> Rebuild Solution.
If you want to replace the HALCON/.NET DLL without recompiling the application, you need to both manually replace the HALCON/.NET DLL with the newly installed one, and update the application's app.config, to inform the executable of the new HALCON/.NET DLL. Do this by copying either bin\dotnet20\app.config or bin\dotnet35\app.config into the directory containing the HALCON/.NET DLL, and rename it to <application_name>.exe.config.