commandlineparser / commandlineparser/commandline

Building in .NET Framework 4

Offen
#815 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
C#
Sterne
4.8k
Forks
478
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

It's great that this library supports .NET Framework 4 – that's what makes it superior to System.CommandLine for our use case. However, we've only managed to use the pre-built DLL. When trying to build the project from master with our MSBuild version, it builds nothing and emits this warning:
```
warning MSB4078: The project file "src\CommandLine\CommandLine.csproj" is not supported by MSBuild and cannot be built.
```
Apparently the format of the .csproj file, with ``, is only supported from MSBuild version 15.0 onwards, while the .NET Framework 4 MSBuild version (4.8 in our case) only supports .csproj files with ``.

Has anyone had success building this library under .NET Framework version 4?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.