apiops icon indicating copy to clipboard operation
apiops copied to clipboard

[BUG] Common project dependency missing

Open UmairSyed opened this issue 9 months ago • 1 comments

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'

UmairSyed avatar Apr 08 '25 03:04 UmairSyed

  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.

github-actions[bot] avatar Apr 08 '25 03:04 github-actions[bot]