ResourceMap Not Found Exception message

I blogged previously about the difference when accessing Resources within a .net for Windows Store app as compared with a classic .Net application.

Recently I included a 3rd party assembly into my app and received the exception:

‘ResourceMap Not Found’

This indicates that a request for a particular resource has failed because it cannot find it. It would be nice if the error message told you which resource it was unable to find. However, In my case it was due to the 3rd party library using String resources that it could not find.

To debug this I took a look at the resource file that the app was using.   This is found in the \bin\debug\ folder of the app and is named ‘resources.pri’. This file is a binary and you cannot read it directly. Instead you must use the command line tool ‘makepri.exe’  to dump a human readable version of the file.

  1. Open developer command line
  2. Navigate to the ‘~\project\bin\debug\’ folder
  3. Run the command ‘makepri.exe dump’

This will output an xml version of the resources used by an application – including any that were associated with my 3rd party assembly. 

Effectively all resources (including 3rd party) should be merged into this one file when compiling. However to do the merge the 3rd party resources need to be available; and located relative to the 3rd party assembly (or in the bin folder). if the compiler does not find them then they do not get merged into the resources.pri and your app breaks at run-time.

  • So check that you have the .pri files for 3rd party assemblies and that you have put on disk alongside the referenced assembly (.dll).  The .pri file should be the same name as the assembly. So for instance, if you reference an assembly called ‘Prism.dll’ then you should have a ‘Prism.pri’ in the same folder as it.

 

Technorati Tags:

