visual studio - How do I reference System.Windows 5.0.5 assembly (Silverlight) from .NET 4.5 library project? -
i have project written silverlight 5, references silverlight's system.windows
assembly in version 5.0.5.
now want create unit test project using usual .net 4.5 library project. when seek add together reference system.windows
assembly 5.0.5 silverlight (using browse
dialog), visual studio adds version .net 4.5.
hence version number not match.
why visual studio behave way? how prepare this?
you can reference silverlight assemblies .net project, 1 time have managed add together one, have problems dependencies on other libraries.
it easier on if seek different approach...
i suggest using silverlight unit test framework deal testing silverlight code.
if doesn't fit need, perhaps portable class libraries will.
visual-studio silverlight .net-assembly
No comments:
Post a Comment