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.




I'm trying to figure out if I'm encountering an error (that should be reported) or if I've got a wacky configuration of VS 2010. When I run my package, I get thousands of lines in the output window that say something along the lines of:

A first chance exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll

[Pid=1080;Tid=1;Time=15:09:28]: Warning: 64: Attempting to resolve a resource assembly with the name Microsoft.Data.Entity.Design.Package.resources, Version=, Culture=en, PublicKeyToken=b03f5f7f11d50a3a. This may indicate a missing resource id in the satellite assembly

[Pid=1080;Tid=1;Time=15:09:28]: Warning: 64: Attempting to resolve a resource assembly with the name Microsoft.Data.Entity.Design.Package.resources, Version=, Culture=en, PublicKeyToken=b03f5f7f11d50a3a. This may indicate a missing resource id in the satellite assembly

The error's are not limited to the Microsoft.Data.Entity.Design.Package.resources assembly. VS seems to be going through every loaded assembly, looking to resolve "missing" resources. I'm not sure what is triggering this, or even if this is "wrong". All I know is that it slows the execution of my package to a crawl.

Has anyone else seen anything like this? Am I just in some strange corner of the configuration universe? Any help would be greatly appreciated.

Quantum Mechanic


Hi all,

I've got a site definition which I developed for 2007 and am trying to get to work in 2010.

When I try to use the site definition it errors out. From my investigation it seems to fail to resolve the resource key I use to specify the <File> Url property.


  <Module Name="AgencyHome" Url="$Resources:cmscore,List_Pages_UrlName;" Path="\Home">
   <File Url="$Resources:simscore,PageUrlDashboard;" Type="GhostableInLibrary">
    <Property Name="Title" Value="$Resources:spscore,HomeLandingPage_Title;" />
    <Property Name="ContentType" Value="$Resources:cmscore,contenttype_welcomepage_name;" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/simsLayoutDashboard.aspx, ~SiteCollection/_catalogs/masterpage/simsLayoutDashboard.aspx" />
    <Property Name="ContentType" Value="Welcome Page" />

I get this error in the logs 

Failed to instantiate file "$Resources:simscore,PageUrlDashboard;" from module "AgencyHome": Source sub-path "\Home\$Resources:simscore,PageUrlDashboard;" contains unsafe characters.	92e622d2-6f0c-4b0d-9266-f71c830bf7ae
So it looks like I can't use the resource key for that property or am I missing some thing? Has anyone else come across this issue?

Hi everybody,

Here is my situation: 

I need to defines some UserControls in a separate assembly.  Those usercontrols will be added in the main application later.  We need to use resources that will be defined in the main application.  So we came up with another assembly that includes ResourceDictionary(s) shared by our usercontrol libraries and the application itself.  The idea is to have resources (styles) defined at one place.

In the process of creating those assemblies, the only way to resolve resources in UserControl(s) is to add a UserControl.Resources tag:

      <ResourceDictionary Source="/MyResources;component/SomeResourceDictionary.xaml"/>
   <Grid x:Name="LayoutRoot" Style="{StaticResource Something}">

If this UserControl was defined in the assembly where the app is defined this wouldn­'t be necessary. 
Refering the "remote" dictionary in the App.Resources would be enough and all resources in all usercontrols (defined in the same assembly) would be resolved.

But now,  in my app, if I use a UserControl defined in another assembly, StaticResource(s) will resolve automatically to the dinctionary included in the assembly refered in my UserControl.Resources ... not the dictionary defined in the app.

I don't know If my point is very clear here.  Is there a way to specify a ResourceDictionary in a UserControl library so the StaticResource(s) get resolved when the designed work the UI in Blend.  But when the UserControls gets instantiated in the application, StaticResource(s) get resolved with the ResourceDictionary specified in the App.Resources...



coming up withn this message when am abt to uninstall sql server 2008

Hello, I have the following code, which defines a ControlTemplate inside a user control's Resources section. But I can't reference it in userControl? Is there anyway to achieve this?

<UserControl Template="MyTemplate">


     <ControlTemplate x:key="MyTemplate" ... />






