Skip to content

M07-LAB07: wrong way to pass build configuration to DotNetCoreCLI@2 task #62

@philippesollaud

Description

@philippesollaud

Contact Details

philippe.sollaud@gmail.com

What happened?

Lab/Demo: 07
Exercise : 01
Task: 03
Step: 10

Description of issue:
Instructions tells that we should add a "configuration" parameter to the DotNetCoreCLI@2 task with the build command.
But DotNetCoreCLI@2 does not have "configuration" input available.

we should have instead:

- task: DotNetCoreCLI@2
  displayName: Build
  inputs:
    command: build
    projects: '**/*.csproj'
    arguments: '--configuration $(buildConfiguration)'

Relevant screenshots

paste here 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions