views:

7707

answers:

5

I installed Visual C# 2010 Beta 2 and I get this error every time I open a project:

'This application has failed to start because MSVCR100.dll was not found. Reinstalling the application may fix the problem'

I uninstalled every VC runtime, .NET framework, C# on this computer. Then reinstalled Visual C# 2010 and the install went smoothly. Then I ran Microsoft Update. Still the same problem when I open a project. The project was created with VC# 2008.

I'm running Windows 7 64-bit.

Any idea how to fix this? I could only find people with the same problem while trying to Uninstall VS2010 and use a previous version.

+1  A: 

Update: I tried uninstalling, reinstalling VS2010 also, thinking it might cause the problem. Same thing. Then I downloaded and installed separately the .NET framework 4.0, no luck.

Is my only chance to reinstall windows altogether?

Diego

Update 2: Reinstalled windows and VS2010, and got the same error.
Update 3: Got it...created a new project directly in VS2010 and imported my code. This worked. I guess the problem was in the automatic conversion of the project from VS2008 to VS2010.
You should consider updating your answer so others can more easily find it without having to look through the notes.
Paperjam
+3  A: 

After installing Visual Studio Express 2010 Beta 2 I also got the missing msvcr100.dll. I never got this issue in Windows XP x86, it only happened to me in Win7 x64.

My solution was simple: Place/Copy the DLL in the System32 folder. I found a local copy of the DLL in the SysWOW64 folder. Hence the following command:

copy %windir%\SysWOW64\msvcr100.dll %windir%\System32\msvcr100.dll
Pada
A: 

I can't seem to find the file in SysWOW64 I'm running Windows 7 Pro 64bit :(

jellymann
A: 

Pada's solution worked for me...

MrMyStyle
A: 

Sounds like the error described at http://msdn.microsoft.com/en-us/library/ms235299.aspx. Try searching for msvcr100.dll and copying it to the local folder with your project. If possible copy the file from the system you originally compiled the project on to ensure it's the right version. The original system should also HAVE the DLL, because it wouldn't have run on it without it.

anon