Software⏱️ 4 min read📅 2026-06-11

How to Fix: Modify visual studio gives .net error

Error fixing .NET Framework installation issue in Visual Studio Professional 2017.

Quick Answer: Try reinstalling the .NET Framework and ensure all dependencies are properly installed.

The error 'The dependent package of 'Microsoft.Net.PackageGroup.4.6.Redist, version=15.0.27005.2' cannot be found: Microsoft.Net.4.6.FullRedist.NonThreshold,version=4.6.0.0.' occurs when attempting to modify or uninstall Visual Studio 2017 on a Windows 10 system with the specified .NET Framework version installed.

This issue can be frustrating as it prevents users from modifying or uninstalling Visual Studio 2017, and may cause confusion when trying to install or update .NET Framework versions.

🛑 Root Causes of the Error

  • The primary reason for this error is that there is a conflict between the installed .NET Framework version and the required version for Visual Studio 2017. This can occur when attempting to modify or uninstall Visual Studio 2017, as it tries to update the .NET Framework version to match the version required by the installer.
  • An alternative reason for this error could be that there is a corrupted or incomplete installation of the .NET Framework version, which prevents the dependent package from being found.

🚀 How to Resolve This Issue

Reinstalling .NET Framework and modifying Visual Studio

  1. Step 1: Open the 'Control Panel' on your Windows 10 system and navigate to 'Programs and Features'. Find the '.NET Framework' entry and click 'Uninstall'. This will remove all versions of .NET Framework from your system.
  2. Step 2: Once the uninstallation is complete, restart your system. Then, open the Visual Studio Installer and select the modified version of Visual Studio 2017. Click 'Modify' to begin the installation process.
  3. Step 3: During the installation process, ensure that you select the correct version of .NET Framework required by Visual Studio 2017 (version 4.6 or later).

Uninstalling Visual Studio and reinstalling

  1. Step 1: Open the 'Control Panel' on your Windows 10 system and navigate to 'Programs and Features'. Find the 'Visual Studio Professional 2017 (version 15.7.3)' entry and click 'Uninstall'. This will remove Visual Studio 2017 from your system.
  2. Step 2: Once the uninstallation is complete, restart your system. Then, open the Visual Studio Installer and select the standard installation option. Click 'Modify' to begin the installation process.
  3. Step 3: During the installation process, ensure that you do not select any additional components or upgrades that may conflict with the .NET Framework version.

💡 Conclusion

To resolve this issue, try reinstalling .NET Framework using the method described in Step 1. If that does not work, attempting to uninstall Visual Studio and reinstalling it using Method 2 may also resolve the problem. In either case, ensure that you select the correct version of .NET Framework required by Visual Studio 2017 during the installation process.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions