msvcp120d.dll missing when trying to run on visual studio 2015 - visual-studio-2013

I had Visual studio 2013 installed and had my code running on it.
A few months ago I installed Visual studio 2015 and debugged my project there.
A week ago I decided since I'm no longer using Visual studio 2013 to uninstall it.
Ever since I have not been able to run my code in debug mode in 2015. I have tried cleaning my project and rebuilding it (my code has no dependencies on other compiled codes). I have also tried installing Visual studio 2013 redistribute pack but I still get an error that msvcp120d.dll is missing when I try to launch the debug version of my code.
Any idea on how to fix this?

Related

Visual Studio Installer Project Extension running in VS 2017 Pro thinks it's running in VS 2013 Pro

Got a big problem with the Visual Studio 2017 Installer Projects Extension for Visual Studio 2017 Professional. I added a Visual Studio Installer Setup project to a solution and set it up the way it's basically supposed to be done (Primary Output in the Application Folder and an icon in the Desktop Folder is all that was needed). Then I right-clicked on the Setup project, clicked "Build" and then I get this:
Please wait while Windows configures Microsoft Visual Studio Professional 2013.
And then it stalls indefinitely. I have to close Visual Studio in Task Manager to stop everything. What's more, I'm Visual Studio Professional 2017, not 2013. I used to have Visual Studio 2013 Ultimate, but I uninstalled it. What could possibly be causing the confusion?
It appears that you have also got Visual Studio 2013 installed, and that there is as conflict between 2013 and 2017 because that message is a Windows Installer repair of VS 2013. Something is happening during your build that requires the VS 2013 installation to be repaired. The Windows Event Log (Application) will have an MsiInstaller log entry saying which component appears to be broken. If you post that information there may be a clue to the problem. If you (for example) have manually removed anything that may belong to the VS 2013 installed product then that would cause the same kind of problem.
You have this similar problem:
Rebuilding Visual Studio Installer project, launches Visual Studio 2013 seetup
Visual Studio 2015 msi build initiates another installation
When you say it stalls indefinitely, I would expect it to ask for the Visual Studio 2013 install image so that it can repair it. If you go to Programs&Features and manually repair VS 2013 it might fix the problem.
I also had Visual Studio 2013 installed as mentioned by #PhilDW.
Navigating to Event Viewer → Windows Logs → Application I found loads of warnings:
Detection of product '{9C593464-7F2F-37B3-89F8-7E894E3B09EA}', feature 'Visual_Studio_Professional_x86_enu', component '{E3FF99AA-78B9-4A06-8A74-869E9F65E1FE}' failed. The resource 'C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\' does not exist.
The key here being that the folder C:\WINDOWS\Microsoft.NET\Framework\URTInstallPath_GAC\ did not exist thanks to an answer in the first link provided by #PhilDW.
Created the missing final folder URTInstallPath_GAC in the path mentioned and the installers now build really fast whereas before they used to take forever (sometimes literally!).

Error MSB8020 appeared after uninstalling unused old VS installation

I had Visual studio 2008 installed and working.
I then installed VS 2010 and it worked fine.
I then installed VS Community 2015 and it worked fine.
I then uninstalled VS 2008. I had a hunch that it could cause trouble so I checked that VS Community 2015 still worked - it did.
I then uninstalled VS 2010 and checked that VS Community 2015 still worked - it didn't. When compiling a previously working Community 2015 project I got this:
error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found.
I don't understand why VS 2015 would even be using any parts of VS 2010. Anyway, I'd like to know the most robust way of repairing the situation.
It seems that installing VS Community 2015 does not by default mean that all the tools used are the latest versions. So when I unisnstalled VS2010 I zapped some of my tools. By selecting "Project" then "retarget solution" I could then update the tools used.

Unable to Install Visual Studio 2013 on Computer with Visual Studio 2015

I have a Windows 8.1 computer with Visual Studio Community 2015 installed and no other version of Visual Studio. I want to install Visual Studio Community 2013 because this is required to use C++ with Unreal Engine 4. But I get
this error message when I try to install.
So I restarted my computer, and the same error message still shows up. I have tried installing from an executable from the Visual Studio webpage, and from a button in Unreal Engine 4 that opens the Visual Studio 2013 installer. What could be the problem? Thanks.
From memory, you're supposed to be able to install multiple versions of visual studio, provided you install them chronologically.
Make a backup.
Then try uninstalling VS 2015. Then installing VS 2013, then re-installing VS 2015.
Better yet, do this in a virtual machine.
- Additionally; A virtual machine will allow you to install VS 2013 in isolation, so that you won't need to uninstall VS 2015.

UnityVS (Visual Studio Tools for Unity 1.9) + Visual Studio Ultimate 2013 Compatibility Issue?

I have installed the recently released Visual Studio Tools for Unity 1.9 on my computer with a copy of Visual Studio Ultimate 2013 and am encountering a problem which I can't seem to fix. After creating a new Unity project, importing the VSTU package, and creating a script and opening it, I see a message within the VS 2013 Solution Explorer stating that:
"This project is incompatible with this version of Visual Studio"
However, I have read on the UnityVS site and nothing indicates that it is incompatible with VS 2013. Are there any possible solutions to this problem? Thanks.
This is an old question now, but I ran into the same problem recently with a brand new install of Unity 4.6.1, VS Professional 2013 and VSTU 2013.
A re-install of VSTU fixed the problem.

.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

Resources