Posted 10/21/2010 02:45:30
|
|
|
|
Hello,
finally I'm trying to switch from RE 2008 to 2010. A complete new project runs without a problem, but my old projects don't work. I get the exception below. I've also tried to reference the 2008 DLL and I've also checked all my used DLL's. Non of them are referencing the 2008 Common.dll
Can you help please?
An exception of type System.IO.FileNotFoundException was thrown.
Could not load file or assembly 'Common, Version=2008.1.0.0, Culture=neutral, PublicKeyToken=825834b19e38a0a8' or one of its dependencies. The system cannot find the file specified.
at MySystem.Startup()
at RightEdge.Common.SystemBase.Startup(SystemData data)
at MySystemBase.Startup(SystemData data) in d:\DEVELOPMENT\Trading Systems\RightEdge\Benchmark\BaseClasses.cs:line 18
at RightEdge.Common.Internal.SystemRunner.Startup()
at RightEdge.Shared.SystemWrapper.InitializeModule(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)
at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
at RightEdge.Shared.TradingModuleWrapper.Run(String filename)
at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData)
at RightEdge.SystemProgress.InitAndRunSystem()
|
|
Posted 10/21/2010 09:00:21
|
|
|
|
There is something still referencing 2008 common.dll. It's possible another dependency / reference in your trading system is. The first thing that comes to mind is Indicators.dll. If you're referencing the 2008 version of that assembly, it's looking for the 2008 version of common.dll.
SystemTrader (10/21/2010) Hello,
finally I'm trying to switch from RE 2008 to 2010. A complete new project runs without a problem, but my old projects don't work. I get the exception below. I've also tried to reference the 2008 DLL and I've also checked all my used DLL's. Non of them are referencing the 2008 Common.dll
Can you help please?
An exception of type System.IO.FileNotFoundException was thrown.
Could not load file or assembly 'Common, Version=2008.1.0.0, Culture=neutral, PublicKeyToken=825834b19e38a0a8' or one of its dependencies. The system cannot find the file specified.
at MySystem.Startup()
at RightEdge.Common.SystemBase.Startup(SystemData data)
at MySystemBase.Startup(SystemData data) in d:\DEVELOPMENT\Trading Systems\RightEdge\Benchmark\BaseClasses.cs:line 18
at RightEdge.Common.Internal.SystemRunner.Startup()
at RightEdge.Shared.SystemWrapper.InitializeModule(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)
at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
at RightEdge.Shared.TradingModuleWrapper.Run(String filename)
at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData)
at RightEdge.SystemProgress.InitAndRunSystem()
|
|
Posted 10/21/2010 09:23:30
|
|
|
|
I've the indicators reference and also the other's, but still have this problem.
Interestingely I also get this error when i add the 2008 version to the references.
Isn't there any way to figure it out, maybe through visual studio, etc..?
I noticed through visual studio that the debugger goes to base.Startup(data); in the BaseClasses.cs and thereafter i get the exception. I even can't step further into the code.
public override void Startup(SystemData data)
{
base.Startup(data);
SymbolScripts.Initialize(this);
foreach (MySymbolScriptBase symbolScript in SymbolScripts)
{
symbolScript.TradingSystem = (MySystem)this;
symbolScript.Startup();
SystemData.IndicatorManager.RegisterMembers(symbolScript, symbolScript.Symbol);
}
}
|
|
Posted 10/21/2010 13:27:38
|
|
|
|
You can load your DLLs in .NET reflector and examine the references to see which one is referring to a Common.dll with a version of 2008.1.0.0 (as opposed to 2010.1.0.0). You can also send us the rep file, and/or any DLLs you are using which you have compiled, and we can take a look.
Thanks,
Daniel
|
|
|
|