Predefined type “System.Void” is not defined or imported – Visual Studio builds fine but screws up everything in text editors

Hitting the phenomen Recently I went to a different machine. My company allowed for newer faster machines. Perfect to set up everything again and clean up. I needed to open an older project that I had been working on two months before. This is an asp.net core 1.1.2 solution that works …




Bad Image Exception on Azure Service Fabric Unit Tests

I just experienced this System.BadImageFormatException. Could not load file or assembly ‘System.Fabric, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. An attempt was made to load a program with an incorrect format. The unit test shall test a Azure Service Bus connection. Yes, sure it is a unit test and the …