Upgraded to H5, .NET plugins no longer load

Hello

Visual Studio does that for you (it is not our code, it is just how VS works). When it detects that one just have added a component that requres .NET licensing stuff (either dragged some component from the Toolbox or added something via the ‘Add New Item’ menu, like Non-Visual Hydra plugin) VS does the folllowing:

  • It scans the current project for licenses.licx file
  • If there is no such file it is added
  • Contents of the file is scanned for a line that satisfies the license definition of the entity just added (* see below)
  • If such line is not found then the license definition is added to the .licx file containing full assembly information including version #

Note: By ‘satisfies’ here I mean that f.e. if you just have added a Non-Visual Plugin and referenced Hydra build 5.0.87.1149 then VS will check for lines

RemObjects.Hydra.NonVisualPlugin, RemObjects.Hydra, Version=5.0.87.1149, Culture=neutral, PublicKeyToken=3df3cad1b7aa5098

and

RemObjects.Hydra.NonVisualPlugin, RemObjects.Hydra

(ie license definitions with ful correct version info or w/o any version info at all).


It is better to. Actually you can just run a search on all licenses.licx files containing word “PublicKeyToken”. This search will show all license files with excessive version information.

Regards