Nuget within submodule

I have a project (say Project A) with a third party package dependency that is managed by Nuget. When I add Project A as a submodule to a second project, Project B and install the package dependency through nuget it is installed into the packages folder of Package B rather than Package A.

There are several posts about resolving this in Microsoft Studio - it looks like switching from packages.config to a project.json file. What is Rider specific fix for this? 

Please sign in to leave a comment.