go to vscode extensions > Azure Logic Apps (Standard)> Settings> scroll down to path Azure Logic Apps Standard: Dotnet Binary PathSet path for your dot net sdk example "C:\Program Files (x86)\Microsoft.NET\dotnet.exe"
But not sure how to provide path with spaces , i tried putting in double quotes it does not work.