Archive for March, 2007|Monthly archive page

Visual Studio Doesn’t Auto-Generate Code-Behind for XAML file

If you have a XAML file in a Visual Studio project, but for some reason, Visual Studio won’t auto-generate the code-behind for the XAML then make sure that the following line is in inside the <Project> tag of your project file:

<Import Project=”$(MSBuildBinPath)\Microsoft.WinFX.targets” />

SyncToy 1.4 and Vista x64 Error (Fixed)

If you are receiving the following error when trying to run SyncToy 1.4 on Vista x64:

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: synctoy.exe
Problem Signature 02: 1.4.0.0
Problem Signature 03: 453f990b
Problem Signature 04: SqmManagedWrapper
Problem Signature 05: 1.4.0.0
Problem Signature 06: 453f9909
Problem Signature 07: 8
Problem Signature 08: 38
Problem Signature 09: System.BadImageFormatException
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 3081

Then here is a fix:

  1. Install Microsoft Net Monitor 3.0.
  2. Copy the custsat.dll file from C:\Program Files\Microsoft Network Monitor 3.0\ (or wherever your Net Monitor installation is located).
  3. Paste the file into C:\Users\YourLoginName\AppData\Local\SyncToy\ (or wherever your SyncToy installation is located).

That’s it! Happy Syncing.

Smart Client Software Factory and Setup Error 2869

I received this error while trying to install the Smart Client Software Factory. The workarounds are:

  1. Disable UAC (in my case) or else install using an administrator command prompt.
  2. Close Visual Studio.

Apparently, the install messes with devenv.exe, which is my Visual Studio had to be closed.

Type Coloring (+1 C#)

C# colors types differently. This makes it easy to spot the types from methods and properties.