Getting setup to use the new Smart Client Software Factory

Over the weekend, I mentioned the release to MSDN of the new Smart Client Software Factory (SC-SF). It’s fairly easy to get setup; however, since I ran into a few minor snags, I thought I’d share what ultimately worked for me as follows:

  1. Install .NET 2.0 (e.g. via a Visual Studio 2005 installation or via Windows Update).
  2. Install the Composite UI Application Block (CAB C#, Dec-05). Since this was released last December, it’s been too long for me to remember if the installer asks if you want everything compiled. You need to compile everything in the CAB to fully enable your eventual SC-SF installation. (You may also want to install the hands-on labs (C#) for CAB, but these are completely optional where SC-SF is concerned.)
  3. Install Enterprise Library 2.0 (Jan-06) and choose to compile everything. (You may also want to install the hands-on labs for EntLib 2.0, but these are completely optional where SC-SF is concerned.)
  4. Install Guidance Automation Extensions (GAX, Jun-06 CTP). Before doing so, use the Task Manager to verify that no devenv.exe processes are running. If you’re running Visual Studio 2005, exit the IDE before installing GAX.
  5. Install Guidance Automation Toolkit (GAT, Jun-06 CTP). Before doing so, use the Task Manager to verify that no devenv.exe processes are running. If you’re running Visual Studio 2005, exit the IDE before installing GAT.
  6. Install Smart Client Software Factory (SC-SF, Jun-06). Unlike GAX and GAT, which installed via the command line (e.g. “msiexec /i GAT-Jun-06-CTP_SETUP.msi /quiet /lv c:\gat-install-msiexec-log.txt”) just fine, SC-SF is best installed by launching and visually interacting with the installer (i.e. “Smart Client Software Factory – June 2006.msi”). The SC-SF installer will ask you for your CAB and EntLib 2.0 binaries. I was able to accept the default locations provided by the installer–going to them is another way to confirm that you have compiled everything (or not).

Successfully completing the above process will result in the following new functionality exposed in Visual Studio 2005–a guidance package for the production of smart client applications:

New smart client guidance package in Visual Studio 2005

Good stuff! And while you’re at it, be sure to pick up the RTM of FxCop 1.35 for .NET 2.0 development, too.

Happy Fourth of July!

Update 7/11/2006: Although not a show-stopper to a successful SC-SF installation, I swapped the order of EntLib 2.0 and CAB installations above to match the SC-SF “Getting Started” installation order (i.e. CAB first then EntLib 2.0). Speaking of the SC-SF “Getting Started” document, it provides a useful visual as follows to demonstrate SC-SF’s expression of recommended practices:

Visual expression of SC-SF recommended practices

-Craig
http://craigrandall.net/
@craigsmusings