I am sharing a C# project with a colleague so I have moved the entire folder containing the project to his PC. He are both running VS 2012. Anyway when opening the solution we get an error. All the classes still have the path of the origin PC so when trying to run on the other one it is not able to find the class. I don't know why this is happening. I want to use the classes in the folder not the ones in the origin PC. Even if they are exactly the same we don't have access to that PC now. How can I fix this and tell VS to use the classes in the folder I have moved to the new PC?
EDIT
I have fixed the path so it is using the ones in the correct folder. The main function is:
class MainClass
{
public static void Main()
{
myInputForm myInputForm1 = new myInputForm();
myInputForm1.ShowDialog(); // show interface to prompt user...
}
}
The error that occurs when the ShowDialog() method is called is:
An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll Additional information: dragdrop registration did not succeed.