Azure / Azure/apiops

[BUG] Common project dependency missing

Aperta
#746 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
448
Fork
247
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da tools/code/common/common.csproj e tools/code/common/Functional.cs per confermare la mancanza del riferimento a MoreLinq. Esegui la build documentata di DotNetCoreCLI su tutti i file .csproj; il lavoro è completato quando il progetto Common e la build completa terminano senza l’errore CS0246.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
csharp
Ambito
build-system, ci-cd
Tipo di issue
Bug
Difficoltà
1/5
Tempo stimato
Meno di un'ora
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.