61 Replies to “ResourceMap Not Found Exception message”

  1. Great – I should certainly declare I'm impressed with your website. I had no woe navigating through all tabs as fine as related in order. The situate wrecked awake consciousness correctly laid-back to access. Careful job..

  2. The new Zune browser is surprisingly good, but not as good as the iPod's. It works well, but isn't as fast as Safari, and has a clunkier interface. If you occasionally plan on using the web browser that's not an issue, but if you're planning to browse the web alot from your PMP then the iPod's larger screen and better browser may be important.

  3. Through places like Ebay or Etsy you can sell your arts and crafts. On each leg of the casings you measure from inside of frame at the top to the floor then add 1 inch to the measurement from heal cut to floor. If you do your research well you can find the best contractor to do the painting of your home. my page baca selengkapnya → – http://www.hvacsimulator.net/index.php/Insights_Into_Convenient_Solutions_Of_painting_contractor

  4. i'm kind of glad someone is going through the same thing , some times it's not easy find the app on the phone , but the strange part if u found it out last time

  5. My partner and I stumbled over here different web address and thought I should check things out. I like what I see so now i am following you. Look forward to looking at your web page yet again. Also visit my web page tuyen nhan vien – http://cantimviec.com

  6. You are so interesting! I do not think I've read a single thing like that before. So great to discover someone with a few genuine thoughts on this issue. Seriously.. thanks for starting this up. This website is one thing that is required on the web, someone with a little originality! my web site – viec lam luong cao – http://www.cantimviec.com

  7. Hmm it seems like your website ate my first comment (it was extremely long) so I guess I'll just sum it up what I submitted and say, I'm thoroughly enjoying your blog. I too am an aspiring blog writer but I'm still new to the whole thing. Do you have any helpful hints for beginner blog writers? I'd genuinely appreciate it. My homepage :: The Renegade Diet, http://www.TheRenegadeDietReviews.orghttp://www.TheRenegadeDietReviews.org ,

  8. Greetings from California! I'm bored at work so I decided to browse your blog on my iphone during lunch break. I love the info you provide here and can't wait to take a look when I get home. I'm amazed at how quick your blog loaded on my phone .. I'm not even using WIFI, just 3G .. Anyways, awesome blog! My weblog – Burn The Fat Feed The Muscle Scam – ReviewBurnTheFatFeedTheMuscle.Blogspot.com – http://ReviewBurnTheFatFeedTheMuscle.Blogspot.com/ ,

  9. Please let me know if you're looking for a author for your blog. You have some really good posts and I feel I would be a good asset. If you ever want to take some of the load off, I'd absolutely love to write some material for your blog in exchange for a link back to mine. Please shoot me an e-mail if interested. Many thanks!

  10. My brother recommended I might like this web site. He was entirely right. This post truly made my day. You can not imagine simply how much time I had spent for this info! Thanks!

  11. Comfortabl y, the post is in reality the freshest on this valuable topic. I concur with your conclusions and will thirstily look forward to your approaching updates. Saying thanks will not just be enough, for the great clarity in your writing. I will immediately grab your rss feed to stay informed of any updates. Fabulous work and much success in your nice blogs!. Any way, I feel really bored to get temporary jobs, fortunately I have recently discovered a new success method to get extra profits in an easy way and much safer. http://binaryoptionstrends.net

  12. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  13. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  14. I just couldn’t depart your site prior to suggesting that I extremely enjoyed the standard information an individual provide for your visitors? Is gonna be back frequently in order to inspect new posts

  15. 302693 912324 An fascinating discussion is worth comment. I believe which you need to write a lot more on this subject, it may well not be a taboo topic but typically folks are not enough to speak on such topics. Towards the next. Cheers 527291

  16. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  17. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  18. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  19. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  20. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  21. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  22. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  23. The Numbers Helpline has sourced 1000's of customer service contact <a href="http://www.numbershelpline.co.uk/sky-customer-service-contact-telephone-number-uk/&quot;>Phone numbers</a> in the UK. We know how hard it can be to find those <a href="http://www.numbershelpline.co.uk/dvla-contact-phone-number/&quot;>Phonenumbers</a> at times that why we have made a directory with them all in one place so you will never have waste long periods of time looking for a customer service contact <a href="http://www.numbershelpline.co.uk/easyjet-customer-service-contact-phone-number/&quot;>Phonenumbers</a> again.

  24. annuaires-gratuit.com/ vous propose de créer gratuitement un annuaire de sites internet pour un bon référencement.

  25. annuaires-gratuit.com/ vous propose de créer gratuitement un annuaire de sites internet pour un bon référencement.

  26. You…are…awesome! This blog is so great. I really hope more people read this and get what you're saying, because let me tell you, its important stuff. I never would've thought about it this way unless Id run into your blog. Thanks for putting it up. I hope you have great success.

  27. Honda have actually created most of their freshest adaptation up to the Pro player Ceed long distance using some especially attractive concise Cable tv advertisements. A good not to mention intuitive <a href="http://www.nadirstar.com/libraries/&quot;>hogan interactive</a> option to benefit an individual's reasons of that offer inexpensive games car appearance together with a American buyers.

  28. Honda have now set in motion the current form to the Specialist Ceed quantity with completely seductive superficial Hdtv promotion and marketing. A brilliant and so instinctive <a href="http://www.nadirstar.com/libraries/&quot;>hogan online</a> procedure to influence on their personal wishes on that offer sensibly priced sports activity coupe hair styling to a Western readership.

  29. Kia contain designed a person's latest kind about the Premium Ceed setting with lots of really seductive tight High definition tv promotion and marketing. An inspired plus natural <a href="http://www.nadirstar.com/libraries/&quot;>hogan rebel uomo</a> solution to effect its wishes pertaining to that offer acceptable training vehicle styling up to a American individuals.

  30. Hi there colleagues, how is the whole thing, and what you want to say concerning this paragraph, in my view its really amazing in support of me.|

  31. Sporty and Chic GPS Watch Tracker/ Watch Phone with 1.6 Inch Touch Scr Personal Wristwatch GPS Tracker with GSM/GPRS module. Used to protect and look for our old people and children also for remote positioning to protect property safety.

  32. My goal here is to link the wordpress blog entries to a frame in a personal site. So I want only the blog entries to appear, but none of the menu bars or other things associated with wordpress only what was posted. I know wordpress is done in PHP so i was wondering if anybody knew the specifics of the coding and how I would go about doing this.. . Thanks!.

Leave a Reply

Your email address will not be published. Required fields are marked *