commandlineparser / commandlineparser/commandline

Building in .NET Framework 4

未關閉
#815 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
C#
星號
4.8k
分支
478
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

從 src\CommandLine\CommandLine.csproj 開始,使用回報的 .NET Framework MSBuild 4.8 重現 build,並檢查 MSB4078 警告。比較 project 格式與 MSBuild 版本支援的格式;完成的標準是 library 能夠在 .NET Framework 4 下從 master 建置,而不是只能依賴預先建置的 DLL。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
csharp
領域
build-system
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。