I\'m using EditBin to increase the stack size of an application I\'m writing. I have this in the post-build event command line for Visual Studio:
"C:\\Pr
The best solution is to run the vcvarsall.bat located in the root of the visual studio install folder(C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC). That sets up the search folders for all MSVC compiler related tools.
I got this to work for now by copying mspdb100.dll into the same directory as editbin.exe, but this is not an optimal solution because every developer on my team will need to do the same thing.
I had the same issue, how I resolved it:
Ran msbuild.exe <my.sln> /t:<mytargetproject>
from a VS2010 command prompt, where <my.sln>
is your solution name and <mytargetproject>
is the project you are trying to build. For e.g. msbuild.exe helloworld.sln /t:mainproj
.
When you do this or at least when I ran this, a dialog box popped up and said "foo.dll" cannot be found, I added the path of that dll to my "PATH" environment variable and the problem was solved! See ChrisF's comment to the question, as it says, the error is that some dll/component is missing.
From the dll name it complained about, I believe this is not contained to VS2010 libs/dlls, for me it was a third-party dll (which I am using and supposed to be available during the build) it was complaining about.