Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29578 Discussions

a tool returned an error code from performing plost-build event

Brian_Murphy
New Contributor II
2,092 Views
I'm sill working on messed up calls to DLL's in my console application. 11 error PRJ0019 A tool returned an error code from performing post-build event I get the above when building or rebuilding a fortran DLL project imported from VS2008 into VS2012. What does this mean? I let VS2012 do an automatic conversion when I opened the vfproj file in VS2012. Thanks, Brian in Austin, Texas
0 Kudos
4 Replies
Steven_L_Intel1
Employee
2,092 Views

You'd have to look at the buildlog.htm file to see just where in the build phase this happened. Most often this error is a result of the Microsoft Manifest Tool (mt.exe) failing for some reason (though it often doesn't tell you why.)

However, the "post build event" suggests to me that you have post-build events defined in your project and something went wrong. Again, the build log will help you identify this. (And by build log, I do NOT mean the output from the build pane in Visual Studio!)

0 Kudos
Brian_Murphy
New Contributor II
2,092 Views
Thanks for the reply, Steve. I took a look there, and I'm finding that somewhere there is an instruction to copy the compiled DLL to another directory, and this leads to an Access Denied error. I've sifted through the project settings and I can't find where this instruction is coming from. Where would something like this be?
0 Kudos
Steven_L_Intel1
Employee
2,092 Views

Project > Properties > Build Events > Post-Build Event

0 Kudos
Brian_Murphy
New Contributor II
2,092 Views
Darn! Sure enough, there is it. I thought I looked there but must not have drilled down deep enough. It now builds with no errors :) Cheers, Brian
0 Kudos
Reply