Migrate from Version 2.x to 3.x
This topic describes how to upgrade a solution from version 2.x to version 3.x of the WPF Application Framework (WAF). It explains the breaking changes in the API and shows how to solve them.
1. The .NET Framework 4.0 is not supported anymore
The .NET Framework 4.0 is not supported anymore. In order to upgrade to the WAF 3.x libraries you need to ensure that your projects target the .NET Framework 4.5 (or newer).
2. The class ConverterCollection was renamed to SynchronizingCollection
If you have used the ConverterCollection
in your solution then you need to rename it to
. This can be done via the search and replace tool of Visual Studio.
3. The static StringBuilderExtension class has been removed.
This class has provided only the method AppendInNewLine
. It was used to create a multiline text from a list of strings. Please use the .NET method instead:
4. The isChild argument of the ViewModel constructor has been removed.
It was possible to use a ViewModel
constructor with an
argument. If the argument was set to
then the constructor has not set itself as
to the associated view. When a class should not set itself as
automatically then inherit from Model