Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Use PackageLicenseExpression (MIT) in the NuGet package metadata

Aperta Adatta ai principianti
#3,194 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Inizia da src/Microsoft.Graph/Microsoft.Graph.csproj ed esamina i metadati della licenza NuGet relativi a PackageLicenseFile. Modifica la dichiarazione del pacchetto usando l’espressione SPDX MIT descritta nell’issue, poi compila o crea il pacchetto del progetto e verifica che i metadati NuGet generati riportino MIT.

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

Descrizione

status:waiting-for-triage type:bug
Describe the bug

Hi,

you declare license as a file inside the package:
This comes from LICENSE.txt in src/Microsoft.Graph/Microsoft.Graph.csproj. The README states that the library is licensed under the MIT license, but tools that read NuGet metadata, such as license scanners and dependency update bots, only see the file reference. They report the license as unknown, and we have to check it by hand each time we update the package.

Would you consider declaring the license as an SPDX expression instead?

Thank you for considering this! 😊

Expected behavior

Expected: the NuGet Gallery and tooling show the license as MIT without opening the file.

How to reproduce
SDK Version

No response

Latest version known to work for scenario above?

No response

Known Workarounds

No response

Debug output
Click to expand log ```
</details>


### Configuration

_No response_

### Other information

_No response_
Lingua principale
C#
Stelle
791
Fork
264
Merge medio
58m
PR unite (30g)
3

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoftgraph/msgraph-sdk-dotnet

Tutte le issue di microsoftgraph/msgraph-sdk-dotnet

Issue simili

Altre issue su C#

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.