.exe
file for OutputType=Exe should not be flow with ProjectReference
#11131
Labels
untriaged
Request triage from a team member
Uh oh!
There was an error while loading. Please reload this page.
Issue Title
.exe
file for project withOutputType=Exe
should not be flow with ProjectReferenceReproduce Step
netcoreapp3.1 or 5.0preview is needed
dotnet new console -n c1
dotnet new console -n c2
dotnet add c1 reference c2
dotnet build c1
Expected
c2.exe
should not be included in the output ofc1
, onlyc2.dll
is needed.Or
c2.deps.json
(and maybe alsoc2.runtimeconfig.json
) should be included to makec2.exe
really executable.Actual
c2.exe
is included. But it can not be executed without anc2.deps.json
and is useless(assembly reference only need the dll files, I didn't see any usage for the.exe
file)The text was updated successfully, but these errors were encountered: