almog.ori
almog.ori

Reputation: 7889

Visual studio how to get wpf and silverlight side by side

I have two projects in my solution one a silverlight library and the other a wpf control library, ive added the sources as a link from my silverlight library to my wpf library and after a bit of refatoring hit a road block, my wpf library project does not want to build the generated files needed for the code behind to recocnize the named elements from the xaml sources (which where added as links), does anyone know how to prompt visual studio 2008 to actually perform the gen operation on my linked sources?

Upvotes: 1

Views: 111

Answers (1)

Mark
Mark

Reputation: 2926

Stab in the dark - but have you renamed a namespace or class name? Make sure all the code/xaml namespace/class names are the same in wpf and silverlight versions.

Upvotes: 2

Related Questions