Setting 32-bit x86 build target in Visual C# 2008 Express Edition

In VC# Express, this property is missing, but you can still create an x86 configuration if you know where to look.

It looks like a long list of steps, but once you know where these things are it’s a lot easier. Anyone who only has VC# Express will probably find this useful. Once you know about Configuration Manager, it’ll be much more intuitive the next time.

  1. In VC# Express 2005, go to Tools -> Options.
  2. In the bottom-left corner of the Options dialog, check the box that
    says, “Show all settings”.
  3. In the tree-view on the left hand side, select “Projects and Solutions”.
  4. In the options on the right, check the box that says, “Show advanced
    build configuraions.”
  5. Click OK.
  6. Go to Build -> Configuration Manager…
  7. In the Platform column next to your project, click the combobox and select
    “”.
  8. In the “New platform” setting, choose “x86”.
  9. Click OK.
  10. Click Close.

There, now you have an x86 configuration! Easy as pie! 🙂

I also recommend using Configuration Manager to delete the Any CPU platform. You really don’t want that if you ever have depedencies on 32-bit native DLLs (even indirect dependencies).