Home » .Net Framework

The resource "PhoneFontFamilyNormal" could not be resolved.

I have created my first Windows Phone 7 Solution and immediately have 5 warnings.

The errors are all similar to the following

The resource "PhoneFontFamilyNormal" could not be resolved.

on the line

FontFamily="{StaticResource PhoneFontFamilyNormal}"

As a result of this I am unable to see any of the text on the form.

How do I resolve this?



6 Answers Found


Answer 1

My first guess is you have a XAML parsing error somewhere above that line.  Is this a fresh application based on the Windows Phone Application template or have you made changes?

Answer 2


This is a brand new project. file->new project -> silverlight for windows  phone. select windows phone  application and click ok.

No changes made to the default project.



Answer 3

Ouch.  Anything peculiar about the install experience for the dev tools or for Visual Studio?

have you tried using Visual Studio Express for WP instead?  It should be located at the following directory (depending on your OS): C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\VPDExpress.exe


Answer 4

Yes I tried that and get the same problem. I had the CTP before the beta and uninstalled that before upgrading. I might have a go at uninstalling and reinstalling the beta again tomorrow.


Answer 5

I feel your pain, my friend.  So sorry.

Answer 6

Hi bhtownend,

If this is a brand new project with no changes (just new project + build) and you are getting errors  like this, then you have some sort of conflict somewhere in Visual Studio.  Did you ever have the CTP's prior to the beta installed? You may need completely uninstall all components related to Visual Studio and reinstall clean if this continues; a project should build with no errors or warnings.  If you continue to have this issue, please let us know so we can investigate other causes.




<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure