I was evaulating SharePoint Designer 2010 and InfoPath 2010 for my team so I installed both of them on my pc. But after I realize we won't have SharePoint Server 2010 for a while, I uninstalled those two applications.
Now the problem cames... when I try to publish a InfoPath 2007 form and it gave me that error message:
Could not load file or assembly 'Microsoft.Office.InfoPath.Vsta, Version=18.104.22.168, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies.
Clearly, Visual Studio 2005 is trying to find the assembly from InfoPath 2010, but it's been uninstalled already. So how do I tell VS to use InfoPath 2007?
Another question, how to force InfoPath 2007 to create the C# code project with VS 2008? It's using VS 2005 by default.
View Complete Post