I used the "diff" command. I don't remember the exact syntax, you'll need to ask google.
I don't think that Visual Studio is a tool for the job. NXT is written in Java.

Thanks. Visual studio supports Java, I also have Netbeans IDE, but will ask the Googles
