希望是一个简单的问题。
在 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 文件后选择“保留”的文件。
例如:
这假设您有一个编译 2 个项目的 sln,
ConsoleApplication
和 WebApi
- 这个例子说 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/