Is Prism V2 multi targeting an overkill?

Jan 4, 2009 at 7:23 PM

According to Justin Angel (Microsoft Silverlight Toolkit Program Manager) it is possible to reference Silverlight 2.0 class library  from the WPF application
(example here

Does that means that Prism V2 "Add as link" multitargeting approach is maybe an overkill and all what we need to do is to define BL, DTOs etc as Silverligt class libraries?

Nikola Malovic
Jan 5, 2009 at 11:45 AM

I don't think this is an overkill. I know that WPF app can reference the Silverlight 2 class library but it doesn't work all the time. if you are testing with small project that has only two or three classes then it will work. but it won't work if you have a lot of classes and folders in Silverlight Class Library. 

I used to get the error below. 

"Unknow build error, 'The located assembly's menifest definition doesn't match the assembly reference. (Exception from HRESULT: 0x80131040)'"

That's why I started using the Project Linker in my project.