解决方法:
点class view中的工程,选右鍵,再点clean就可以了;
或者是 build->clean solusion也可以
问题描述:
When rebuilding projects, mt.exe randomly fails with error c101008a.
The
project being rebuilt has not been changed and has previously built
successfully.
The project builds successfully on other development
workstations.
Building the project again does not fix the issue.
Rebuilding the project does fix the issue.
The project is a native C++
ATL DLL, dynamicly linked, dynamic ATL linkage. The build type was debug.
This problem has been raised a number of times with bug 110491 claiming
to fix the problem, and bug 288040 being closed as not reproducable.
The
bug occurs on multiple development workstations and affects projects at random
(many different projects have failed with the same error and are subsequently
fixed by forcing a rebuild)
The error report is as follows:
1>------ Build started: Project: ASEFSync, Configuration: Debug_UMD Win32
------
1>Compiling...
1>SynchroniseCallBack.cpp
1>Generating Code...
1>Compiling...
1>ASEFSync.cpp
1>FileSafeSyncMgrEnumItems.cpp
1>FileSafeSyncMgrSynchronise.cpp
1>DatabaseWriter.cpp
1>FolderContents_Database.cpp
1>FolderContents_Folder.cpp
1>SynchroniseFolder.cpp
1>CommonGUI.cpp
1>Generating Code...
1>Compiling...
1>dlldatax.c
1>ASEFSync_i.c
1>Generating Code...
1>Linking...
1> Creating library Debug_UMD\ASEFSync.lib and object
Debug_UMD\ASEFSync.exp
1>Embedding manifest...
1>mt.exe : general
error c101008a: Failed to save the updated manifest to the file
".\Debug_UMD\ASEFSync.dll.embed.manifest". The parameter is incorrect.
1>Creating browse information file...
1>Microsoft Browse
Information Maintenance Utility Version 9.00.21022
1>Copyright (C)
Microsoft Corporation. All rights reserved.
1>ASEFSync - 1 error(s), 0
warning(s)
========== Build: 0 succeeded, 1 failed, 10 up-to-date, 0 skipped
==========