You need the .NET SDK, not the .NET runtime (which is included in the SDK). Try dotnet --list-sdks
. This dumps the SDKs that are installed. Specifically you need .NET SDK 6.0+.
Cannot read properties of undefined (reading 'fsPath')
Trying to follow: Create an integration workflow with single-tenant Azure Logic Apps (Standard) in Visual Studio Code
Hitting: You must have the .NET Core SDK installed to perform this operation. See here for supported versions.
You must have the .NET Core SDK installed to perform this operation. See here for supported versions.
&
Cannot read properties of undefined (reading 'fsPath')
Installed multiple versions on dotnet????
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\xxxxxxx> dotnet --version
6.0.402
PS C:\Users\xxxxxxxx>
* History restored
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\Users\xxxxxxxx> dotnet --version
7.0.100-rc.2.22477.23
PS C:\Users\azuredev>
Any advice?
Found: Logic Apps Standard Project runtime doesn't support functions runtime v4 #434
2 answers
Sort by: Most helpful
-
Michael Taylor 56,271 Reputation points
2022-10-17T21:06:29.033+00:00 -
MughundhanRaveendran-MSFT 12,481 Reputation points
2022-10-18T09:46:03.15+00:00 Thanks for reaching out to Q&A forum.
You will have to install the .net core SDK 6 along with .net core SDK 3.1. The logic app extension would look for both versions. Once you have installed both versions, the error should not appear again.
.Net core SDK 6 : https://dotnet.microsoft.com/en-us/download/dotnet/6.0
.Net core SDK 3.1 : https://dotnet.microsoft.com/en-us/download/dotnet/3.1