Debug App First, build the app: dotnet build Then set an Alias so that you can test the command in a much easier way: Set-Alias trackt ".\bin\Debug\net8.0\TrackTime.exe"