Welcome Guest ( Login | Register )



All times are UTC - 7 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compilation error migrating project to last version 2.2 SP 2
PostPosted: Fri May 26, 2017 6:10 am 

Joined: Tue Dec 11, 2012 5:44 am
Posts: 67

Offline
Hello,

we have attached error after migrating one of our projects from version 2.1 SP2 to last version 2.2 SO 2 Build 2.22.184.0.


The property 'ValidatesOnNotifyDataError' does not exist in XML namespace 'http://schemas.microsoft.com/winfx/2006/xaml/presentation

The errors happens on compilation and the 2 screens have a datagrid in design and code.

I ask you suggestion on how to go ahead and solve.

Thank you


Attachments:
File comment: Errors of compilation after migrating to last version
ErrorMigrationLastVersion_222184_22SP2.jpg
ErrorMigrationLastVersion_222184_22SP2.jpg [ 327.22 KiB | Viewed 528 times ]
 Profile  
 
 Post subject: Re: Compilation error migrating project to last version 2.2
PostPosted: Tue May 30, 2017 7:16 am 

Joined: Mon Jun 11, 2012 2:10 pm
Posts: 89

Offline
Andrea,

Just curious, what happens if you change ValidatesOnNotifyDataError to ValidatesOnNotifyDataErrors (add s to end of error)?

Doing a google search, I found the following post: https://social.msdn.microsoft.com/Forums/vstudio/en-US/ba1c348d-9b14-4004-b726-5bab095f0acd/issue-with-wpf-validationidataerrorinfo-and-loading-user-control-dynamically?forum=wpf I've never used this control or received this error, so I don't know if this would help.

_________________
Adam M.
Controls Engineer
FlexEnergy


 Profile  
 
 Post subject: Re: Compilation error migrating project to last version 2.2
PostPosted: Tue May 30, 2017 9:44 am 

Joined: Tue Dec 11, 2012 5:44 am
Posts: 67

Offline
Hello Adam ,

thank you for your suggestion.

I tried to insert the 's' and also to delete all part ValidatesOnNotifyDataError = "True" but seems that, during Build- compilation the file XAML is changed and return as before as iX wants so the error is still the same.

Do you know if there is some workaround to avoid this?

Andrea


 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron