Cannot run under linux
Environment
- Linux (ubuntu 20.04), latest dotnet SDK (3.1.300)
- I can successfully run (server or client) projects created via
dotnet new ...
Repro
- I cloned the repo
- I want to run the first tutorial: "Components and layout"
I tried:
$ cd src
$ dotnet run --project BlazingPizza.Client
and:
$ cd save-points/01-Components-and-layout
$ dotnet run --project BlazingPizza.Client
and:
$ cd save-points/01-Components-and-layout/BlazingPizza.Client
$ dotnet run
Error
In all cases:
Unable to run your project. Ensure you have a runnable project type and ensure 'dotnet run' supports this project. A runnable project should target a runnable TFM (for instance, netcoreapp2.0) and have OutputType 'Exe'. The current OutputType is 'Exe'.
Tutorial/docs say to run the Server project as startup project, not the Client.
The client project doesn't seem to have a startup.cs, so not sure whether you'll be able to run this.
FYI I'm running the server project under Linux with no problems but ironically can't run on windows
@matt-goldman how are you running the Server project on windows ? Are you using VS or VS Code ? What steps are you doing ?