Home > Net >  Abnormal program problem
Abnormal program problem

Time:10-05

The debug version can run, release version will be abnormal, can't locate abnormal position, ask help bosses

CodePudding user response:

Should be inside your XAML attribute bound out of the question

CodePudding user response:

It opens at the following, see details

CodePudding user response:

No specific error message

CodePudding user response:

This is one of the WPF problems
If an error in the xaml, or binding errors, generally it is difficult to locate
Even in the object initialization error in the structure to be such a

You can set a breakpoint, the top in the MainWindow earlier than the constructors in the initialization member variables there
And then one step operation, to see what is the process of constructing fault

But you are release version, and the debug yes, may be read the resource problem, or is there are differences between the two versions of folders in resource file access

CodePudding user response:

I produced, this release version on my computer to run without problems (win10), in an old Windows 7 computer, running for a period of time after installation. NET4.5 abnormal
  •  Tags:  
  • C#
  • Related