Azure / Azure/apiops

[BUG] Common project dependency missing

Open
#746 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Description

### 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'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.