Important News for .NET Framework 3.5 Beta 2 Developers Building Visual Add-Ins with WPF
If you are using .NET Framework 3.5 Beta 2 to create WPF applications that support visual add-ins, you should be aware that, in the forthcoming .NET Framework 3.5 RTM, the naming of both the System.AddIn.Pipeline.VisualAdapters class and its members have changed from this [1] to this [2].
Consequently, you’ll need to change your code to use the new type and member names for .NET Framework 3.5/Visual Studio 2008 RTM.
[1] .NET Framework 3.5 Beta 2.0
namespace System.AddIn.Pipeline
{
public static class VisualAdapters
{
public static INativeHandleContract ViewToContractAdapter(Visual);
public static FrameworkElement ContractToViewAdapter(INativeHandleContract);
}
}
[2] .NET Framework 3.5 RTM
namespace System.AddIn.Pipeline
{
public static class FrameworkElementAdapters
{
public static INativeHandleContract ViewToContractAdapter(FrameworkElement);
public static FrameworkElement ContractToViewAdapter(INativeHandleContract);
}
}