Both Visual Studio 2019 and 2017 only has this feature in the Enterprise edition (they both have 3 main editions: Community, Professional and Enterprise.)
If you'd only need the Stub
functionality, then you could simply pick other mocking frameworks. You mention Shim
s, which is an advanced functionality. I have heard some mock frameworks which can be close to that advanced.
I've heard of Prig (https://marketplace.visualstudio.com/items?itemName=sug.Prig-OpenSourceAlternativetoMicrosoftFakes), but I haven't ever tried it. @neaGaze says it's not supported in VS 2017.
The newest screenshot of the feature matrix's (https://visualstudio.microsoft.com/vs/compare/) related section:
Visual Studio 2017 feature matrix - only Enterprise offers Fakes:
Visual Studio 2015: Microsoft Fakes is available in Premium Edition and up.