Tracking undisposed objects

Missing dispose calls can cause serious problems, but are pretty hard to debug. A Fody addin can help to track down those problems. Read moreā€¦

Advertisements

Using C# 3.0 Features with .NET 2.0

With Visual Studio 2008 Microsoft also updated the C# language. C# 3.0 brings several new and useful features that are described in a MSDN article. Visual Studio 2008 will always compile with the new C# 3.0 compiler even when you select .NET Framework 2.0 as target framework in your project. This raises an interesting question: … Continue reading Using C# 3.0 Features with .NET 2.0

C++ Project stopped compiling in VS08 and mixing 8.0/9.0 compiler and linker

Recently I ran into a problem in Visual Studio 2008: a C++ project suddenly didn't compile anymore. I had successfully compiled it before. I did some research on the internet and eventually found the solution in this forum post. It turned out that I had installed the Vista Platform SDK from Microsoft's web site. That … Continue reading C++ Project stopped compiling in VS08 and mixing 8.0/9.0 compiler and linker

GTK# and Visual Studio 2005

The Windows installer for GTK# comes with project templates for Visual Studio 2005. However, they don't work out of the box. You have to modify the .vsz files in C:\Program Files\Microsoft Visual Studio 8\VC#\CSharpProjects. Modify the line Wizard=VsWizard.VsWizardEngine.7.1 and change the number to 8.0: Wizard=VsWizard.VsWizardEngine.8.0