Monday, July 29, 2013

of making a copy of a .dll to a second spot with Visual Studio

If you copy a Visual Studio project form one local to another you may get a 9009 error if you have a Build Events post-build event command line script (right-click on the project and pick Properties and then go to the Build Events tab to see these) which tries to make a copy of the .dll for the project's compilation to a second locale and can no longer find the second locale. Such a script might look like so:

"$(ProjectDir)..\post-build.bat" "$(ProjectName)" "$(ProjectDir)" "$(TargetDir)" "$(TargetName)"

No comments:

Post a Comment