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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:53:58+00:00 2026-06-06T22:53:58+00:00

i have two assemblies 1. MyProj.GUI 2. MyProj in MyProj i define an enum

  • 0

i have two assemblies
1. MyProj.GUI
2. MyProj

in MyProj i define an enum MergeAction {ApplyTarget, ApplyToWorkingCopy, Ignore};
in the MyProj.GUI, i have a Xaml for Combobox as so:

xmlns:Merge="clr-namespace:Megatec.EB2UDF.Merge;assembly=Megatec.EB2UDF"

<DataTemplate DataType="{x:Type Merge:DifferenceViewModel}">
  <ComboBox SelectedValue="{Binding Path=MergeAction}">
    <ComboBox.Items>
      <Merge:MergeAction>Ignore</Merge:MergeAction>
      <Merge:MergeAction>ApplyToWorkingCopy</Merge:MergeAction>
      <Merge:MergeAction>ApplyToTarget</Merge:MergeAction>
    </ComboBox.Items>
  </ComboBox>
</DataTemplate>

when i open the Window, i get the exception System.Resources.MissingManifestResourceException
Could not find any resources appropriate for the specified culture or the neutral culture…

Without having the ComboBox.Items Tag… everything is cool…

why is that?
what am i doing wrong?

Edit:

The assembly is called several times from the Xaml (even the same object)
Example

 <ribbon:Button Label="Send Change"  CommandParameter="{x:Static Merge:MergeAction.ApplyToTarget}" Command="{Binding ApplyActionCommand}">
     <ribbon:Button.ImageSourceLarge>
        <BitmapImage UriSource="/Images/MAIL.png" />
     </ribbon:Button.ImageSourceLarge>
 </ribbon:Button>

but only the ComboBox is doing the error.

  • 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-06T22:54:00+00:00Added an answer on June 6, 2026 at 10:54 pm

    Well, Found the Solution:

    I’m kind’a nub to WPF so i don’t know the reason why it worked, but it did!

    I Added an ItemTemplate to the ComboBox as such:

    <ComboBox SelectedValue="{Binding Path=MergeAction}">
      <ComboBox.Items>
        <Merge:MergeAction>Ignore</Merge:MergeAction>
        <Merge:MergeAction>ApplyToWorkingCopy</Merge:MergeAction>
        <Merge:MergeAction>ApplyToTarget</Merge:MergeAction>
      </ComboBox.Items>
      <ComboBox.ItemTemplate>
        <DataTemplate>
          <TextBlock Text="{Binding}"></TextBlock>
        </DataTemplate>
      </ComboBox.ItemTemplate>
    </ComboBox>
    

    And now it is all Cool..

    But,… I don’t get why?

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

Sidebar

Related Questions

I have two assemblies in my application. MyApplication.BO and MyApplication.GUI . I have configured
I have two assemblies, say assembly1 and assembly2. In assembly2 there is a XAML
I have two assemblies that unfortunately define the same type in the same namespace.
I have an MSBuild script that uses NUnit to run tests in two assemblies.
I have two assemblies : A.dll which has a reference to B.dll. And B.dll
Let's assume I have two assemblies: MyExecutable.dll version 1.0.0 MyClassLibrary.dll version 1.0.0 Now, MyExecutable.dll
We have a customer who have two .NET assemblies, A and B: Assembly A
I have two, third party assemblies: Foo.dll and ReferencesFoo.dll As noted, ReferencesFoo.dll is an
I have a vb.net 3.5 class library project that needs to reference two assemblies
I have two 3rd party assemblies. One is compiled for x86 target, another one

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.