Cannot read properties of undefined (reading 'fsPath')

Dave Willard 6 Reputation points
2022-10-17T20:07:49.073+00:00

Trying to follow: Create an integration workflow with single-tenant Azure Logic Apps (Standard) in Visual Studio Code

https://learn.microsoft.com/en-us/azure/logic-apps/create-single-tenant-workflows-visual-studio-code?WT.mc_id=Portal-Microsoft_Azure_EMA

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

https://github.com/Azure/logicapps/issues/434

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,996 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Michael Taylor 51,346 Reputation points
    2022-10-17T21:06:29.033+00:00

    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+.


  2. MughundhanRaveendran-MSFT 12,456 Reputation points
    2022-10-18T09:46:03.15+00:00

    @Dave Willard ,

    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