# Running a .NET Core application in a machine with no Visual Studio installed

When you want to run a .NET Core application in a different machine where it was created you will need to install the Runtime to be able to execute it, but in some cases when you migrate an application using the VB6 AI Migrator tool and you try to execute it in a different machine you can get an error like the next one.

![.NET Core error message](/files/-Ma4-d-yQ_tqjXPDX467)

To fix the previous error, you need to click on the "yes" option on the displayed message or you can open the next [link](https://dotnet.microsoft.com/download/dotnet-core/?utm_source=getdotnetcore\&utm_medium=referral). There you will see different .NET Core versions to install.

![.NET Core versions](/files/-Ma4-reMG8aGl_72bFLT)

The VB6 AI Migrator tool is able to migrate to .NET Core 3.1, for that reason, you need to choose the same version to download and install the Runtimes.

{% hint style="info" %}
It is not necessary to install the SDKs to run .NET Core applications.
{% endhint %}

![Necessary options to run .NET Core applications](/files/-Ma4063VgqhpbQ5Sk8QR)

Once there, you need to choose and download the appropriate version depending on your OS, in the case of Windows, you need to install both (x86 and x64) when you have finished installing the necessary runtimes, you can execute your application again. This problem is commonly related to the platform target used by Visual Studio to compiles a project.

![Platform target to build the project](/files/-Ma40KSgja6-FVga-6Tu)

**Note:** You can check the .NET Core SDKs and Runtimes installed using the command prompt. Once you have opened the command prompt you can use **dotnet --info** command and a list with the SDK and Runtime versions will be displayed. To run the applications you only need to install the Runtimes.

![SDK and runtime versions installed](/files/-Ma40R2bU51XAWe8Hk8s)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/vbuc/issues-troubleshooting/running-a-.net-core-application-in-a-machine-with-no-visual-studio-installed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
