c# - Post build visual studio step not being called at all -


the long of built installer in visual studio gave me cheery error when tried use program:

retrieving com class factory component clsid {ec10e7e8-797e-4495-a86d-3e9eada6d5bb} failed due following error: 80040154.

from seems need embed manifest in executable , should add post build event following:

"$(devenvdir)....\vc\bin\mt.exe" -manifest "$(projectdir)$(targetname).exe.manifest" –outputresource:"$(targetdir)$(targetfilename)";#1

well, when , build solution event not being called @ all. in fact, can put old random text in pre , post events , no error ever given nor see being called.

is there should doing differently make work?

additional information:

i'm building ide. , when toggle build types debug , release still correct command in post build events.

is there way see log of it's doing?

tool + options, project , solutions, build , run, set "msbuild project build output verbosity" detailed. you'll ton of diagnostics in output window.

fwiw, error message simple "class not registered" error. fix regsvr32.exe


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -