`VerbAttribute` has unnecessary breaking changes between 2.8.0 and 2.9.1
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia individuando il costruttore di VerbAttribute nel progetto C# e riproduci l’aggiornamento segnalato da CommandLineParser 2.8.0 a 2.9.1 senza ricompilare l’eseguibile. Controlla i test esistenti relativi a VerbAttribute o alla compatibilità degli assembly, quindi assicurati che gli assembly compilati con entrambe le versioni possano essere eseguiti con il pacchetto più recente senza l’errore del costruttore segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the bug
VerbAttribute's constructor signature has changed between 2.8.0 and 2.9.1. There is a default value for the new alias parameter, so recompilation of the same source code is possible without error. However, upgrading without rebuilding is not possible.
To Reproduce
Steps to reproduce the behavior:
- Create an exe depending on CommandLineParser 2.8.0 that uses
VerbAttribute - Replace CommandLineParser 2.8.0 with CommandLineParser 2.9.1 in the bin folder
- Execute the exe
- See error
Additional context
When having multiple exes in the same folder, all exes need to be rebuilt and updated simultaneously along with updating CommandLineParser in order to upgrade.
Reintroducing the 2.8.0 VerbAttribute constructor, (and possibly labeling it as obsolete), would allow assemblies built with version 2.8.0 and assemblies built with version 2.9.1 to both work with the new version (possibly requiring binding redirects).
- Lingua principale
- C#
- Stelle
- 4.8k
- Fork
- 478
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di commandlineparser/commandline
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
commandlineparser/commandline#951 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
commandlineparser/commandline#880 · 2 reazioni ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
commandlineparser/commandline#952 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
commandlineparser/commandline#948 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
commandlineparser/commandline#947 ·
Tutte le issue di commandlineparser/commandline
Issue simili
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Apertabug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
-
Type: enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
apache/arrow-adbc#4809 ·
-
type/automation type/tech-debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
microsoft/vscode-azurefunctions#5197 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
microsoft/microsoft-ui-reactor#1274 ·