I am getting following error in visual studio code while running brand new Azure function project created newly.
It's roughly about .NET Core Sdk and all other errors seems to be relate with that. Can somebody help me to get rid from them.
I already tested all other links but my problem is not related with the any of the described issues.

CSProjFile
CodePudding user response:
As I have .Net SDK 6.0.100 along with 6.0.101 as you can see below:

And Created the Azure Functions of Stack .Net 6.0 Http Trigger Function through Visual Studio Code, it is running successfully.

Here is my .csproj file:

As I believe that you're missing the SDK Package Reference in the ItemGroup of your .csproj file:
<PackageReference Include="Microsoft.NET.Sdk.Functions" Version="4.0.1" />
Include it in the .csproj file and check running the function.




