Fix: To run this application, you must install .NET Core

When running an application on Windows, you will often come across an error. This error prevents you from accessing the application and in turn, you receive the “To run this application, you must install .NET Core” message. This error occurs due to corruption in the system files. This prevents the application from properly communicating with the .NET Core.

Application fails to run on Windows (you must install .NET Core)
Application fails to run on Windows (you must install .NET Core) Fix

In this guide, we will be showing you the methods to run the application facing the .NET Core error.

Prerequisites: Check your device specifications

The majority of the time, you will receive the .NET Core error when your system does not meet the required specifications to launch the targeted application. Therefore, you must check your system type prior to launching the application. Below are the instructions for viewing your device specifications:

Disclaimer: If your system does not meet the required System type, then it will face the .NET error when launching the application.
  1. Open the Windows settings by pressing the Win + I keys together.
  2. Navigate to System > About.
  3. Check your System Type under “Device Specification.” (64-bit Operating System here).
     
    Checking system type
    Checking system type

Workaround: Restart your computer

Before performing any other method that requires you to change your system settings, you must make sure that you have restarted your system. Performing a simple system restart will boot the system properly with all the applications in working a stable working condition. 

  1. Open the Windows start menu by pressing the Win key.
  2. Click on the Power option and select “Restart” to restart your computer.
    Restarting the computer
    Restarting the computer
  3. After the system has been restarted, launch the application.

1. Enable the .NET Framework feature

Although both .NET Core and .NET Framework are different features that co-exist in Windows, it is still known that a disabled .NET Framework causes the .NET Core error to occur. Therefore, you must make sure that your Windows does not have the feature disabled. Below are the instructions for enabling the .NET Framework feature:

  1.  Open the run command by pressing the Win + R keys together.
  2. Type “control panel” and click OK to open the Control Panel. 
    Opening the Control Panel
    Opening the Control Panel
  3. View the icons in a large font by clicking on the “View by” option and select “Large icons.”
    Viewing Large Icons
    Viewing Large Icons
  4. Now, navigate to Programs and features > Turn Windows features on and off.
  5. On the Windows features page, check both the “Framework” features.
  6. Confirm that action by clicking on the OK option. 
    Enabling the .Net Framework features
    Enabling the .NET Framework features

2. Run the System Scans

Corrupted system files can prevent the application from recognizing the .NET Core. Therefore, to ensure your system files are not corrupted, you must perform a system scans that repairs all the damaged files on the system through a simple scan. Run the system scans as follows:

  1. Open the Windows Start Menu by pressing the Win key.
  2. Type “cmd” in the Windows Search bar.
  3. Right-click on the app and click on “Run as an administrator” to access the application with administrative control.
    Running the Command Prompt as an administrator
    Running the Command Prompt as an administrator
  4. Run the system file checker by typing the following command in the Command Prompt while giving a space between “sfc” and “/.”
    sfc /scannow
    Running system file checker on the command prompt.
    Running system file checker on the command prompt.
  5. After the scanning is completed, the system file checker automatically repairs the damaged files. 
Note: After the system file checker has scanned and repaired the files, you must also perform the DISM Command. Follow the steps below to run the DISM Command: 
  1.  Paste the following command into the command prompt and run the DISM Command.
    Dism.exe /online /cleanup-image /restorehealth
    Running DISM Command on the Command Prompt
    Running DISM Command on the Command Prompt
  2. Restart your system after the process is completed to make the necessary changes.

3. Perform a manual installation

If the .NET Core file is either missing from your system or has been corrupted. Performing a manual installation will fix the error. Below we have listed the steps to manually install the .NET Core.

  1. Go to the Official Microsoft .NET Website page. 
  2. Download the latest version of .NET by clicking on the .NET SDK option. (As per your system type)
    Downloading .Net SDK
    Downloading .NET SDK
  3. Select the folder where you want to download the file.
    Saving the application in the  folder
    Saving the application in the  folder
  4. Click on the three dots on the browser and open the Downloads page.
    Opening the Downloads tab
    Opening the Downloads tab
  5. Open the file location by clicking “Show in folder”

    Opening the file in the folder
    Opening the file in the folder
  6. Right-click on the downloaded file and select the “Open” option.
    Opening the file
    Opening the file
  7. Run the file installation by clicking on the “Run” option.
    Running the setup
    Running the setup
  8. Install the .NET SDK by clicking on the “Install” option. 
    Installing .Net SDK
    Installing .NET SDK
    Note: This will require administrative control. Therefore, select YES on the User Account Control prompt.
  9. After the Installation is completed, you can open the application without facing the error.

4. Perform a Clean Boot

As a last resort, you can perform a Clean Boot on your system. This is a feature that starts up your system with minimal windows services and the default programs needed to start the system. Simply start the system in a  clean boot state. Once the system has started in clean boot, check if the application is still facing the error. If not, enable each process manually and find the one causing the error to occur, and uninstall it in normal mode.

ABOUT THE AUTHOR

Kevin Arrows


Kevin Arrows is a highly experienced and knowledgeable technology specialist with over a decade of industry experience. He holds a Microsoft Certified Technology Specialist (MCTS) certification and has a deep passion for staying up-to-date on the latest tech developments. Kevin has written extensively on a wide range of tech-related topics, showcasing his expertise and knowledge in areas such as software development, cybersecurity, and cloud computing. His contributions to the tech field have been widely recognized and respected by his peers, and he is highly regarded for his ability to explain complex technical concepts in a clear and concise manner.