0

After publishing my .net core 2.0 console application...

dotnet publish src\myapp.console --output C:\publish\console --configuration Release

I try executing in this in the published folder

dotnet myapp.console

but I get the error

No executable found matching command "dotnet-myapp.console"

1 Answer 1

1

The trick is to include the full file name with .dll

ie: dotnet myapp.console.dll

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.