I don't think .net 4 is supported yet.
What are you trying to do with WPF? I've displayed wpf forms in ArcDesktop - what are you trying to do beyond that? The only issue I've found is performance as the WPF forms can take a little while to load initially.
Andy