.net - 在 Visual Studio 解决方案的上下文中,什么是 Artifact ?

标签 .net visual-studio deployment teamcity artifact

希望是一个简单的问题。

在 Visual Studio 解决方案的上下文中,什么是 Artifact ?他们在做什么?有哪些常见的部署模式?

最佳答案

来自 docs :

Build artifacts are files produced by a build and stored on the server. Typically these include distribution packages, WAR files, reports, log files, etc. When creating a build configuration you specify artifacts of your build at the General Settings page



现在专门回答你的问题。

What is an artifact in the context of a visual studio solution?



您的解决方案由 TeamCity 使用 Build Step 编译.
Artifact 是您在编译 Visual Studio sln 文件后选择“保留”的文件。

例如:

enter image description here

这假设您有一个编译 2 个项目的 sln,ConsoleApplicationWebApi - 这个例子说 keep all the output of ConsoleApplication and all the dll's of WebApi.这些 Artifact 由 TeamCity 持有,可以作为部署过程的一部分进行下载。

关于.net - 在 Visual Studio 解决方案的上下文中,什么是 Artifact ?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14325731/

相关文章:

c# - weka .net ikvm -> 为什么加载 csv 文件这么慢?

c# - 查询 XmlDocument 而不会出现 'Namespace prefix is not defined' 问题

c++ - 无法使用 Visual Studio 2015 Pro 构建 boost 1.60

c# - 尝试将参数传递给 t4 模板时出错

node.js - 如何在 Azure 网站上托管的express.js 应用程序上设置后台进程?

php - 抑制 Composer dump-autoload -o 上的 "Ambiguous class resolution"警告

.net - .Net core 1.0 准备好在全面的生产站点上使用了吗?

c# - 是否有在 .net 中实现专有连接池的标准方法?

c# - 设置 [PARAMETER] 的值时意外结束 - Visual Studio 说字符串不是有效的 JSON,而在线验证器说它是

asp.net - 部署后更改文件夹权限