After upgrading from VS2015 to VS2017: The Debugger is not properly installed - visual-studio

I've been working on a C# MVC application in VS2015 with no problems. Recently I've upgraded to VS2017. I opened the same project in VS2017, but whenever I try to run it, I get the exact same error verbatim as described in
this question VS2017: The debugger is not properly installed. Cannot debug the requested type of code
I've followed every single piece of advice in that thread. I've also performed a repair on my installation - but none of the suggestions worked for me.
It's August now, so I wonder if anything has changed and if there is a solution now.
I have a feeling the problem is probably due to the differences between VS2015 and VS2017 - this was originally something built in VS2015 after all.

I also had issues few months ago when i upgraded VS2015 to VS2017 and one of my big project that i was running on visual studio 2015 stopped working. That project had seveleral class libraries and DLLs added. VS2017 asked me to installed required libraries/ddl one by one, which i did and still didn't work.
So what I did was, Uninstalled the upgraded version of visual studio 2017 and re-installed the complete visual studio 2017 from MSDN website (selecting the default selection of features). And then i loaded my Project in VS2017 fresh copy and it worked.
I suggest you to try the same

Related

SQL Server Management Studio 17 problem Visual studio shell isolated

I am getting this problem when trying to launch SQL Server Management Studio 2017. The installation finished with no problems.
problem1
I have reinstalled SSMS, C++ redistributables, .NET Framework 4.5 4.6 4.7, several times, and it keeps the same.
The only thing I can’t install is visual studio 2015 shell isolated. When I try to install, it says the following:
problem2
If I uninstall .NET Framework, and try to install VS Shell isolated, it keeps poping the same screen but with a button of "Accept and install", then it begin to install .NET Framework 4.6 and the screen closes suddenly.
It seems the shell isolated doesnt recognize .NET Framework is installed already, but other software like Visual Studio 2017 Community Edition works perfectly.
It appears in control panel, but if I right-click it, says "change", and then the same screen saying .NET Framework appears.
problem3
Any solution ?
EDIT: I could fix it upgrading to Windows 10. Thanks!
I had a similar issue and fixed it in this way : first I removed all the frameworks I could. After rebooting I removed all the visual c runtime I could. Then, I rebooted again.
After rebooting, I installed in order all the visual c runtime, each bundle in a couple, where x86 was the first. I skipped those who said they were already installed. Finally I installed the framework 4.5.
VS shell should install fine. The issue is due to visual c runtime 2015 being almost compatible with visual c runtime 2017. However, if you manually download and install each version in publication order, the detection should work correctly.
Warning: make a system backup before starting and download all the installers before starting the uninstallation, as after rebooting, certain software may fail as their dependencies could be missing (for example antivirus).

Project File Is Incomplete and NETCore.App 2.1 was not found on updated Visual Studio 2017

Running into a problem I've not encountered before.
Fresh install of Visual Studio 2017 on Windows 7 enterprise.
Before updating Visual Studio I did not encounter Issue 1.
Ran update on Visual Studio to get to version 15.8
This appears to have also updated dotnet core to 2.1.4
Issue 1
Before upgrading to 15.8 this was not an issue.
Since I have upgrade Visual Studio i am met with the following error when trying to open eShopOnContainers
I have read the answers on a very much related question, here Project file is incomplete. Expected imports are missing though nothing has helped.
Issue 2
May be related, though trying to scaffold a dbContext for EF Core and receiving this error message in the Package Manager Console.
The error message seems pretty self explanatory, except for the fact that i have the following versions installed:
I've tried removing each of the installed versions though nothing seems to get me past either of these issues.
I've tried repairing visual Studio and also the dotnet installs. Again, nothing helps.
Any idea what i have wrong? All seems to be since i upgraded to 15.8...
Please install x86 version of dotnet core SDK as well
I was having the same problem - Project file is incomplete. Expected imports missing.
After installing the x86 version of the .net core sdk, Visual studio was able to open my .net core project.
My issue is resolve by installing x86 version of dotnet core SDK

Visual Studio thinks `Microsoft Web Developer Tools` is installed

