Thursday, August 9, 2018

To reference one Visual Studio project from another in Visual Studio 2015...

...right-click on the References folder at the project that is to do the referencing and pick "Add Reference..." which should let you browse for the other project. I am just now realizing that my blog didn't have anything about this. What references what and if there is the Dependency Injection variant of Inversion of Control in the mix can mean the difference between Onion Architecture and the three layers approach of yore that is much harder to unit test. In the .NET Framework days StructureMap ended up being the default IoC contatiner. In .NET Core, you don't need StructureMap as IoC is baked right in.

No comments:

Post a Comment