Console.exe output file is not correctly predicted for .NET console projects
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- csharp
- Domain
- build-system
Research direction
Reproduce the issue with dotnet new console, run the predictors, then run dotnet build and compare both file lists. Trace the .NET console project prediction path to determine why bin\debug\net8.0\DotnetConsole.exe and obj\debug\net8.0\apphost.exe are absent; done means the predicted output includes the missing generated executables.
Written by the indexing model from the issue text.
Description
The predicted output from a .NET console project is missing the exe file (and potentially the intermediate apphost.exe).
- "dotnet new console"
- Run predictors on the newly created project (see "Predicted output")
- "dotnet build"
- 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
- Dominant language
- C#
- Stars
- 42
- Forks
- 19
- Avg merge
- 5d 23h
- Merged PRs (30d)
- 1
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from microsoft/MSBuildPrediction
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in microsoft/MSBuildPrediction
Similar issues
-
area-System.Numerics.Tensors untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
dotnet/runtime#134691 · 2 comments ·
Maintainers usually reply within 1 day
-
ci-failure-cause test-failure
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
AvaloniaUI/Avalonia#22312 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100