Category: Blog
-
C#: Class Member variable called ‘type’ causes weird compile issues caused by AVAST Antivirus.
Problem: Try and use this class in any C# project and it won’t work, it will give errors after compiling that it can’t copy the exe/dll with the following errors codes (warning MSB3026: and error MSB3027: and error MSB3021:) Renaming the ‘type’ member variable to anything else causes it to compile and run perfectly. I tested this…
-
Windows Phone C#: “Layout cycle detected. Layout could not complete.” on LongListSelector Fix
Came across a very weird problem today that has occurred on my application Steam Live which I’ve never come across before… On a certain Steam Profile I’d get a crash with the following message: “Layout cycle detected. Layout could not complete.” After a lot of searching, confusion and everything else I’ve managed to find a…
-
Windows Phone 8.1 DirectX Sample Landscape mode broken / rotation doesn’t work.
The Problem: When the phone is in landscape mode, the rendered area isn’t rotated on screen! As you can see, the image on the right is when it is in portrait mode, the one below is when in landscape. The problem is caused by the following code in DeviceResources.cpp: Since the window size being created is…