Building .NET 4 Websites with MSBuild(without VS2010)

refer: http://alandjackson.wordpress.com/2010/10/13/building-net-4-websites-without-vs2010/

This post is based on my another one: 使用MSBuild自动编译发布你的ASP.NET应用程序, I assume you have basic knowledge about how to build a Visual Studio .sln solution with MSBuild.

Step 1: Install .Net Framework 4.0, download;

Step 2: Install the Windows SDK v7.1, download;

InstallWinSDK7.1

Step 3: Make Windows SDK v7.1 the default:

Run the Windows SDK 7.1 Command Prompt (Start => All Programs => Microsoft Windows SDK 7.1) and run:

C:\Program Files\Microsoft SDKs\Windows\v7.1>  Setup\WindowsSdkVer.exe -version:v7.1

Step 4: Copy the Visual Studio Web Application Build Targets, download.

Step 5: Try to build your Visual Studio solution with the build server that associated with your Team Foundation Server, or, simply with MSBuild.

posted on 2011-04-25 14:39 BFL 阅读(139) 评论(0) 编辑 收藏

http://www.cnblogs.com/BFLForever/