Symptoms
Visual Studio syntax highlighter and Intellisense for Javascript and Razor views are not working.
There is no Web templates installed when creating a new project.
When I try to uninstall the web developer feature:
Add or remove Programs > Microsoft Visual Studio Professional 2015 > Modify
Microsoft Web Developer Tools is always checked. Even when I uncheck it and uninstall it, then restart the computer; the next time I still see it's checked:
What I did to solve this:
Running devenv.exe \resetuserdata Command to reset the user data.
Running devenv.exe \installtemplates to install the templates.
Repairing the Visual Studio.
Trying to uninstall and re-install the Web Developer Tools feature through the Visual Studio installer.
None have worked so far.
What I guess
I think Visual Studio thinks this feature is installed (through some registry keys probably) but the files are actually not installed.
Because whenever I try to Modify the installation of Visual Studio, the Microsof Web Developer Tools check box is not checked for the first second, then it is checked again after 1 second.
Question
Any suggestion on fixing this without uninstalling Visual Studio itself?
I was having the same problem and this is what worked for me:
Uninstall ASP.NET Web Tools from Control Panel
Download and install "Microsoft ASP.NET and Web Tools" extension from: https://visualstudiogallery.msdn.microsoft.com/c94a02e9-f2e9-4bad-a952-a63a967e3935
Try this (in order):
Find Microsoft ASP.NET 5 RC1 ... in control panel / programs &
select modify
Select repair
Run devenv.exe /installvstemplates as administrator
Run VS as administrator
I had the same problem with Visual Studio 2015. I tried several things, but simply updating Microsoft ASP.NET seemed to do the trick.
Install ASP.NET 5 RC1, restart, and the issue should be resolved.
I didn't know I had this problem until I opened an MVC project with Razor views and didn't have syntax highlighter and Intellisense. I was lucky to read your question because the symptoms are the same and so is the conclusion. And unfortunately none of the answers solves the problem. But it did help me to find the answer, or what worked for me.
What did the trick was installing .NET Core 1.0.0 (DotNetCore.1.0.0.RC2-Runtime-x64 and DotNetCore.1.0.0.RC2-VS2015Tools.Preview1). I am pretty sure that this is enough to solve the issue. But since I tried all kinds of things, it is possible that another action is required. In that case, continue reading below the images.
When I start a new project this opens the following dialog:
Selecting ASP.NET Web Application (.NET Framework) opens the dialog with the projects I was looking for.
The syntax highlighter and Intellisense are also working for Razor views.
I do not know what caused the problem in the first place. Is the installation incomplete, is there a conflict with other software or did I do something that caused this?
Visual Studio 2012 is installed on my machine as well. I installed and uninstalled VS2015 (pro and community version) and then installed vs2015 Community on multiple volumes. On uninstalling I did use /Force and removed several folders manually.
Microsoft ASP.NET 5 RC Update 1 is also installed, but repairing this did not solve the issue. Also installing Asp.Net Web Framework tools 2015 didn't change anything. I copied templates to all template folders I could find (perhaps an issue with installing on multiple volumes?), ran devenv.exe with different parameters and deleted the '14' folder in my profile. None of this worked. Finally I installed .NET Core 1.0.0.

Visual Studio shows only attach and no run with PTVS RC

I downloaded PTVS RC today and installed it. After restarting VS, there was an error about importing Python Tools that said the following and solutions were not being loaded:
No exports were found that match the constraint
Based on this post here at SO, i renamed my ComponentModelCache file. Now although VS loads old solutions, all I see is an Attach button and no Run/Debug button. For new projects, it works fine. I am using Visual Studio 2013 Professional Edition. Any help?
It seems like the issue is not with PTVS RC. Although I had only 1 project in my solution, all I had to do was set the startup Project. This can be done by right-clicking on the solution. Once the startup project is set, the solution is good to run.

Visual Studio 2013 crashes when loading project

Some time ago I started developing with Visual Studio 2013 Professional and everything worked well. But a few weeks ago I upgraded to the Ultimate version. But since then Visual Studio crashes when I load a project. VS just starts up normally, I can see the menu and log in and stuff like that. But when I open a project it crashes everytime. I tried to repair it VS in the control panel, but still the same problem... Then I reinstalled it but when loading a solution it crashed again. Now I downgraded to Professional again, but now even Professional crashes.
I have been searching on google for a long time to solve this problem. I tried to reconfigure the debugger, even reinstalled it, but no effect. A lot of forums say you have to delete the .suo file in the project, but even that doesn't work...
Is there a solution for this?
UPDATE
When Visual Studio crashes I get this error: https://i.imgur.com/VtaikJ5.png?1
My ActivityLog.xml is on OneDrive: https://onedrive.live.com/redir?resid=B3519F287A9CD3FC!2830&authkey=!AIUDHo1bCZan4Fk&ithint=file%2cxml
I already received the answer from the MSDN forum. And it was caused by the Web Essentials extension tool. And apparently with the Visual Studio Update 4 everything seems to be fixed. The extension tool was causing the error, and that error is fixed in the update.
Thanks for the support everyone!

Resources