The default .NET Core tasks in Azure DevOps will not let you run a compiled assembly. Read this post on how to still run them.

Read more »