Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

You may receive an error message when you build, run, or debug an InfoPath 2007 form template that contains Visual Basic code


View products that this article applies to.

Symptoms

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


Cause

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


Workaround

To work around this problem, click Rebuild All on the Build menu before you build, run, or debug the project.

↑ Back to the top


Keywords: KB925201, kbprb, kbtshoot, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 925201
Revision : 3
Created on : 11/3/2006
Published on : 11/3/2006
Exists online : False
Views : 260