Could not load file or assembly 'Google.Apis.Auth, Version=, Culture=neutral

  • 13 October 2023
  • 1 reply

Userlevel 3

I have a c# code that generate a GCP token, When attach Program.cs to XModule get this error: Could not load file or assembly 'Google.Apis.Auth, Version=, Culture=neutral, PublicKeyToken=4b01fa6e34db77ab' or one of its dependencies. The system cannot find the file specified.

My dll is referenced in configuration ReferencedLibraries in XModule and only this has error.



[Originally asked and solved on Support Hub]


Best answer by Community Administrator 13 October 2023, 14:28

View original

1 reply

Userlevel 4
Badge +2

You should copy dlls file to folder %TBOX_HOME% and just fill dll file name in parameter: ReferencedLibraries 

I usually create a Wrapper Class for functions use these dlls and this class is independent with TOSCA SpecicalEmbeddedTask code, then I just copy dll files to %TBOX_HOME%, don't need use parameter: ReferencedLibraries