I am trying to create an ResourceFile Called DataTemplate.xaml in an external dll and use that in a WP7 page. When I do the following in the header of my Page I get an error

<ResourceDictionary Source="pack://application:,,,/WP7SharedClassLibrary;component/DataTemplate.xaml" />

The error is "Current project does not support 'application' as the authority component of the pack URI."

Has anyone else come across this and solved this?

Edit
Report