Error with workflow analyzer in command line

Hello,
On my project (a library in windows target framework mode), when I run the workflow analyzer in UiPath Studio, there is no error. But when I run workflow analyzer from a command line I have this error :
An exception was thrown while activating :UiPath.Studio.Platform.Contracts.IPlatformWrapper.
Here is the code :
Library.zip (23.7 KB)

Hi @KarineC

Please check on the below thread

Hope this helps!!

Hi @lrtetala ,
I don’t see the link between these 3 posts and my problem but I have check all of these and it doesn’t solve it.
The question is why the workflow analyzer results are not the same when performed from command line versus when performed by Stutio. It is a way to ensure that the command line runs exactly the same way than in Studio ?