When I build the project, its failing with the error 'The command "cp FPSDK.dll ..\..\" exited with the code 9009', but it was creating the FPSDK.dll and FPSDK.pdb under ...\FPSDK\bin\Debug. I copied these .dll and .pdb to .\bin folder of a new visual studio project that I have created for testing Centera SDK.
When I build this project, its throwing me an error that it failed to load FPDll.exe.
I am struggling with this error and I have tried almost all the solutions that I found when googled.
I presume from your difficulties that you are very new to .NET. The generated DLL is referenced by the sample programs in the solution, and needs to be in the root directory - that is where the post build event attempts to copy it, and that is where the sample solution reference requires it to be.
I do not know why the copy step is failing, but if you copy it manually to this location you should have no problems.
hmm. when I build the wrapper solution, it failed with a message, 'the command "cp FPSDK.dll ..\..\.." exited with the code 9009. but it generated the FPSDK.dll and FPSDK.pdb under the root directory. so I have referenced that new DLL to the sample solution.but again build errors.
Very strange. The failure of the Post Build script infers that something else may be wrong in your environment, as all this does is simply copy it from the relevant build directory (Debug or Release) up the the "root" of the project directory structure. This allows the sampes to use it with a single porint of reference independent of the build mode.
When you compile the samples, what errors are you seeing?
I am not new to .NET. If I need to reference the compiled DLL to the sample solution, first I should get the DLL from the wrapper solution. That was failing.
From those errors, it is clear that the FPSDK.dll reference is not being successfully found in the project. I suggest you try and add it manually - you should then be able to resolve those classes.
gstuartemc
2 Intern
•
417 Posts
726
0
Posted January 12th, 2010 05:00
I presume from your difficulties that you are very new to .NET. The generated DLL is referenced by the sample programs in the solution, and needs to be in the root directory - that is where the post build event attempts to copy it, and that is where the sample solution reference requires it to be.
I do not know why the copy step is failing, but if you copy it manually to this location you should have no problems.
Are you using Visual Studio 2008?