I have a program that, after downloading some files, is moving them around the C drive. When I call file.move though, I get the following exceptions:
A first chance exception of type 'System.Reflection.TargetInvocationException' occurred in mscorlib.dll
Additional information: Exception has been thrown by the target of an invocation.
If there is a handler for this exception, the program may be safely continued.
I know that this can happen when you don't actually have the directory but I do. It actually DOES move the files correctly, it just throws up an error. I can't find any information on this? Should I just try and catch this fake error or should I figure out what's going on? Thanks!