Visual Studio Code

Wisej.NET is a powerful web framework for building real-time web applications using .NET. While Visual Studio is the primary IDE for Wisej.NET development, you can also integrate and develop Wisej.NET applications in Visual Studio Code.

The Wisej.NET Designer is not supported in Visual Studio Code.

Prerequisites

Before integrating Wisej.NET with Visual Studio Code, ensure you have the following installed:

Setting Up Wisej.NET in Visual Studio Code

1. Open the Wisej.NET Project

  1. Launch Visual Studio Code.

  2. Click on FileOpen Folder and select your Wisej.NET project directory.

  3. Wait for Visual Studio Code to load the project dependencies.

2. Configure Build and Debugging

  1. Navigate to the Run and Debug tab (Ctrl+Shift+D).

  2. Click C# Project as the Run and Debug target.

  3. The necessary configuration files (launch.json and tasks.json) will be generated automatically.

3. Run the Wisej.NET Application

  1. Open the Run and Debug tab.

  2. Select the generated C# Project configuration.

  3. Click Start Debugging (F5).

  4. The application will start, and you can access it via the local development server.

Troubleshooting

  • Ensure that the correct .NET SDK version is installed and matches your project's requirements.

  • If dependencies fail to load, run dotnet restore in the terminal.

  • If debugging does not start, check the launch.json file and verify that the correct target framework is specified.

Last updated

Was this helpful?