1

In Visual C# Express, when I try to Build Solution, I get the following message:

"The command "copy C:\Program Files.....\vaultforms.dll C:\Documents and Settings\All Users \Application Data......\Vault2012\Extensions\"" exited with code 9009.

(I have only shown part of the paths here but it should be enough to explain the issue)
How can I avoid this error?

4

2 Answers 2

1

Check out some other "Exited with Code 9009" errors?

What does "exited with code 9009" mean during this build?

http://support.microsoft.com/kb/908268

Sign up to request clarification or add additional context in comments.

7 Comments

Here is the full text of the error: The command "copy "C:\Program Files\Autodesk\Autodesk Vault 2012 SDK\VS9\Csharp\VaultForms\VaultForms\bin\Release\VaultForms.dll" "C:\Documents and Settings\All Users\Application Data\Autodesk\Vault 2012\Extensions\VaultForms\"" exited with code 9009. (I have checked other examples of error 9009 but they don't seem to be relevant).
Can you confirm that the .dll exists on your hard drive under the first path shown? And if so, that the correct permissions are in place? If those don't fix it, maybe try physically copying it into the project directory and referencing that one instead - somehow the copy command is failing.
The dll exists under the first path, yes. But interestingly, I don't have a "Documents and Settings" folder at all. (I am on Windows 7). Should this not be pointing to"C:\Users"instead? It's acting like a Windows XP installation.
Ah, that's why it fails! More importantly, why is it trying to copy that .dll there in the first place? Is there a pre- or post-build event doing that? Do you need the .dll copied at all?
It does it automatically from VC# Express when I press F6 or "Build Solution". How can I control where it writes to, or prevent it from writing altogether?
|
0

Check Path in Environment variable, some basics path information may be missing like visual studio installed path.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.