commandlineparser / commandlineparser/commandline

Building in .NET Framework 4

Đang mở
#815 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C#
Star
4.8k
Fork
478
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu với src\CommandLine\CommandLine.csproj và tái hiện build bằng .NET Framework MSBuild 4.8 được báo cáo, kiểm tra cảnh báo MSB4078. So sánh định dạng project với định dạng được phiên bản MSBuild hỗ trợ; được xem là hoàn tất khi library build được từ master trên .NET Framework 4 thay vì chỉ yêu cầu DLL dựng sẵn.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
csharp
Lĩnh vực
build-system
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.