Gallio:提取所需二进制文件的简单方法?

发布于 2024-09-25 18:01:16 字数 641 浏览 0 评论 0原文

我将项目所需的所有 Gallio 二进制文件存储在 SVN 存储库中。我已经使用 Gallio 好几年了,它是一个优秀的库。

Gallio 唯一真正(且独特)的问题是它非常臃肿,包中包含数十个程序集和其他文件。在最新版本 (3.2.603) 中,我统计了 1041 个文件,而这只是 bin 目录。例如,该软件包包括 AutoCAD 插件,我认为 99.5% 的人不需要这些插件,我认为应该是其他附加软件包的一部分,而不是主要软件包的一部分。

尽管过去我设法手动提取工作所需的内容并将其添加到版本控制中,但它变成了真正的 PITA,以后将其升级到更新的版本 - 子目录结构发生变化,文件发生变化,而你永远不会真正知道哪些文件是必需的,哪些文件可以安全地删除。

所以基本上,我正在寻找一种方法来使这变得更简单。假设我需要 Gallio 的以下功能:

  1. 基本测试框架。
  2. Gallio.Echo 作为命令行运行程序。 GUI 运行程序实际上并不需要包含在 SVN 中。
  3. VisualStudio 集成(如果有)
  4. TestDriven.NET 集成(如果有)。

有没有一种确定的方法可以只提取覆盖上述内容所需的文件?

I store all of Gallio's binaries needed for a project in a SVN repository. I've been using Gallio for several years now and it's an excellent library.

The only real (and unique) problem with Gallio is that it is very bloated, with dozens of assemblies and other files that come in the package. In the very latest release (3.2.603) I counted 1041 files, and that's just the bin directory. The package includes plugins for AutoCAD, for example, which I think 99.5% of people have no need for and I think should be part of some other, add-on package and not the main one.

Although in the past I managed to manually extract the stuff I needed for my work and add it to the version control, it becomes a real PITA to later upgrade it to a newer version - the subdirectory structure changes, files change and you never really know what files are the bare necessities and what files can safely be removed.

So basically, I'm looking for a way to make this simpler. Let's say I need the following functionality from Gallio:

  1. Basic test framework.
  2. Gallio.Echo as the command line runner. GUI runner is not really necessary to be included in the SVN.
  3. VisualStudio integration (if any)
  4. TestDriven.NET integration (if any).

Is there a sure way to extract only the files needed to cover the above?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

高跟鞋的旋律 2024-10-02 18:01:16

这里是关于Gallio 二进制文件部署<的良好文档来源/a>.

要创建有效的 Gallio 安装,您需要将所有您感兴趣的插件复制到目标位置。因此,对于最小安装,您将拥有:

  • Gallio.plugin
  • Gallio.dll
  • Gallio.pdb
  • Gallio.xml
  • Gallio.XmlSerializers.dll
  • Gallio.Host.exe
  • Gallio.Host.exe.config
  • Gallio.Host.x86.exe
  • Gallio.Host.x86.exe.config
  • Gallio.Host.Elevated.exe
  • Gallio.Host.Elevated.exe.config
  • Gallio.Host.Elevated.x86.exe
  • Gallio.Host.Elevated.x86.exe.config
  • 资源文件夹
    • Assembly.ico
    • Container.ico
    • Fixture.ico
    • Gallio.ico
    • 测试.ico
    • 不支持.ico

Here is good source of documentation about deployment of Gallio binaries.

To create a valid Gallio install, you need to copy all the plugins you are interested in to the target location. So for the minimum install you would have:

  • Gallio.plugin
  • Gallio.dll
  • Gallio.pdb
  • Gallio.xml
  • Gallio.XmlSerializers.dll
  • Gallio.Host.exe
  • Gallio.Host.exe.config
  • Gallio.Host.x86.exe
  • Gallio.Host.x86.exe.config
  • Gallio.Host.Elevated.exe
  • Gallio.Host.Elevated.exe.config
  • Gallio.Host.Elevated.x86.exe
  • Gallio.Host.Elevated.x86.exe.config
  • Resources folder
    • Assembly.ico
    • Container.ico
    • Fixture.ico
    • Gallio.ico
    • Test.ico
    • Unsupported.ico
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文