I am migrating InfoPath 2007 form to 2010 to 2013. The form is developed in InfoPath 2007 and has code behind. I opened the form using InfoPath Designer 2013,updated data connections. When I clicked on Code Editor, code did not open, so I removed the code and hit Code Editor. It created a new Project and I added References, Web References and code and built it. Form works fine..But If I close the InfoPath designer and reopen the form again using designer, when i clicked on Code Editor it says "system cannot find the file specified". I am giving the right location, but it still says this.