• Smart Client Software Factory (SCSF) GP source code with Installer that works on Visual Studio 2008 + SP1

    Published by on September 29th, 2008 4:15 pm under CAB, SCSF

    13 Comments

    A couple of months ago I announced in my blog that the P&P Sustained Engineering team had published an article in the SCSF Knowledge Base that describes the Known Issues and Fixes for the SCSF – April 2008 release running with Microsoft Visual Studio 2008 Service Pack 1.

    The fixes for these issues included modifying the guidance package source code and register a custom one. So I decided to post the source code with the fixes including a setup project in order to create an installer for it.

    Download it from here.

    Disclaimer: This is not an official Microsoft release. Use it at your own risk.

    Registering the Guidance Package using the installer

    To register the guidance package using the custom installer performs the following steps:

    1. Open and build the GuidancePackage.sln solution to generate the installer.
    2. Navigate to the SmartClientFactorySetup\Debug folder.
    3. Close all instances of Visual Studio.
    4. Run the SmartClientFactoryPackageSetup.msi installer.
      Note: If you are running on Vista with the User Account Control (UAC) activated, you must run the installer with the option Run as administrator.

    Manually registering the Guidance Package

    To manually register the guidance package perform the following steps:

    1. Open the GuidancePackage.sln solution.
      Note: If you are running on Vista with the User Account Control (UAC) activated, you must open Visual Studio with the option Run as administrator.
    2. On the Tools menu of Visual Studio, click Guidance Package Manager.
    3. In the Guidance Package Manager dialog box, click Enable / Disable Packages.
    4. In the Enable and Disable Packages dialog box, select the Guidance Package Development check box.
    5. Click OK.
      Enabling the Guidance Package Development allows you to register a guidance package.
    6. Close all other instances of Visual Studio.
    7. Right-click the SmartClientFactoryPackage project, and then click Register Guidance Package.

    For more information you can check the following article:

    Using the Fixed Guidance Package

    Once you have installed/registered the guidance package, you will be able to use the Smart Client Development for SP1 package (see the image below).

    SmartClientDevelopmentForSP1

    Enjoy.

    • Donovan

      thanks for this. somehow i didn’t manage to follow the instructions correctly so this saved me a big headache!

    • José Gutiérrez Hilaccama

      Hello from Perú, thanks for this solution!!, it helped to me to solve this issue with the SCSF (but i have not followed exactly the instructions because of problems with the name of the folders, in my case they are in spanish “Archivos de Programa” … but after trying with other options it finally worked), I’m starting to see the SCSF and I’m not happy confronting this kind problems when I’m starting to use this SF, I’ve read that this is a CTP version, do you know when is gonna be available the final version of these Software Factories?.
      Thanks again for this solution :D .
      … and sorry about my english

    • http://blogs.southworks.net/mconverti mconverti

      Hi Jose:
      The current version of the SCSF is the April 2008 release. The problem with it is that presents some issues when running in Visual Studio 2008 Service Pack 1.

      The code that I published here is not a CTP version of the SCSF. It is just the fixed guidance package source code to work on Visual Studio 2008 Service Pack 1. I applied the fixes described in the following article and added a setup project:
      SCSF – April 2008 with Visual Studio 2008 Service Pack 1 Known Issue

      You can create a WorkItem in the SCSF Issue Tracker to suggest a new release of the factory so people can vote for it.

      Hope it helps.
      Mariano Converti

    • Richard

      Great post!

      You saved me a lot of time…

      thank you

    • http://blogs.southworks.net/mconverti mconverti

      Hi Hiral:
      To use the Smart Client Development for SP1 package in an existing project, you must enable it in the following way:

      • Open your existing SCSF solution in Visual Studio.
      • On the Tools menu of Visual Studio, click Guidance Package Manager.
      • In the Guidance Package Manager dialog box, click Enable / Disable Packages.
      • In the Enable and Disable Packages dialog box, select the Smart Client Development for SP1 check box and deselect the others.
      • Click OK.

      Hope it helps.
      Mariano Converti

    • http://www.stlm.ca Luc Morin

      Hi Mariano,

      It may sound like a newbie question, but I wanted to make sure I didn’t do anything stupid before proceeding.

      It seems that this package includes the Enterprise Library version 3.1, but I would need the 4.0 version. Should I blindly go and replace all the Enterprise dll’s in the lib folder with the 4.0 versions ?

      Or do you have a version of this package with 4.0 libs ?

      Thank you.

      Luc Morin

    • mconverti

      Hi Luc Morin,

      Some time ago we published in the SCSF Knowledge Base an article describing the steps required to use the Enterprise Library 4.0 with SCSF – April 2008.
      How To: Use SC-SF with Enterprise Library 4

      Hope it helps.
      Mariano Converti

    • http://artazor.wordpress.com Anatoly Ressin

      An alternative version of SCSF for working with VS2008 SP1 It is available at:

      http://artazor.wordpress.com/2008/12/07/scsf-april-2008-fix-for-visual-studio-2008-sp1/

      As in previous case patches are carefuly applied as described above, but the difference from previous solution published by Mariano Converti is that this package is prpared as BINARY distribution that registers within VS automaticaly and also contains all HxS Help files that are merged into VS Help Collection at the installation time. Also it contains SCSFContrib package binaries and a couple of files of EntLib 4.1 (October). Thus this package can be used even without original SCSF (it almost completely replaces it – with only exception of code samples and tutorials)

      Feedback appreciated :]

    • Henry

      Do you still have the file. “Download it from here” is not working

    • http://blogs.southworks.net/mconverti Mariano Converti

      Hi Henry,

      I’ve just fixed the link. Thanks for your comment!

      Mariano Converti

    • Rancho

      Thanks a lot for sharing such a useful information

About

Mariano Converti Profile Picture
Mariano Converti

Map