Static resources not found in brand new Windows Phone 7 Silverlight app
I've just installed the Beta version of the windows phone developer tools, however now when 开发者_运维问答I create a brand new application using the 'Windows Phone Application" template, I see a number of warnings about static resources not being found e.g.
Warning 3 The resource "PhoneFontFamilyNormal" could not be resolved.
Couldn't find anything in the release notes about these being moved, can anybody point me in the right direction?
It is correct that Application.Resources is empty now. These are now (properly) defined as system resources. E.g. you'll see the Phone brushes in the System Brush Resources in Expression Blend.
Strangely, these don't actually come up as "Warnings" in my environment, but they are pointed out as issues by ReSharper.
You can confidently ignore these warnings and everything should build and run fine. Perhaps you can disable or exclude the particular warnings in your environment?
精彩评论