I only encountered this problem after installing VS2010 on a VMware client image, where I need to debug messages. The error prevented me from creating any projects in C #, while C ++ projects worked fine.
The source of the problem was corrupted cvtres.exe.config . I just managed to check this file:
C:\Windows\Microsoft.NET\Framework\v4.0.30319\cvtres.exe.config
and found that it contains only a sequence of null bytes. After restoring the contents of the file from a well-known good system, everything was just starting to work fine. Here is what I now have in the file:
<?xml version ="1.0"?> <configuration> <startup useLegacyV2RuntimeActivationPolicy="true"> <requiredRuntime safemode="true" imageVersion="v4.0.30319" version="v4.0.30319"/> <supportedRuntime version="v4.0" sku="client" /> </startup> </configuration>
This answer is probably too late for you, but I am writing it just in case it helps someone else. Final remarks about my system configuration: Win7 64-bit, VS2010 (10.0.40219.1 SP1Rel), .NET Framework 4 (4.0.30319 SP1Rel).
source share