Method 1: When this error occurs in vs2005, use NotePad to open the. csproj file of the project and delete the following content:
<Manifestcertificatethumbprint> b531f2cf222748c5e29308fc2247704827d1ea8c </manifestcertificatethumbprint>
<Manifestkeyfile> xxxx_temporarykey.pfx </manifestkeyfile>
<Generatemanifests> true </generatemanifests>
<Signmanifests> true </signmanifests>
<Publishurl> D: \ XXX \ bin \ </publishurl>
<Install> true </install>
<Installfrom> disk </installfrom>
<Updateenabled> false </updateenabled>
<Updatemode> foreground </updatemode>
<Updateinterval> 7 </updateinterval>
<Updateintervalunits> days </updateintervalunits>
<Updateperiodically> false </updateperiodically>
<Updaterequired> false </updaterequired>
<Mapfileextensions> true </mapfileextensions>
<Createwebpageonpublish> false </createwebpageonpublish>
<Applicationversion> 1.0.0.% 2a </applicationversion>
<Iswebbootstrapper> false </iswebbootstrapper>
<Bootstrapperenabled> true </bootstrapperenabled>
Method 2: use NotePad to open the project's csproj file and change <signmanifests> true </signmanifests> to <signmanifests> false </signmanifests>.