.NET Framework安装包括的MSBuild?NET、Framework、MSBuild

2023-09-07 09:13:52 作者:红装。待出阁

我使用的的MSBuild 的,我想大家的是,有一台机器用的 .Net框架的可以下载我的项目,做的构建/发布的执行操作只有一个的.cmd /蝙蝠文件。

I'm writing my first CI script using MSBuild and I want to everyone that have a machine with the .Net Framework can download my project and do a build/publish operations executing only one .cmd/.bat file.

然后我把资源库中的依赖库到的构建/发布的这个项目。

Then I'm putting in the repository dependencies libs to build/publish this project.

我需要把msbuild.exe存储库中的呢?或者MSBuild的走到一起的 .Net框架的安装?

I need to put msbuild.exe in the repository too? Or MSBuild come together with .Net Framework installation?

注:我的建筑/发布的Web项目,并使用 _WPPCopyWebApplication 目标该DLL的:微软。 WebApplication.Build.Tasks.Dll 。我需要这个DLL复制到我的仓库太像这样:http://odeto$c$c.com/blogs/scott/archive/2006/05/30/msbuild-and-web-application-projects.aspx?

Note: I'm building/publishing a web project and using _WPPCopyWebApplication target of this DLL: Microsoft.WebApplication.Build.Tasks.Dll. I need to copy this dll to my repository too like this: http://odetocode.com/blogs/scott/archive/2006/05/30/msbuild-and-web-application-projects.aspx?

推荐答案

您不需要投入的MSBuild到源代码控制库。它安装的.NET(完整的框架,不只是客户端配置文件),则不需要SDK的一部分。

You don't need to put MSBuild into source control repository. It is installed as part of .NET (Full Framework, not just Client Profile), you don't need SDK.

C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe