microsoft / microsoft/MSBuildPrediction
Console.exe output file is not correctly predicted for .NET console projects
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 42
- Forks
- 19
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 4
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
Contributor guide
No contributing guide indexed for this repository
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.
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.
Assessment
- Tech stack
- csharp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100