Showing results 1 to 2 of 2

Thread: WPF Error during loading XAML file

  1. #1
    Join Date
    01.07.2019
    Posts
    14

    Default WPF Error during loading XAML file

    Hi!

    Sorry, if this topic is not in the appropriate section.

    I am trying to create a WPF element according to WPF manual (point 5, page 23). I have already created a XAML file with no code behind and a .dll, then imported them into zenon (respectively into graphic and others). When I create a WPF element on the screen, the element is blank and I recieve an error message:

    "The invocation of the constructor on type „WPFUserControlLibrary.UserControl1” that matches the specified binding constarints threw an exception"

    If anyone had this problem and found a solution to it, I would really appreciate your help.

    Best regards,
    Grzegorz Kaczmarczyk
     

  2. #2
    Join Date
    01.07.2019
    Posts
    14
    Best Answer

    Default AW: WPF Error during loading XAML file

    I found the solution.

    It turned out that the version of the .NET framework was incorrect. Initially it was .NET Core 3.0. Changing it to .NET Framework 3.5 eliminated the problem.

    Regards,
    Grzegorz Kaczmarczyk

Similar Threads

  1. Error while loading Workspace backup
    By igor_tobilevych in forum zenon Energy Edition
    Replies: 3
    Last Post: 15th September 2017, 08:44
  2. "error loading project list"
    By michab in forum zenon Supervisor
    Replies: 3
    Last Post: 15th March 2017, 09:07
  3. Error while loading Workspace backup
    By shikra in forum zenon Supervisor
    Replies: 12
    Last Post: 13th March 2015, 11:09
  4. Error while loading the VSTA editor-addin
    By jjplaw in forum zenon Supervisor
    Replies: 1
    Last Post: 24th August 2011, 07:35

Tags for this Thread

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •