Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8664435
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T17:14:23+00:00 2026-06-12T17:14:23+00:00

I added a Resource Dictionary named ResourceDictionary1 to my silverlight project. I also added

  • 0

I added a Resource Dictionary named ResourceDictionary1 to my silverlight project.

I also added a Silverlight Class Library to my project named OtherAssembly, then in this new assembly I added a new Resource Dictionary named ResourceDictionary2:

Project Structure

In my original project I’m trying to merge both dictionaries in MainPage.xaml:

  <ResourceDictionary>
     <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="MyResourceDictionary1.xaml" />
        <ResourceDictionary Source="/OtherAssembly;component/MyResourceDictionary2.xaml" />
     </ResourceDictionary.MergedDictionaries>

When I run the project the line with OtherAssembly throws an exception, saying that there’s an error assigning the property System.Windows.ResourceDictionary.Source in that line:

Error

But at design time, the designer shows everything in order, it finds all the resources.

I don’t know, It seems that the Pack Uri syntax is not well formed.

Anybody knows why I get this error message?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T17:14:24+00:00Added an answer on June 12, 2026 at 5:14 pm

    I found the answer.

    I needed to add a reference to OtherAssembly, as the error is not detected until run time, it’s hard to detect it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I added custom named styles to the app.xaml. I created an external resource dictionary
I have created a WPF application (named Ferhad.Wpf). Then I added two class libraries
I added a resource and then deleted it afterwards. However, when I issue the
I added a large number of bitmap files to my MFC project in resource
I have a C# (2008/.NET 3.5) class library assembly that supports WPF (based on
I have image in project added as resource, if I try to add it
So I created some rspec_scaffold for an Exercise model and added map.resource :exercises to
I'm trying to use an icon that I've added as a resource as the
1- Resource files suppose to be added on adding some resource in application like
I have added an image to my form's resource file, myForm.resx, and I would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.