ResourceDictionary is not supported in a Windows Presentation Foundation project

Proposed Answer ResourceDictionary is not supported in a Windows Presentation Foundation project

  • Thursday, November 15, 2012 1:22 AM
     
     

    On an existing project, on a new machine installation of Blend + Sketchflow, I have the error where ResourceDictionary is not recognized. Maddening.

All Replies

  • Thursday, November 15, 2012 9:11 PM
     
     
    Is your build action set correctly?




    Please mark answers as helpful when used, and answered when completed.

  • Thursday, November 15, 2012 11:47 PM
     
     
    Not sure, where do I set it? When this happens it sometimes gets fixed after restarting a few times, but still it is a strange error.
  • Friday, November 16, 2012 1:49 PM
     
     

    Try to clean then rebuild your project and see if it won't go away.

    ~Christine


    My Gallery

  • Friday, November 16, 2012 5:19 PM
     
     Proposed Answer
    You can check your build action by selecting your resource dictionary in VS, and looking for the Build Property in the Properties Panel. However I'm thinking that may not be your culprit here. Is there any further info in your Error List besides just the one shown in your screen shot? I don't recall exactly if a clean / rebuild wipes your obj and bin folders but ya might want to delete those too to make sure to wipe your xap's and since all that stuff is re-created each time you build you dont care if you delete stuff in those folders anyway so couldnt hurt.




    Please mark answers as helpful when used, and answered when completed.

    • Proposed As Answer by Christine L. _ Saturday, November 17, 2012 2:28 AM
    •  
  • Saturday, November 17, 2012 2:25 AM
     
     

    I just had to do exactly what KS suggested when importing projects into a new project.  So what he suggests should help you.

    ~Christine


    My Gallery - calControls