Multiple types exist with the same ReflectorTypeAttribute ...

Jan 20, 2010 at 7:54 PM

So with the breakage of NetReflector.dll and all the hell of downloading the source code and getting the VS2005 TFS 2005 Explorer to have the old bindings even though I have VS 2008 TFS Explorer already, and recompiling, after all that I now get this:

Multiple types exist with the same ReflectorTypeAttribute name "vsts": (ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts, ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts)

Full event message is:

Service cannot be started. Exortech.NetReflector.NetReflectorException: Multiple types exist with the same ReflectorTypeAttribute name "vsts": (ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts, ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts)

Server stack trace:
   at Exortech.NetReflector.NetReflectorTypeTable.Add(Type type)
   at Exortech.NetReflector.NetReflectorTypeTable.Add(Assembly assembly)
   at Exortech.NetReflector.NetReflectorTypeTable.Add(String assemblyFilename)
   at Exortech.NetReflector.NetReflectorTypeTable.Add(String path, String searchPattern)
   at ThoughtWorks.CruiseControl.Core.Config.NetReflectorConfigurationReader..ctor()
   at ThoughtWorks.CruiseControl.Core.Config.DefaultConfigurationFileLoader..ctor()
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.NewConfigurationService(String configFile)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.CreateLocal(String configFile)
   at ThoughtWorks.CruiseControl.Core.CruiseServerFactory.Create(Boolean remote, String configFile)
 ...

Can you PLEASE just recompile the thing for us for the current cc.net build?

Jan 20, 2010 at 8:03 PM

Reverted to older (but released) v1.4.4 of cc.net

http://sourceforge.net/projects/ccnet/files/CruiseControl.NET%20Releases/CruiseControl.NET%201.4.4%20SP1/CruiseControl.NET-1.4.4-SP1-Setup.exe/download

Jan 20, 2010 at 8:40 PM

Stimpy,

Wit 1.5 there is no need for this plug in anymore, the functionality has been moved inside CC.NET natively. Simply pull the dll's from this plugin from the server directory and you have vsts functionality. That is what the messages are telling you, that vsts exists twice in your set up. Once inside CC.NET and once in the plugin dlls you copied into the server folder. So recompiling it would do nothing.

Jan 21, 2010 at 1:40 AM

Dooohh!! K thanks :)