I was trying to build a migration tool...so i created a windows application tool to migrate a sharepoint 2007 to sharepoint 2010 ...so when i launched the tool in Sharepoint 2010 machine, i found that it was not referencing Microsoft.SharePoint.dll .
Could you please let me know, how this could be resolved?