Skip to content

[BUG] Common project dependency missing #746

@UmairSyed

Description

@UmairSyed

Release version

6.0.14

Describe the bug

The csproj file of the Common project does not have a reference to the MoreLinq nuget package and the build is failing because of that.
Error from DevOps build step:
/home/vsts/work/1/s/tools/code/common/Functional.cs(1,7): error CS0246: The type or namespace name 'MoreLinq' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/tools/code/common/common.csproj]
This is applicable only when we need to import the code, compile it and then generate the exe.

Expected behavior

The build step should finish successfully.

Actual behavior

Error from DevOps build step:
/home/vsts/work/1/s/tools/code/common/Functional.cs(1,7): error CS0246: The type or namespace name 'MoreLinq' could not be found (are you missing a using directive or an assembly reference?) [/home/vsts/work/1/s/tools/code/common/common.csproj]
The build step fails.

Reproduction Steps

Add the following step in the pipeline to build the solution
- task: DotNetCoreCLI@2
displayName: 'dotnet build'
inputs:
command: 'build'
projects: '**/*.csproj'
arguments: '-verbosity:diag'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions