Breaking changes in .NET 4.0

后端 未结 5 1494
南笙
南笙 2020-11-27 12:23

There is a lot of information about new features and classes in new 4.0 however there are also changes that may affect existing applications, for example

  1. Ti

5条回答
  •  醉酒成梦
    2020-11-27 13:07

    I've just fixed a bug in a production app which recently moved to .NET 4.0.

    Data binding that uses nested properties was throwing:

    ArgumentException: Cannot bind to the property or column 'SomeProperty' on the DataSource.

    It appears to be a known issue with a workaround. I couldn't find it on any official lists and the bug on Microsoft Connect has been closed as "Not Reproducible".

    The nested properties are all defined in strings so I had to search for them all manually.

提交回复
热议问题