Article ID: 925201 - Last Review: November 3, 2006 - Revision: 1.2 You may receive an error message when you build, run, or debug an InfoPath 2007 form template that contains Visual Basic codeSYMPTOMSWhen you build, run, or debug a Microsoft Office InfoPath 2007 form template that contains Microsoft Visual Basic code, you may receive an error message that resembles the following: Unable to copy file "obj\Debug\InfoPathFormTemplate.dll" to ".\bin\Debug\InfoPathFormTemplate.dll". Could not find file 'obj\Debug\InfoPathFormTemplate.dll'. CAUSEThis problem occurs because you click Clean Solution on the Build menu before you build, run, or debug the project. The Clean Solution function does not work correctly for Visual Basic projects. WORKAROUNDTo work around this problem, click Rebuild All on the Build menu before you build, run, or debug the project.
| Article Translations
|

Back to the top
