RemoteException wrapping System.InvalidOperationException: Compilation failures occurred

We’ve built a nuget package that contains organization related utilities through helper classes. Library was built in C# .net 461 - this package could be successfully imported and I can confirm that intellisense was working, while trying to assign variables. However during runtime, got the following error:

RemoteException wrapping System.InvalidOperationException: Compilation failures occurred:

The name 'CompanyName' does not exist in the current context

Did you deploy the nuget package to your robot? Is it declared as a dependency?

What version of studio are you using?