English 中文(简体)
如何利用连续整合服务器处理外部依赖的破碎问题? (Ex,Crystal Reports with TeamCity)
原标题:How to handle build breaking external dependencies with a Continuous Integration server? (Ex, Crystal Reports with TeamCity)
  • 时间:2010-12-13 19:54:03
  •  标签:
  • c#
  • teamcity

采用持续融合的新奇迹,并决定与团队精神相适应。 我的一个问题是,由于缺乏依赖性,我的法典没有编纂。

(8,7):错误CS0246: 无法找到哪类或名称的“Crystal Decision”(如果你没有使用指令或大会参考资料?)

因此,我不敢肯定这里应该做什么。

  1. Do I install the Crystal Reports redistributable and just let it sit there forever?
  2. Do I set up my build so that it installs Crystal Reports before compiling and uninstalls after all the tests are complete?
  3. Some other option I don t know about?

备选案文(1)似乎就是一个问题,因为我可能有多个需要不同版本的《晶体报告》的项目,或许我可以安装这些项目。 备选案文(2)似乎有可能通过指挥线。 我猜测这是这样做的正常方式?

增 编

最佳回答

为了简明回答你的问题,你应当把可再分配的装置放在包括团队建设代理人在内的预期汇编成册的每个箱子上,并无限期地留在那里(从那时起,你只得再次触及这一包件,以便按你的要求更新。

通常情况下,需要利用分布式的 CI模型建立团队式服务器(和/或其建筑代理人)和简单化开发环境和(或)安装软件。 另一种方式是,建筑代理人将需要开发环境所需要的相同资源,以便汇编申请,但完全安装了电离层识别器(可能使用蒸.或ant),其原因恰恰是,发展中国家环境需要资源。 这些资源包括但不限于:

  • The codebase itself; all source code, config files and content/embedded resource files.
  • The targeted version of the .NET Framework, and any other version you wish to support explicitly (such as 3.5 when you target 4.0)
  • External libraries such as ORM and IoC frameworks, NUnit, custom data providers such as SqLite, and yes, redistributables such as Crystal Reports. This includes GAC registration as necessary.
  • Proper folder structure for inputs, outputs, assembly references, etc. identical to the dev environment.

确保这一点的最容易的方法是尽可能将其建设到你的解决架构中。

问题回答

暂无回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签