spark icon indicating copy to clipboard operation
spark copied to clipboard

Issue in Create your app

Open harishukla93 opened this issue 3 years ago • 3 comments

Problem encountered on https://dotnet.microsoft.com/learn/data/spark-tutorial/create Operating System: linux

I have followed the tutorial step by step, while running below command: dotnet new console -f netcoreapp3.1 -o mySparkApp

I got stuck in this issue

Couldn't find an installed template that matches the input, searching online for one that does... Error: Invalid parameter(s): -f netcoreapp3.1 'netcoreapp3.1' is not a valid value for -f (Framework).

harishukla93 avatar Apr 06 '21 09:04 harishukla93

Got the issue. Following the documentation, I have a downloaded version .Net 5.0 and the default value for the console is net5.0

harishukla93 avatar Apr 06 '21 13:04 harishukla93

@harishukla93 Can you install .NET 3.1 instead and try again ?

suhsteve avatar Apr 06 '21 17:04 suhsteve

@suhsteve I was looking for the latest LTS, so I am OK with .NET 5.0. It worked for me with few changes. Feel free to let me know if I need to provide changes I did or contribute to the documentation.

harishukla93 avatar Apr 07 '21 08:04 harishukla93