When 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'.
Note In this error message,
InfoPathFormTemplate is a placeholder for the name of the project.
Back to the top
This 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.
Back to the top
To work around this problem, click
Rebuild All on the
Build menu before you build, run, or debug the project.
Back to the top