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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T22:53:39+00:00 2026-05-21T22:53:39+00:00

I am working on the WPF application and i have created an exe file.

  • 0

I am working on the WPF application and i have created an exe file.
When i run the exe file on my computer,it works perfectly.But when i try using my exe with another system.It throws an exception and when i debug the exception it says…

Cannot find type
‘Microsoft.Windows.Controls.DataGrid’.
The assembly used when compiling might
be different than that used when
loading and the type is missing.
Error at object ‘MyWork.App’ in
markup file ‘MyWork.App;component/app.xaml’ Line 15
Position 6.

Any idea ?

Regards,

Sangram Nandkhile.

  • 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-21T22:53:40+00:00Added an answer on May 21, 2026 at 10:53 pm

    It sounds like you haven’t installed the dll that contains Microsoft.Windows.Controls.DataGrid. This is part of the WPF Toolkit so you will need to either install that on the target machine or include the dll in your installation program.

    If you don’t want to create an installer then you can merge assemblies using ILMerge which:

    is a utility for merging multiple .NET assemblies into a single .NET assembly. It works on executables and DLLs alike and comes with several options for controlling the processing and format of the output.

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

Sidebar

Related Questions

I have created some tests in my WPF application. Right now I am working
I am working with a Wpf application. I have created a custom style for
I'm working on a WPF application and is using the Model-View-ViewModel pattern. The application
I have created an application in WPF & used Arial & Verdana fonts in
I'm working on an WPF application using the mvvm-light framework. I'm new to both
I'm working on my first true WPF MVVM pattern application. Currently I have a
So I'm working in c# 4.0 WPF application and using parallel foreach loops to
I'm currently using PrintVisual() in a wpf application to do printing. This is working
I have a message inspector in my WPF/WCF 4.0 application that is working great
I'm working on a WPF application that sometimes exhibits odd problems and appears to

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.