搭建CAB/SCSF的开发环境步骤

 下面列出我的开发环境和搭建过程,有兴趣的朋友可以按照以下步骤建立CAB/SCSF的开发环境:

1.1 工作机
1.1.1 操作系统
Windows XP

1.1.2 开发工具
说明:安装以下开发工具需要注意先后顺序。
1 安装Visual Studio 2008
安装Microsoft Visual Studio 2008 Team Suite。
说明:默认安装或者选择所有组建,Visual C#和Visual Basic都需要安装。
下载地址:
http://www.microsoft.com/downloads/details.aspx?FamilyID=D95598D7-AA6E-4F24-82E3-81570C5384CB&displaylang=zh-cn
2 安装Visual Studio 2008 Service Pack
安装Microsoft Visual Studio 2008 Service Pack 1。
说明:用于使用.Net最新特性
下载地址:
http://www.microsoft.com/downloads/details.aspx?FamilyID=27673C47-B3B5-4C67-BD99-84E525B5CE61&displaylang=zh-cn
3 安装Enterprise Library 3.1
安装Enterprise Library 3.1。
说明:SCSF目前只支持Enterprise Library 3.1。
下载地址:
http://www.microsoft.com/downloads/details.aspx?familyid=4c557c63-708f-4280-8f0c-637481c31718&displaylang=en
4 安装Guidance Automation Extensions
安装Guidance Automation Extensions for Visual Studio 2008。
版本:February 2008 or later
下载地址:
http://www.microsoft.com/downloads/details.aspx?familyid=DF79C099-4753-4A59-91E3-5020D9714E4E&displaylang=en
5 安装Guidance Automation Extensions Service Pack
安装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 安装Guidance Automation Toolkit
安装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 安装Microsoft Visual Studio 2008 SDK(可选)
安装Microsoft Visual Studio 2008 SDK
说明:用于重新编译Guidance Automation Extensions源代码。
下载地址:
http://www.microsoft.com/downloads/details.aspx?FamilyID=30402623-93ca-479a-867c-04dc45164f5b&displaylang=en

8 安装Microsoft SQL Server Compact 3.5(可选)
安装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 安装Smart Client Software Factory-April 2008
安装Smart Client Software Factory – April 2008。
说明:用于客户端开发
下载地址:
http://www.microsoft.com/downloads/details.aspx?familyid=3BE112CC-B2C1-4215-9330-9C8CF9BCC6FA&displaylang=en
10 更新Guidance Package(重要)
说明:更新Guidance Package以修正已知的bug。

参考资源:
http://www.codeplex.com/smartclient/Wiki/View.aspx?title=Known%20Issues:%20SC-SF%20April%202008%20with%20Visual%20Studio%202008%20and%20SP1%20Beta&referringTitle=Known%20Issues%20/%20Fixes#NewSolutionsDontRun

操作过程总结如下:
1) 启动SCSF源代码目录中的解决方案GuidancePackage;
2) 按参考资源修改指定内容;
3) 在项目SmartClientFactoryPackage上点击鼠标右键,选择Register Guidance Package重新注册。
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. 
说明:如果自动注册未解决问题,那么就需要手工更新XML文件。
需要更新的文件如下:
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
如果SCSF安装在默认路径,那么更新文件的目标根目录为:
C:\Program Files\Microsoft Smart Client Factory April 2008\Guidance Package

至此,CAB/SCSF开发环境搭建完毕。
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值