<i id='oyL3V'><tr id='oyL3V'><dt id='oyL3V'><q id='oyL3V'><span id='oyL3V'><b id='oyL3V'><form id='oyL3V'><ins id='oyL3V'></ins><ul id='oyL3V'></ul><sub id='oyL3V'></sub></form><legend id='oyL3V'></legend><bdo id='oyL3V'><pre id='oyL3V'><center id='oyL3V'></center></pre></bdo></b><th id='oyL3V'></th></span></q></dt></tr></i><div id='oyL3V'><tfoot id='oyL3V'></tfoot><dl id='oyL3V'><fieldset id='oyL3V'></fieldset></dl></div>

  1. <small id='oyL3V'></small><noframes id='oyL3V'>

      <legend id='oyL3V'><style id='oyL3V'><dir id='oyL3V'><q id='oyL3V'></q></dir></style></legend>
    1. <tfoot id='oyL3V'></tfoot>
      • <bdo id='oyL3V'></bdo><ul id='oyL3V'></ul>

      Visual Studio (.sln) 生成运行程序和 MSBuild 之间的差异

      Differences between Visual Studio (.sln) build runner and MSBuild(Visual Studio (.sln) 生成运行程序和 MSBuild 之间的差异)
      <i id='tz45e'><tr id='tz45e'><dt id='tz45e'><q id='tz45e'><span id='tz45e'><b id='tz45e'><form id='tz45e'><ins id='tz45e'></ins><ul id='tz45e'></ul><sub id='tz45e'></sub></form><legend id='tz45e'></legend><bdo id='tz45e'><pre id='tz45e'><center id='tz45e'></center></pre></bdo></b><th id='tz45e'></th></span></q></dt></tr></i><div id='tz45e'><tfoot id='tz45e'></tfoot><dl id='tz45e'><fieldset id='tz45e'></fieldset></dl></div>

            <bdo id='tz45e'></bdo><ul id='tz45e'></ul>
            <legend id='tz45e'><style id='tz45e'><dir id='tz45e'><q id='tz45e'></q></dir></style></legend>

              <tfoot id='tz45e'></tfoot>

              <small id='tz45e'></small><noframes id='tz45e'>

                <tbody id='tz45e'></tbody>
              • 本文介绍了Visual Studio (.sln) 生成运行程序和 MSBuild 之间的差异的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                我正在尝试将 TeamCity 设置为使用 .Net 执行 CI 并配置我拥有的构建运行器:

                I'm trying to set TeamCity to do a CI using .Net and configuring build runners I have:

                1. Visual Studio (sln)
                2. MSBuild
                3. Visual Studio 2003

                有什么区别?为什么三个构建工作在同一类型的项目上?(除了 2003 年,我相信它只适用于 2003 年,为什么?)

                What's the difference? Why three build to work on the same type of project? (With the exception of 2003 which is only for 2003 I believe, Why?)

                考虑到这个问题,我们有这个 .exe 文件的构建运行器:

                Taking the issue, we have this build runners for .exe files:

                1. .NET 进程运行器
                2. 命令行

                命令行"构建运行器不适用于任何 .net 程序集?为什么是 .Net Process Runner?

                The "Command Line" build runner not works with any .net assembly? Why the .Net Process Runner?

                推荐答案

                Visual Studio (sln)
                如果您的解决方案小型,并且您不需要做花哨的事情,则可以使用 Visual Studio (sln) 构建运行程序.它的作用与您执行 Project->Build(从 VS 菜单)时完全相同.此选项非常易于配置,只需单击几下,您的 CI 服务器就会编译您的解决方案.

                Visual Studio (sln)
                If your solution is small and you are not required to do fancy things you can use Visual Studio (sln) build runner. It does exactly the same thing as when you do Project->Build (from VS menu). This option is very easy to configure, a few clicks and your CI server compiles your solution.

                MSBuild
                如果你需要做更多的高级场景,除了简单的编译,比如应用不同的配置文件,将转换后的值插入配置文件,部署二进制文件等,你会选择 MSBuild 选项.你会知道什么时候需要使用它,仅仅是因为 sln builder 无法做任何事情.这个选项需要一些构建脚本语言的知识,这是一种基于任务的和类似 xml 的语言.

                MSBuild
                If you need to do more advanced scenarios, apart from simple compilation, like apply different config files, insert transformed values into config file, deploy binaries etc, you would select MSBuild option. You will know when you need to use this, simply because sln builder will not be capable of doing stuff. This option requires some knowledge of build scripting language, which is a task-based and xml-like.

                这篇关于Visual Studio (.sln) 生成运行程序和 MSBuild 之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                Force JsonConvert.SerializeXmlNode to serialize node value as an Integer or a Boolean(强制 JsonConvert.SerializeXmlNode 将节点值序列化为整数或布尔值)
                Using JSON to Serialize/Deserialize TimeSpan(使用 JSON 序列化/反序列化 TimeSpan)
                Could not determine JSON object type for type quot;Classquot;(无法确定类型“Class的 JSON 对象类型.)
                How to deserialize a JSONP response (preferably with JsonTextReader and not a string)?(如何反序列化 JSONP 响应(最好使用 JsonTextReader 而不是字符串)?)
                how to de-serialize JSON data in which Timestamp it-self contains fields?(如何反序列化时间戳本身包含字段的JSON数据?)
                JSON.Net custom contract serialization and Collections(JSON.Net 自定义合约序列化和集合)

                • <small id='29NmT'></small><noframes id='29NmT'>

                • <i id='29NmT'><tr id='29NmT'><dt id='29NmT'><q id='29NmT'><span id='29NmT'><b id='29NmT'><form id='29NmT'><ins id='29NmT'></ins><ul id='29NmT'></ul><sub id='29NmT'></sub></form><legend id='29NmT'></legend><bdo id='29NmT'><pre id='29NmT'><center id='29NmT'></center></pre></bdo></b><th id='29NmT'></th></span></q></dt></tr></i><div id='29NmT'><tfoot id='29NmT'></tfoot><dl id='29NmT'><fieldset id='29NmT'></fieldset></dl></div>

                    <bdo id='29NmT'></bdo><ul id='29NmT'></ul>

                          <tbody id='29NmT'></tbody>
                      1. <tfoot id='29NmT'></tfoot>
                        <legend id='29NmT'><style id='29NmT'><dir id='29NmT'><q id='29NmT'></q></dir></style></legend>