Error with mscoree.dll when executing Visual Studio - visual-studio

For a few days now, whenever I try to start Visual Studio 2017 I get an error that says that an specified procedure couldnt be found
I have tried the .NET Framework repair form Microsoft and it couldn't find the problem, I have also tried uninstalling and installing Visual Studio 2017 but the installation also throws the error (though it finishes and I can try to open Visual Studio again).
I have tried the .NET Framework installers but they say the framework is already installed so it won't do anything, and I can't find any way to uninstall .NET Framework in Windows 10.
I searched through Google for some versions of the DLL and putting it in the C:\Windows\Microsoft.NET\Framework\v4.0.30319 folder but none have changed anything.

Related

Side-by-side configuration error in Visual Studio 2019

I installed Visual Studio 2019 but when I open it this error occurs:
"The application has failed to start because its side-by-side
configuration is incorrect. Please see the application event log or
use the command-line sxstrace.exe for more details."
When I try to repair the visual studio this error occurs:
"Error-2146233033: Package is corrupted
Couldn't repair Microsoft.NetCore.TargetingPack.3.1.3.1.0"
I had the exact same issue and I tried the following.
Repair the Microsoft C++ redistributable versions on your machine.
Versions from 2013 onwards have this option by right clicking on it.
For version 2010 and older download the respective version from the MS website.
(This did not fix the issue for me)
Uninstall C++ installations and re-installed them.
Uninstall VS2019 and re-install it.
For me the above approach worked, but I cannot be certain which part fixed the issue.

Visual Studio Installation Failing

Previously I have Visual Studio 2012 Ultimate version in my system. Its is working fine.
Later I am trying to install 2013 also but it is not installing properly and giving error message like attached image.After that VS2012 also is not working properly. Then I tried to Install Vs2012 also again. But this installation process also giving same error. I can not able to upload image due to reputation.
This is the exact error:
"Visual Studio Core Fetures Fatal error during installing.
Microsoft Visual C++ 2012 Core Libraries Package failed.
Microsoft Visual C++ 2012 Microsoft Foundation Class Library Package failes."
Please help me to install visual studio 2012 & 2013.
Because Visual Studio requires many components to be installed, and if they are not, VS will install them. However, when you uninstall VS, it will not remove these components automatically because it does not record which component is installed by it and which exists before VS is installed. Other applications might need these components to work.
When you uninstall VS2012, you really only remove VS itself. Then you try to install VS2013 and meet an error, and that may be the problem. To make things worse, you did not clean uninstall VS2013 either, which caused the later errors when you try to reinstall VS2012.
You may as well try to clean uninstall VS 2012 and the same goes for VS 2013, just some Google work.
I hope this will help you a little.

Visual studio 2013 installation issue: not running installer

I'm struggling on an installation problem with visual studio ultimate 2013: after the download of the web installer I tried to open it but the installer started just for a split second and than it went away, I tried with the iso, same story, tried to repair the .net framework but nothing's changed, I also made an attempt running as administrator but even that didn't work.
Do you have any idea?
Thanks in advance.

.csproj file unsupported in Visual Studio 2013

So I'm trying to do what I think is a very simple thing: generate a Windows Phone app with PhoneGap and open it in Visual Studio. On a totally fresh Windows installation (via Bootcamp), I've:
Downloaded Visual Studio Express 2013 for Windows (the very first download button: http://developer.windowsphone.com/en-us/downloadsdk)
Created a PhoneGap Windows Phone app per the Getting Started guide.
However, every time I try to open the csproj file, I keep getting this error:
Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them.
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.csproj"
No changes required
These projects can be opened in Visual Studio 2013, Visual Studio 2012, and Visual Studio 2010 SP1 without changing them.
- HelloWorld, "C:\BodBot\BodBot-PG\BodBot\platforms\wp8\HelloWorld.sln"
No matter what I do. It works totally fine on Visual Studio 2012 for Windows Phone. I've tried it on VS 2013 for Desktop, and that doesn't work either. No clue what is happening here, and don't know even where to start to figure out what's wrong. I've Googled extensively to no avail; basically all instances of this error seem to have to do with previous version of VS. Pointing in any direction would be very much appreciated.
Turns out Update 2 wasn't getting installed correctly. I ended up installing Visual Studio and the Update 2 separately and Update 2 got installed successfully. Everything works now.
To build Multi device hybrid (Cordova tooling) apps with Visual Studio, you need to have Visual Studio 2013 Update 2 - Professional, Ultimate, or Premium.
Visual Studio 2013 Update 2: Global Apps e Android/iOS App

Can't reference Microsoft.Pex.Framework.dll in Visual Studio 2010 SP1

I have VS 2010 Ultimate Edition with SP1 installed. Recently, I have noticed that I cannot refer Microsoft.Pex (v 0.94.0.0) library from my project. All my previous project are broken due to this. Every-time I try to add the reference to Pex, it says the library is incompatible with .NET 4 framework.
I even tried adding it by manually browsing to location "C:\Program Files\Microsoft Moles\PublicAssemblies\Microsoft.Pex.Framework.dll", I still get the same error.
I can't remember what caused it? Did installation of VS-SP1 broke it? I have even tried repairing the Pex installation. The problem still persist.
There is a similar post at Can't reference Microsoft.Moles.Framework.dll in Visual Studio 2010 SP1, but the post did not helped either.

Resources