The following lists my development environment and setup process. If you are interested, follow these steps to create a cab/scsf development environment:
1.1 worker
1.1.1 Operating System
Windows XP
1.1.2 Development Tools
Note: install the following development tools in sequence.
1. Install Visual Studio 2008
Install Microsoft Visual Studio 2008 team suite.
Note: Visual C # and Visual Basic are installed by default or all components are selected.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = D95598D7-AA6E-4F24-82E3-81570C5384CB & displaylang = ZH-CN
2. Install Visual Studio 2008 Service Pack
Install Microsoft Visual Studio 2008 Service Pack 1.
Description: used to use the latest. NET features.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 27673c47-b3b5-4c67-bd99-84e525b5ce61 & displaylang = ZH-CN
3. Install Enterprise Library 3.1
Install Enterprise Library 3.1.
Note: scsf currently only supports enterprise library 3.1.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 4c557c63-708f-4280-8f0c-637481c31718 & displaylang = en
4. Install guidance automation extensions
Install guidance automation extensions for Visual Studio 2008.
Version: February 2008 or later
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = DF79C099-4753-4A59-91E3-5020D9714E4E & displaylang = en
5. Install guidance automation Extensions Service Pack
Install guidance automation extensions for Visual Studio 2008 and Visual Studio 2008 Service Pack 1 update (gaxp1409 ).
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = E28205C6-BB07-401B-9A76-804784598BF0 & displaylang = en
6. Install the guidance automation Toolkit
Install guidance automation toolkit for Visual Studio 2008-February 2008 release.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = B91066B3-D1D6-4990-A45F-34CF8DBDC60C & displaylang = en
7. Install Microsoft Visual Studio 2008 SDK (optional)
Install Microsoft Visual Studio 2008 SDK
Note: It is used to re-compile the Source Code of Guidance automation extensions.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 30402623-93ca-479a-867c-04dc45164f5b & displaylang = en
8. Install Microsoft SQL Server compact 3.5 (optional)
Install Microsoft SQL Server compact 3.5 and Microsoft synchronization services for ADO. Net V1.0 for Windows Desktop
:
Http://www.microsoft.com/downloads/details.aspx? & Familyid = 7849b34f-67ab-481f-a5a5-4990597b0297 & displaylang = en
9 install smart client software factory-installation l 2008
Install Smart Client software factory-installation l 2008.
Description: used for client development.
:
Http://www.microsoft.com/downloads/details.aspx? Familyid = 3bestmcc-b2c1-4215-9330-9c8cf9bcc6fa & displaylang = en
10 update the guidance package (important)
Note: update the guidance package to fix known bugs.
Reference resources:
Http://www.codeplex.com/smartclient/Wiki/View.aspx? Title = known % 20 issues: % 20sc-sf % 20 limit l % 202008% 20 with % 20 visual % 20 studio % 202008% 20and % 20sp1% 20 beta & referringtitle = known % 20 issues % 20/% 20 fixes # newsolutionsdontrun
The procedure is summarized as follows:
1) Start the solution guidancepackage in the scsf source code directory;
2) modify the specified content according to the reference resource;
3) Right-click the project smartclientfactorypackage and select register guidance package to register again.
Note: If the register guidance package doesn't appear, you have to enable guidance package development. to do this, go to the Tools menu, select Guidance Package Manager, click enable/disable packages, select guidance package development, click OK, and close.
NOTE: If Automatic Registration does not solve the problem, you need to manually update the XML file.
The file to be updated is as follows:
Recipes \ common \
Createsmartclientfactorybusinessmodulecommon. xml
Createsmartclientfactoryfoundationalmodulecommon. xml
Templates \ solutions \ projects \ shell. Basic. CS \
Profilecatalog. xml
Templates \ solutions \ projects \ shell. Basic. VB \
Profilecatalog. xml
Templates \ solutions \ projects \ shell. Extended. CS \
Profilecatalog. xml
Templates \ solutions \ projects \ shell. Extended. VB \
Profilecatalog. xml
If scsf is installed in the default path, the target root directory of the update file is:
C: \ Program Files \ Microsoft Smart Client factory limit l 2008 \ Guidance Package
Now, the CAB/scsf development environment has been set up.