Can I delete System.Threading.dll from WL installation directory?
Author: kribel
Creation Date: 3/17/2014 1:28 AM
profile picture

kribel

#1
Hello,

I am using System.Collection.Concurrent.ConcurrentDictionary in my strategy. I get the following error when compiling:
QUOTE:

error CS0433 @ (291, 7) : The type "System.Collection.Concurrent.ConcurrentDictionary<TKey, TValue>" exists in both "c:\Program Files\MS123\Wealth-Lab Developer 6\System.Threading.dll" and "c:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll"


I backed up System.Threading.dll and deleted it from the WL installation directory. Now the strategy compiles and runs as expected.

The question is: Can I delete this file without any consequences or will I brake something this way?

Many thanks,
Konstantin
profile picture

Eugene

#2
System.Threading.dll could come with an outdated build of Extra Performance Visualizers (versions earlier than 2012.03). The Monte Carlo visualizer was using it for faster calculations (multi-core CPU support) until we found out that a part of Wealth-Lab isn't thread-safe and it leads to wrong MC simulations. Then from v2012.03 we fell back to tried and true code, so you can safely delete System.Threading.dll.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).