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 8604111
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T02:29:22+00:00 2026-06-12T02:29:22+00:00

I have a solution with the following folder structure: Solution MainApplication MainWindow.xaml SharedResourcesLibrary (Class

  • 0

I have a solution with the following folder structure:

Solution 
  MainApplication
    MainWindow.xaml
  SharedResourcesLibrary (Class library project)
    GlobalResources.xaml
  SubFolder
    ControlLibrary (Class library project)
      MyUserControl.xaml

I need to merge the GlobalResources.xaml dictionary into the resources for MainWindow.xaml and MyUserControl.xaml.

I have successfully merged GlobalResources.xaml into MainWindow.xaml using the following syntax in MainWindow.xaml:

<ResourceDictionary Source="/SharedResourcesLibrary;component/GlobalResources.xaml" />

However, I cannot figure out how to merge GlobalResource.xaml into the resources for MyUserControl.xaml. I have tried the Pack URI syntax as follows:

<ResourceDictionary.MergedDictionaries>
  <ResourceDictionary Source="pack://application:,,,/SharedResourcesLibrary;component/GlobalResources.xaml" />
</ResourceDictionary.MergedDictionaries>

…but this does not seem to work properly. I get the following error message in the Visual Studio 2012 xaml editor:

An error occurred while finding the resource dictionary "pack://application:,,,/SharedResourcesLibrary;component/GlobalResources.xaml"

What is the correct way to merge this dictionary into MyUserControl properly?

  • 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-12T02:29:23+00:00Added an answer on June 12, 2026 at 2:29 am

    It seems that this is only an issue in Visual Studio 2012. I opened my solution in Visual Studio 2010 and the designer works perfectly with the pack URI notation.

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

Sidebar

Related Questions

I have a project structure that looks like the following: [Solution Name] doc (documentation)
We have a Asp.net webforms webapplication. The solution has the following structure: MySolution\ MySolution.Main\
I have a project under my management. It has the following structure: $/Code/MainSolution $/Code/Branches
I have a Website Project in Visual Studio 2010 along with a Class Library
I have a visual studio website solution with the following structure A page called
I have a problem in a project wherein my App_Resources folder has the following
I have the following Solution: SomeProject.Ria (non Silverlight code) SomeProject.Ria.Silverlight (Silverlight light code, namespace
When using ASP.net webforms my usual solution would have following type of setup -
I have trouble finding a solution for the following problem: I have a lot
gem install heroku failed with following message and I have tried the solution here

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.