Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Console.exe output file is not correctly predicted for .NET console projects

Đang mở
#133 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

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

Hướng nghiên cứu

Tái hiện vấn đề với dotnet new console, chạy các bộ dự đoán, sau đó chạy dotnet build và so sánh cả hai danh sách tệp. Theo dõi đường dẫn dự đoán của dự án console .NET để xác định lý do bin\\debug\\net8.0\\DotnetConsole.exe và obj\\debug\\net8.0\\apphost.exe không xuất hiện; hoàn tất khi đầu ra được dự đoán bao gồm các tệp thực thi được tạo còn thiếu.

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

Mô tả

The predicted output from a .NET console project is missing the exe file (and potentially the intermediate apphost.exe).

  1. "dotnet new console"
  2. Run predictors on the newly created project (see "Predicted output")
  3. "dotnet build"
  4. Compare actual output to predicted output

Files after build:

bin\debug\net8.0\DotnetConsole.deps.json
bin\debug\net8.0\DotnetConsole.dll
bin\debug\net8.0\DotnetConsole.exe
bin\debug\net8.0\DotnetConsole.pdb
bin\debug\net8.0\DotnetConsole.runtimeconfig.json
obj\debug\net8.0.NETCoreApp,Version=v8.0.AssemblyAttributes.cs
obj\debug\net8.0\apphost.exe
obj\debug\net8.0\DotnetConsole.AssemblyInfo.cs
obj\debug\net8.0\DotnetConsole.AssemblyInfoInputs.cache
obj\debug\net8.0\DotnetConsole.assets.cache
obj\debug\net8.0\DotnetConsole.csproj.CoreCompileInputs.cache
obj\debug\net8.0\DotnetConsole.csproj.FileListAbsolute.txt
obj\debug\net8.0\DotnetConsole.dll
obj\debug\net8.0\DotnetConsole.GeneratedMSBuildEditorConfig.editorconfig
obj\debug\net8.0\DotnetConsole.genruntimeconfig.cache
obj\debug\net8.0\DotnetConsole.pdb
obj\debug\net8.0\ref\DotnetConsole.dll
obj\debug\net8.0\refint\DotnetConsole.dll
obj\dotnetConsole.csproj.nuget.dgspec.json
obj\DotnetConsole.csproj.nuget.g.props
obj\DotnetConsole.csproj.nuget.g.targets
obj\project.assets.json
obj\project.nuget.cache

Predicted output:

bin\debug\net8.0\DotnetConsole.deps.json
bin\debug\net8.0\DotnetConsole.dll
bin\debug\net8.0\DotnetConsole.pdb
bin\debug\net8.0\DotnetConsole.runtimeconfig.json
bin\debug\net8.0\DotnetConsole.xml
obj\debug\net8.0\DotnetConsole.dll
obj\debug\net8.0\DotnetConsole.pdb
obj\debug\net8.0\DotnetConsole.xml
obj\debug\net8.0\ref\DotnetConsole.dll
obj\debug\net8.0\refint\DotnetConsole.dll
publish\debug\DotnetConsole.deps.json

Potentially missing from predicted output:

bin\debug\net8.0\DotnetConsole.exe
obj\debug\net8.0\apphost.exe

Ngôn ngữ chính
C#
Star
42
Fork
19
Merge trung bình
5 ngày 23 giờ
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của microsoft/MSBuildPrediction

Tất cả issue của microsoft/MSBuildPrediction

Issue tương tự

Thêm issue về C#

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.