I was coding a project in C#, one that interacted with a .csv file and converted it to a form of .xlsx from a template. This was using C# WinForms in visual studio 2008. It worked just fine on my Windows 7 64-Bit machine with Excel installed, and same for my supervisor's computer. However, moving it back to Windows XP, it failed.
My question is what do I need to do to make it multi-platform like that? Does the target computer need to be 64bit as well? If so, how do I make my project 32-Bit instead? And would it need the Excel installation of some kind as well?
Update: There are references in my program to things in the Windows Assembly, and I don't believe they are on the target computer. Is there a way to package them with the .exe in some way so that it can be run on another machine?
Few things to check
Check AnyCPU in the Visual Studio Project settings, review this http://msdn.microsoft.com/en-us/library/office/ff407621(v=office.14).aspx
Check if MS office is installed in Win XP Machine, as well as what version, if your application uses MS office DLL then you might be facing "DLL Hell problem", check exact version
Try to debug by putting log or removing references or commenting code.