Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file ... Access is denied

I often have this problem even when I build a new C++ project and try to build a release file.

I use Visual studio 2008. One thing that may cause this problem is my code is saved on the server disk, not on local hard disk.

mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "..\Release\PGTS_version17C.exe". The process cannot access the file because it is being used by another process.

Anyone know how to solve this? Thanks.

like image 599
Jackie Avatar asked Sep 23 '10 04:09

Jackie


2 Answers

If you are embedding a manifest file, your anti-virus program may lock and scan your exe file before embedding the manifest.

I recommend disabling anti-virus from reading your DEBUG and RELEASE output folders.

like image 107
Zamboni Avatar answered Sep 19 '22 21:09

Zamboni


Go to Debug and/or Release folder(s), right click and unset, recursively, the Read-Only property.

Found this tip in the MSDN Community and solved my problem!

like image 34
Girardi Avatar answered Sep 18 '22 21:09

Girardi