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

  • SEARCH
  • Home
  • 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 6652189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:06:21+00:00 2026-05-26T01:06:21+00:00

Following image repesent that I want to. *dgCommon classes has a no problem. I

  • 0

Following image repesent that I want to.

enter image description here

*dgCommon classes has a no problem.

I want to share a xaml resource in CommonStyles directory. in Project 1, I added that xamls as ‘add as link’ options in file open dialog window.

the following is a solution view of Project 1.

enter image description here

It loaded well in design time. Because a window which using these resources were showing properly state in design time.

But I can’t run Project 1 due to Compile error. A compiler said that ‘can’t foudn \commonstyles\button.xaml”.

the following code is a the way to I load these resource xaml files.
(in App.xaml)

<ResourceDictionary.MergedDictionaries>

    <ResourceDictionary Source="CommonStyles\Button.xaml" />

...

</ResourceDictionary>

this tag worked properly in past time. (the time I locate a xaml file in specified folder, instead ‘add to link’)

I can’t believe that there is a no simple solution for this issue.
I hope it just caused by my lack of googlibility.

How can I accomplish it?

  • 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-05-26T01:06:21+00:00Added an answer on May 26, 2026 at 1:06 am

    Add as link doesn’t work quite well for xaml files. Try using a Pack URI to reference the file in the common dll:

    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="/CommonStyles;component/CommonStyles/Button.xaml" />
    </ResourceDictionary.MergedDictionaries>
    

    More information on this issue here

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

Sidebar

Related Questions

i want to add a data indicator line similar to the following image in
I have the following simple button with an image as the template. The problem
I have the following image ontop of an image that is exactly 424x318 And
Problem The following image shows an organization chart: The Full Name boxes are aligned
I have to select following image button. How can I do that using HtmlUnit?
Want make a mind map like the following: Image link is not available anymore.
I have a high-resolution image that I want to use as a tiled map
The following code is hopefully a correct way to return an image that exists
I've added the following image to help illustrate the problem better: Hi, I'm looking
Please refer to the following image: I wanted to group the controls like that.

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.