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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T14:58:24+00:00 2026-06-17T14:58:24+00:00

In this project, the code compiles and executes properly ; however, there are two

  • 0

In this project, the code compiles and executes properly; however, there are two issues I need help resolving:

  1. The VS2012 WPF designer does not work on this XAML file. It displays the message Design view is unavailable for x64 and ARM target platforms.

  2. I receive the following message The name “EnumConverter” does not exist in the namespace “clr-namespace:VideoDatabase.Enums”. Again, this does not interfere with compiling or executing the project.

Here is the XAML:

<Window x:Class="VideoDatabase.Views.SortingView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:local="clr-namespace:VideoDatabase.Enums"
        Title="Sort and Filter" SizeToContent="WidthAndHeight" ResizeMode="NoResize"
        Background="LightGray">
    <Window.InputBindings>
        <KeyBinding Gesture="Escape" Command="{Binding CloseWindowCommand}"/>
    </Window.InputBindings>
    <Window.Resources>
        <!-- Next line generates Intellisene error; however, the code compiles and executes -->
        <local:EnumConverter x:Key="enumConverter"/>
    </Window.Resources>

The EnumConverter is a public class in the VideoDatabase.Enums name space and is located in the current assembly. Here is a code snippet of the class:

namespace VideoDatabase.Enums
{
    public class EnumConverter : IValueConverter
    {
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            string parameterString = parameter as string;
            if (parameterString == null)
                 return DependencyProperty.UnsetValue;

            if (Enum.IsDefined(value.GetType(), value) == false)
                return DependencyProperty.UnsetValue;

            object parameterValue = Enum.Parse(value.GetType(), parameterString);

            return parameterValue.Equals(value);
        }

        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            string parameterString = parameter as string;
            if (parameterString == null)
                return DependencyProperty.UnsetValue;

            return Enum.Parse(targetType, parameterString);
        }
    }
}

So far, I have checked the following:

  • Confirmed the target framework is .NET Framework 4.5
  • Confirmed the EnumConverter class is in the main assembly
  • If I comment out <local:EnumConverter x:Key="enumConverter"/> the designer works.
  • 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-17T14:58:26+00:00Added an answer on June 17, 2026 at 2:58 pm

    Most likely have you set your build target platform to x64 bit only.

    What happens then is that your output assembly is 64bit only, which the x86 based WPF designer can’t load.

    Go to the project properties->Build->Target Platform and set that to Any.

    EDIT:
    If you have assemblies/code (in this case value converters) that needs to be accessed from the 32bit WPF designer, then you will have to separate them out from your otherwise 64bit assemblies.
    I would be hard pressed to find any reason why value converters need to be in a 64bit DLL other than a hard dependency as in your case.

    If that’s not possible for you, I think you will have to live with the fact that you can’t use the designer in your scenario.

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

Sidebar

Related Questions

I have found this project on Codeplex. http://www.codeplex.com/ProjNET I need to integrate this code
I have a Maven project within which I need execute two code generation steps.
I have a project with a structure like this: project code art config Art
This is a not related to my project code , but a question came
I am referring to this project by Jimmy Bogard: http://www.codeplex.com/AutoMapper The code repository site
I've been using the sample code from this d3 project to learn how to
This is from project Euler, problem 2. I wrote the following seemingly innocent code:
I have pieces of code like this in a project and I realize it's
This is my code: package hello.project; import javax.microedition.khronos.egl.EGLConfig; import javax.microedition.khronos.opengles.GL10; import android.content.Context; import android.opengl.GLSurfaceView.Renderer;
This code installs gems into your project based on a gem manifest. Why does

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.