Use Publicize.exe to Create Private Accessors for Visual Studio 2012+

Preface Starting with Visual Studio 2012, private accessors cannot be created any more by the IDE. The post Home-made Private Accessor for Visual Studio 2012+ presents an approach on how to create private accessors using the class Microsoft.VisualStudio.TestTools.UnitTesting.PrivateObject. Axel Mayer noted in the MSDN forums post How to create private …