Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Works for Me
-
0.13.0
-
None
-
Windows 10
Description
I am trying to execute osquery against my PC using thrift to define the RPC protocols. I generated the .net standard version for csharp language using thrift latest compiler.
The I exported my library (.Net Standard) to a nuget package and consumed in a .Net Core project (3.1) as the client. It worked just fine and I was able to executed the queries.
Then I created a .Net 4.6.1 client project and consumed the same .Net Standard library in it and tried to execute the query. Although the project wouldn't even build. It shows a compilation error :
The type 'TBaseClient' is defined in an assembly that is not referenced. You must add a reference to assembly 'Thrift, Version=0.13.0.0, Culture=neutral, PublicKeyToken=5792536a45833b9f'
I have verified and I do have ApacheThrift 0.13.0 ** nuget installed in there. I also tried updating the client framework version from 4.6.1 up to 4.8. Same issue.