I can compile projects without a resource without any problems, but as soon as i add a resource or create a new project which includes a resource file (e.g. windows Forms application) i get a

Error reading resource file 'K:\TestProject\' -- 'Das System kann den angegebenen Pfad nicht finden. '

(translation: 'The system cannot find the file specified.'). But as i look into the project folder there are Resource1.resx and Resource1.Designer.cs so they are there...

the Error help tells me, its the Compiler Error CS1566

After deleting the resource file I dont get the error anymore...

Other files, like Classes or windows forms don't make any trouble.

Any Ideas about what the problem is or how to solve it?

Thanks for your help!

PS: I'm still a beginner so that could be any very trivial problem.


The actual text of error is: A Crypto checkpoint cannot be added or removed (Error: 0x80090016)

In the process of consolidating some clusters, we tried moving some MQMS resources to a new cluster. When trying to bring up the resource (of type Message Queuing), we get the error and state goes to "failed"

The Cluster account has administrative rights across the cluster and full control on AD computer objects. Also has all rights as suggested by this article: http://support.microsoft.com/kb/269229 

Additional info: both old and new clusters are Server 2003. Our Active Directory is in the process of 2008 upgrade. Old and new clusters are behind firewall with same rules applied. (old cluster is working fine, but sharing for full disclosure just in case)

Any pointers in the right direction are appreciated!



Dear Forum users,

I have created a new resouce in resource management site under sharepoint MOSS 2007. While going for reserve this resource, it is showing alredy occupied for past and future days while there is no other reservation exists. What is the reason for this problem and solution? Please advise.


Just wanted to ask which one is better for Windows forma pplication"? to use en embeded resource although it might contains images which will increase the file size? or to use external resource DLL?

what's your advise?



Project Server 2007: what is the use/advantage, of a Resource Plan vs. true Resource Assignment in a project or in a Proposal?



Hello All,

     I'm having a fair bit of trouble with my project. I've been looking up just about every thread that I could find related to this particular issue and I simply can't find a fix. I'm hoping that you folks come through for me.

The problem is that after adding 225 new images to my .Resx file, I can't build my project. I ran Resgen manually from the Visual Studio 2008 Command Prompt (after adding it in to Visual Studio 2010), and no luck whatsoever. It throws an OutOfMemoryError. Absolutely nothing has changed in the code between before I added the resources and afterward. Get this; if I take out any two hundred-or-so resource files, I can compile!! I'm frazzled, and I just don't understand it.

Surely people must be able to compile projects with upwards of 500-ish resource files, right? (I've only got 483, and it just won't load.) I would presume that the larger projects developed professionally could use resource files with hundreds of thousands of resources, but I could be wrong.

Thanks for your time,



(P.S. If this is in the wrong forum/category, please move it)

I want to be able to iterate through all of the built in resources, such as PhoneTextLargeStyle. From the code-behind of a page, I can get that style like this...

var style = App.Current.Resources["PhoneTextLargeStyle"];

But I can't get a list of anything in the resources.

var count = App.Current.Resources.Keys.Count; // is always zero

I realize that there's already a list of the Windows Phone 7 theme resources at http://msdn.microsoft.com/en-us/library/ff769552%28VS.92%29.aspx but that list appears to be out of date, and I'm wondering if there are styles that aren't listed on that page.

Is there a way to get to all of the resources defined?

If the user entered 8 hours in one day in timesheet and 3 to 4 hours in overtime . when the project manager see the view resource usage in Ms Project Professional 2007 there is resources showing in red colour that means overallocated ? why it is showing overallocation. and how project manager can see the overtime of any resource in resource usage view.

kindly tell me how i can calculate overtime with actual work .


when I open a Project in project professional 2007 and open a Resource Usage View . there is some resources showing in red color and there some days in which there work and actual work is 7 hours . I dont know why .

kindly tell me the problem.

why they are showing resource overallocation . although they are showing only 7 hours in one day .


Hi All,

I'm building a custom workflow for our business to request projects from IT.  Part of the Workflow is to capture Requestor and Resource Manager.  I can do this by creating enterprise custom fields but I'd rather create a group for Requestors and use the existing Group I have for resource managers.  When I look through all the Project Web App Web Parts none of them seem to have the capabilities of showing a group of resources (resources manager or requestors) to setup a pick list in the workflow. 

