If you don’t use an actual activity from a package, and only use functions etc in code like Assigns, it still thinks you didn’t use the package.
Can you give a specific example what activity are you using and what behaviour are you seeing?
I’m not using any activity from the package. The only thing I’m using from the package is a function in an Assign activity, for example the SerializeJSON function from the WebAPI package. If you don’t directly use an Activity from the package, but use its functions in code, the Analyzer doesn’t see it and reports it as an unused dependency.
Thanks for reporting this. We will look into fixing this in a future release.