ClickOnce DataBinding

Feb 23, 2011 at 9:36 AM

Hello,

do you know anybody,

why wpf application from clickonce don't working properly "binding" from nested property?

like <Label Content="{Binding Path=ParentProp.ChildProp}" />

In standalone application "binding" working properly.


Thank you

Petr

Feb 23, 2011 at 4:20 PM

Uhm, I'm almost sure this is not related to ClickOnce itself. The binding is OK, and it works for sure both in standalone an ClickOnce deployed apps.
There should be something else going wrong, perhaps preventing the application to *load* ParentProp or ChildProp properly.

You might try to build a small repro of the issue in a separated application. I believe that this will help you to locate the real cause.

Feb 24, 2011 at 5:51 AM

ohh sorry, my mistake.

I'm used http://code.google.com/p/notifypropertyweaver/ but i dont have task for publish:-)

Now its working properly.

 

Thank you very much

Peter

Feb 26, 2011 at 1:52 AM

Maxim

Are you using the latest version of NotifyPropertyWeaver?

If so you should no need any extra task to do a publish.

Since version 0.30 the weaving task should exists in the "AfterCompile" node in you project.

 

Feb 26, 2011 at 6:52 AM

Yes I know,

now i using 1.0.0.

 

Thanky you