[BUG] Common project dependency missing
- Vorherrschende Sprache
- C#
- Sterne
- 448
- Forks
- 247
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### 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'
Beitragsleitfaden
Rechercherichtung
Beginne mit tools/code/common/common.csproj und tools/code/common/Functional.cs, um zu bestätigen, dass die fehlende MoreLinq-Referenz vorliegt. Führe den dokumentierten DotNetCoreCLI-Build für alle .csproj-Dateien aus; abgeschlossen ist die Aufgabe, wenn das Common-Projekt und der vollständige Build ohne den Fehler CS0246 erfolgreich abgeschlossen werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- build-system, ci-cd
- Issue-Typ
- Bug
- Schwierigkeit
- 1/5
- Geschätzter Aufwand
- Unter einer Stunde
- Aktivitätsstatus
- Veraltet
- Klarheit
- Klar beschrieben
- Anfängerfreundlichkeit
- 35/100