C# has abstract classes and interfaces, should it also have “mixins”?

The problem you describe could be solved using the Visitor pattern (everything can be solved using the Visitor pattern, so beware! ) The visitor pattern lets you move the implementation logic towards a new class. That way you do not need a base class, and a visitor works extremely well over different inheritance trees. To … Read more

Why could COM interop layer be 40 times slower when client is compiled in VS 2010 vs VS 2005?

It was kind of a long shot. Glad I could help. Matching MTA vs STA (threading model) is really important when making lots of distinct calls into any COM object. An [STAThread] directive at the top of a method is one way to be sure of threading model for every call in that method. Looks … Read more

Visual Studio 2015 Update 3 – Setup Blocked

You’ve downloaded the offline installer for the Update. This offline installer will update a previous version of Visual studio 2015 to Update 3. Major Visual Studio versions are installed side-by-side. So your 2013 installation will be left untouched by the 2015 update installer You’ll need to download the offline installer of “Visual Studio 2015 with … Read more

Are there any disadvantages to “multi-processor compilation” in Visual Studio?

The documentation for /MP says: Incompatible Options and Language Features The /MP option is incompatible with some compiler options and language features. If you use an incompatible compiler option with the /MP option, the compiler issues warning D9030 and ignores the /MP option. If you use an incompatible language feature, the compiler issues error C2813then … Read more