TFS 2010自定义生成活动TF215097错误自定义、错误、TFS

2023-09-03 00:22:58 作者:迷惘

有关在TFS 2010生成过程,我创建了一个包含一些自定义code活动的库。 在过去,它都能正常运作通过将库(* .DLL)到源代码管理和调节。生成控制器 - 版本控制路径的自定义组件到图书馆可在源代码控制中找到的路径

For the Build Process in TFS 2010 I've created a library containing some custom code activities. In the past it all worked fine by adding the library (*.dll) to Source Control and setting the 'Build Controller - Version Control Path to Custom Assemblies' to the path where the library could be found in Source Control.

但由于几天(我一直在更新库常)构建不会成功了。 报告该错误是:

But since a few days (and I've been updating the library often) the build doesn't succeed anymore. The error reported is:

TF215097:出现错误时   初始化构建的构建   定义无法创建未知   类型{CLR命名空间:BuildTasks;装配= BuildTasks}'

TF215097: An error occurred while initializing a build for build definition "Cannot create unknown type '{clr-namespace:BuildTasks;assembly=BuildTasks}'"

在searching我找不到比安装库到GAC其他任何解决方案。这工作,但我不知道为什么它是不可能得到它,而无需在安装到GAC工作。

After searching I couldn't find any other solution than installing the library to the GAC. That works but I wonder why it is impossible to get it to work without having to install in to the GAC.

所以,虽然工作了,现在,我希望把它找回来上班的老样子,没有GAC。希望你们中有些人能帮助我。先谢谢了。

So although it working again now, I'd like to get it back to work the old way, without GAC. Hopefully some of you can help me. Thanks in advance.

推荐答案

由于没有给出答复,我还没有发现任何修正,我决定把在GAC现在。 该工程也是如此。 :)

Since no answer is given and I haven't found any fix, I decided to put in the GAC now. That works as well. :)