Could not load file or assembly 'System.Reactive, Version=1.0.0.0
I get this warning but cannot find an explicit r开发者_StackOverflow社区eference to the mentioned assembly.
Could not load file or assembly 'System.Reactive, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=1b331ac6720247d9' or one of its dependencies.
The system cannot find the file specified.
Google tells me this is something to do with the Reactive Framework and this blog entry suggests the problem has to do with early versions of the Silverlight Toolkit bundling 1.0.0.0
Does anyone know how to get rid of this warning? Perhaps I should remove the Silverlight Toolkit, then install the current version? Or possibly I should get the toolkit source and make the reference less version specific?
Install the latest Silverlight Toolkit then install the Reactive Extensions for Silverlight
I spent a half a day trying to resolve this problem. If you have this problem and have git you can try the following solution that worked for me :
git checkout -b [name for your recovery branch]
backup the project folder
clone your project again
git clone [project clone url]
git checkout [name for your recovery branch]
Luckily the problem seemed to be in the Git ignored Visual Studio files.
If this solution doesn't work for you, you can just restore your backed up project folder.
精彩评论