Add this <Import Project="$(MSBuildBinPath)\Microsoft.WinFX.targets" /> to the .csproj file.
http://forums.msdn.microsoft.com/en-US/wpf/thread/2f755d30-bd8c-4f9b-b36a-9cb56bea15cd/
No Comments