1

While Opening VS 2015 project in VS 2017 getting this error of Install Missing Features

enter image description here

When I press on Install button the loader comes and then the error comes, after that nothing happens

Loader comes

Error

Visual Studio 2017 Version Details Visual Studio 2017 Version Details

Stuffs Tried till now

Link 1 : Installed Microsoft Expression Blend Software Development Kit (SDK) for .NET 4

Link 2 : Not able to do any of the steps given in this link

Link 3 : Have done this setting to set proxy settings for VS2017

Env Info Using Corporate account having proxy settings to access internet

Please help on how to proceed ahead.

Kunal Panchal
  • 1,049
  • 11
  • 19
  • `Link 2 : Not able to do any of the steps given in this link`? Hmm, you aren't able to launch the Visual Studio installer? – aquinas May 03 '18 at 17:35
  • Installer opens up, and when I click on Modify, nothing happens. Getting the same InvalidOperationException Error. – Kunal Panchal May 03 '18 at 17:38
  • Sounds like a bad install. Probably need to run the cleanup tool: https://learn.microsoft.com/en-us/visualstudio/install/remove-visual-studio – aquinas May 03 '18 at 17:55
  • download latest installer from Microsoft page (15.6.6) which has better proxy support, repair/Update VS2017 and install the .Net Desktop workload. – magicandre1981 May 04 '18 at 14:03

1 Answers1

0

This can be caused by having the Nuget Package "Microsoft.CodeDom.Providers.DotNetCompilerPlatform" installed for a project, without actually having all the package files present. (I don't know how this happens.)

Edit the project file of the unloaded project (right-click in Solution Explorer > edit). Remove this line near the top:

<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />

Right-click the project again > Reload Project.

Visual Studio might prompt you to restore Nuget packages. Click yes.
If it doesn't prompt you, right-click the solution in Solution Explorer > Restore Nuget Packages.

Protector one
  • 6,926
  • 5
  • 62
  • 86