I believe I need to create a custom Web Part to do this but could use some direction and input from anyone that has already done something similiar.


All of a sudden after not messing with the project for a month I'm not trying to modify it but keep getting a error about my images.  Even it's complaining about my icon images.

System.Resources.MissingManifestResourceException was unhandled
  Message=Could not find any resources appropriate for the specified culture or the neutral culture.  Make sure "Mobile_App.create_order_sg.resources" was correctly embedded or linked into assembly "Mobile_App" at compile time, or that all the satellite assemblies required are loadable and fully signed.
       at System.Resources.ManifestBasedResourceGroveler.HandleResourceStreamMissing(String fileName)
       at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists, StackCrawlMark& stackMark)
       at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo requestedCulture, Boolean createIfNotExists, Boolean tryParents, StackCrawlMark& stackMark)
       at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
       at System.Resources.ResourceManager.GetObject(String name, CultureInfo culture, Boolean wrapUnmanagedMemStream)
       at System.Resources.ResourceManager.GetObject(String name)
       at Mobile_App.create_order_sg.InitializeComponent() in C:\Documents and Settings\Tran\My Documents\Visual Studio 2010\Projects\Mobile_App\Mobile_App\create_order_sg.Designer.cs:line 1351
       at Mobile_App.create_order_sg..ctor() in C:\Documents and Settings\Tran\My Documents\Visual Studio 2010\Projects\Mobile_App\Mobile_App\create_order_sg.cs:line 54
       at Mobile_App.Program.Main() in C:\Documents and Settings\****\My Documents\Visual Studio 2010\Projects\Mobile_App\Mobile_App\Program.cs:line 18
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()



We're using a huge resource dicionary with all the styles and templates for our controls. Some of these are the images that we use for some buttons and icons in the application.

As far as I know, Static and Dynamic resources have nothing to do with the ResourceDictionary and The Brush, i could use any of them, if i need the resource to load only when needed i could use dynamic and if i want it to load on initialization time i should use Static.

But everytime i try to use a static resource to define a Fill of a rectangle my application crashes on initialization time (when it exectues the InitializeComponents). The resource i'm using is a DrawingBrush that is declared on my resource dictionary and the only way i could make it works is defining it as DynamicResource.

What is the limitation? Its realy impossible to define a static resource on a fill property, and if its realy impossible, why?

I tried to install The Lord of the Rings Online, but it always gives me the message (translated in english) that i need to install Net Framwork v1.1.4322. "ok, that's no problem" i thought, but every time i try to install Net Framework (any version) there are errors when trying to install it. With the 1.1 setup, it tells me "Setup Error - Failed to load resources from resource file", the 2.0 setup tells me that it is already installed (o.O?) but i can't see it in the "uninstall programs" list and the 3.0 and 3.5 just won't start. Nothing happens. I tried to install Net framework 4.0 beta which works fine but LotRO keeps telling me the same error message (i think because version 1.1 isn't included in higher versions)
I'm running Windows 7 32 bit Ultimate: 2GB Ram, Intel Core duo e6750, GeForce 8800 gts (512 mb)
Please help me :)

When using resources as files (build actione=none and copy if newer), I'm able to manage resources using something like this : "/file.ico". Whatever the owner assembly is, because all files are copied in the Debug / Release directory.

I'd like to have a similar behavior with pack URIs. I don't want to specify which assembly is the owner of an embedded / content / resource file.

It seems impossible because we need to specify the source assembly ("pack://assembly_08:,,,/file.ico"), I'd like something like : "pack://whatever_the_assembly:,,,/file.ico".

Is it possible ? Any idea ?




My project managers are requesting the ability to auto-assign resources from the enterprise resource pool into their project.  For example, they have several tasks that can be assigned to a data analyst.  Rather than checking availability, they would like for Project/Project Server to auto-pick an available resource.

Is this possible, and if so, how?




<< Previous      Next >>

Microsoft   |   Windows   |   Visual Studio   |   Sharepoint   |   Azure