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:
- Install .NET 2.0 (e.g. via a Visual Studio 2005 installation or via Windows Update).
- 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.)
- 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.)
- 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.
- 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.
- 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:
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: