终于等到一个比较稳定的版本,我把我的环境构建过程写下来,希望能给还没有入门的朋友一点帮助。
1.操作系统.NET Framework 3.0 RC1适用与以下三个操作系统
(1).Windows 2003 + SP1
(2).Windows XP + SP2
(3).Windows Vista RC1 (不推荐使用Vista:版本不稳定,没有中文版,虚拟光驱不好用)。
2.安装运行时组件(dotnetfx3.exe 50M)
Microsoft Pre-Release Software Microsoft .NET Framework 3.0 - Release Candidate
注:(1)Vista RC1自带运行时,无需安装。
(2)最好下载完整的安装包:Installation To start the installation process, you will need to run the download file; this will initiate the installation of the .NET Framework 3.0 Release Candidate; If you have troubles with the download manager, you can download the entire package for x86 or for x64 which are both .EXE files.
3.安装Visual Studio 2005
4.安装软件开发包Windows SDK Release Candidate 1 (RC1) :(6.0.5536.0.2.WindowsSDK_Vista_RC1.DVD.Rel.img 1.15G)http://www.microsoft.com/downloads/details.aspx?FamilyId=117ECFD3-98AD-4D67-87D2-E95A8407FA86&displaylang=en
5.安装相对应的开发模板Visual Studio 2005 Extensions for .Net Framework 3.0 RC 1 (v*** twfx.msi 3.7M)http://www.microsoft.com/downloads/details.aspx?FamilyId=935AABF9-D1D0-4FC9-B443-877D8EA6EAB8&displaylang=en
6.安装工作流开发模板(可选)Visual Studio 2005 Extensions for Windows Workflow Foundation Release Candidate 5 (Visual Studio 2005 Extensions for Windows 。
安装其他来自微软或者第三方的开发工具,如Sparkle。当然,在Microsoft .NET Framework 3.0安装之后,就可以进行程序开发了。但IDE, SDK, Tool等等都有助于提高开发效率。
Workflow Foundation RC5(EN).exe 6.6M)
简单的说: 先装vs2005或.net framework3.0 runtime都可以 两个装完后再装3.0 sdk,最后装orcas(visual studio extention for winfx)
检查.NET的安装情况网页代码
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head> <title>Test for NET Framework 3.0</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<script type="text/javascript" language="JavaScript">
<!-- var RequiredFXVersion = "3.0.04131.06";
function window::onload()
{ var foundVer = CheckRequiredFXVersion(RequiredFXVersion);
if (foundVer != null)
{ result.innerHTML = "此计算机有正确版本的 .NET Framework:" + foundVer + "."+ "<br/>" + "此计算机的 userAgent 字符串为:" + navigator.userAgent + "。"; } else { result.innerHTML = "此计算机没有正确版本的 .NET Framework。<br/>" + "<a href='http://msdn.microsoft.com/windowsvista/default.aspx'>单击此处</a> " + "立即获得 .NET Framework 3.0。<br>" + "此计算机的 userAgent 字符串为:" + navigator.userAgent + "。"; } } // //从用户代理字符串中检索可用版本 //并检查它们是否与所需版本相匹配。 // function CheckRequiredFXVersion(requiredVersion) { var userAgentString = navigator.userAgent.match(//.NET CLR[ .][0-9.]+/g); if (userAgentString != null) { var i; for (i = 0; i < userAgentString.length; ++i) { var ver = userAgentString[i].slice(9); if (CheckVersion(requiredVersion, ver)) return ver; } } return null; } // //检查某个特定版本是否为所需版本。 // function CheckVersion(requiredVersion, ver) { requiredVersion = requiredVersion.split("."); ver = ver.split("."); //主要版本号必须严格匹配。 if (requiredVersion[0] != ver[0]) return false; //次要版本号/版号必须不低于所需版本。 var i; for (i = 1; i < requiredVersion.length && i < ver.length; i++) { if (new Number(ver[i]) < new Number(requiredVersion[i])) return false; } return true; } --> </script> </head> <body> <div id="result" /> </body> </html>
Visual Studio 2005 extensions for .NET Framework 3.0 (WCF & WPF), November 2006 CTP 这个东西太难找。我写下地址
vs2005发布生成自定义dll
Web Deployment Projects with Visual Studio 2005 下载地址:
简单操作如下:
1.下载后直接安装,安装完后打开VS2005;
2.在[生成]->[发布网站]下面会多出一项[Add Web Deployment Project],也可在要发布的网站项目上点右键.直接选取[Add Web Deployment Project],弹出属性对话框后.设置好指定名称和存放目录添加后,可以看到当前解决方案中多了一项,有很多其它属性,就自己去设置了;
3.在刚添加的方案中点右键->[生成],就会生成相应文件和目录了