What steps will reproduce the problem?
1. Create a new "Silverlight 4 application" project from scratch
2. Add an assembly reference to Moq.Silverlight.dll
3. Add at least one UserControl to the Silverlight project
4. Compile the project in VS2010 and Expression Blend 4
What is the expected output? What do you see instead?
Expected: Project compiles successfully in both VS2010 and Expression Blend 4
Actual result: Project compiles successfully in VS2010 but fails in Expression
Blend 4 with an error
(1,1,1,1): error : File or assembly "System.Core, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" or a dependency could not be found.
What version of the product are you using? On what operating system?
Moq 4.0.10827 binary distribution on Windows 7
Please provide any additional information below.
It appears that the Silverlight 4 variant of the Moq 4.0.10827 binaries was
compiled with a version-specific reference to System.Core.dll - either directly
or via the embedded Castle.Core.dll - that does not match newer versions of
Silverlight 4.
Replacing the Moq 4.0.10827 reference with a Moq assembly built from the
4.0.10818 sources removes the compilation problem in Expression Blend 4.
Original issue reported on code.google.com by j...@mail.org on 20 Jun 2011 at 9:05
Original issue reported on code.google.com by
j...@mail.org
on 20 Jun 2011 at 9:05