Thanks for replying. All the files are where they should be as far as I can see. One thing that was weird that I noticed was that the file paths of the files in the project, e.g. FormCode.cs, were pointing to a temporary directory, not the actual file path. I am assuming that when InfoPath brings up VSTA, the files are copied to a temporary directory. This doesn't seem to be the case in an older version of InfoPath. I am using office 2013. It did work for the longest time. Unfortunatly, I didn't notice where the file paths were pointing when it did work.