System.Threading.dll was added in .NET 4.0 (though the namespace System.Threading
has been around since v1). Rx includes a version of System.Threading.dll that was backported to .NET 3.5 SP1.
It sounds like you're targeting .NET 3.5. In this case, the runtime won't load a 4.0-only System.Threading.dll (obviously). Your loading would fail unless you included the Rx version of System.Threading.dll along with your program.
To answer the questions directly:
- Rx registers its own private directories as framework extensions. This is how it's found by VS.
- System.Threading.dll is only included in .NET 4.0, so if you are targeting an earlier framework, it won't be found.
To solve your problem, either have your program target .NET 4.0 or include Rx's System.Threading.dll along with your program.
P.S. I recommend upgrading to the latest version of Rx. The desktopV2
folder hasn't been used for the last few releases. When upgrading, uninstall the old version first - it works better that way.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…