Guys, any experiences or suggestions for developing a Silverlight control that 
you'd like to run on both Silverlight 4 and Phone 7?

 

Having looked at it currently we are planning to:

 


Have two Solutions, A Silverlight 4 and a Phone 7, replicate projects, same 
namespaces but different assembly names.
Have all the code in the Silverlight 4 solution / projects. Phone 7 projects 
will have code files added as a link to the SL4 files.
For the core anything not compatible with Phone 7 surround with #if 
!WINDOWS_PHONE
Break apart anything really specific into different projects, simply don't have 
them in the Phone or Silverlight4 solution. Eg specific drop target feature for 
Silverlight4 only
 

Major issue we see with this is that you can easily add something to the 
Silverlight4 solution that will break the Phone7 solution, looking at a build 
server that would build both solutions and report these errors quickly.

 

Thoughts?
                                          
_______________________________________________
ozsilverlight mailing list
[email protected]
http://prdlxvm0001.codify.net/mailman/listinfo/ozsilverlight

Reply via email to