If your *.csproj file is not placed in the folder where you're running the dotnet build
command, you're likely to face this error. You can navigate to your project folder by using the cd
command, e.g., (assuming you're in your root directory where your solution file is located) run the following commands in order: cd CSharpBiggener.Game
, dotnet build
.