azurevisual-studio-codeazure-stream-analytics

Problem while using VS Code Plugin for Azure Stream Analytics


I'm following this tutorial to run a Azure Streaming Analytics Job with the VS Code Plugin. As the prerequisite section states, I have installed the latest .Net version (which is 9.0) from the official site.

I can create an ASA project, add inputs, and set up the job, but when I try to run the query, I get the following error:

[2025/03/13 06:48:06 PM] [Error] No valid .NET Core version found, please install .NET Core 3.1 or .NET 6.0 from https://dotnet.microsoft.com/download

I tried installing the specific versions, but the Official Site doesn't list those anymore. I'm trying this on a MacBook Pro (Intel).

Any help on this is greatly appreciated.


Solution

  • The error means the plugin needs .NET Core 3.1 or .NET 6.0, but these versions are no longer available on the main .NET download page.

    After installing, run this command in your terminal to check the .NET Version:

    dotnet --version
    

    If the version is not correct, update the PATH settings or use tools like asdf or brew to manage different .NET versions.

    Check that the system uses the correct version by running: bash dotnet --version If it doesn't show the required version, you may need to update the PATH or use a version manager like asdf or brew.

    Please refer this SO link for supporting version for Azure Stream Analytics with dotnet.