Open kant2002 opened 4 years ago
That looks like .NET SDK issue. You need to find the place that is trying to copy app.exe to bin in the .NET SDK targets and suppress it somehow.
I manage the make it work, but adding following lines:
<SelfContained>false</SelfContained>
<UseAppHost>false</UseAppHost>
And adding
<ItemGroup>
<LinkerArg Include="/subsystem:console /entry:__managed__Main /merge:.modules=.rdata /merge:.pdata=.rdata /DYNAMICBASE:NO /filealign:16 /align:16" />
</ItemGroup>
Questions:
I have 2 projects both of which configured in similar fashion
Runtime
App
This does not work on clean build. and start complaining that could not copy "App.exe" to
bin/
location.I use
DisableImplicitFrameworkReferences
to not have standard libraries attached to my CSC compilation process, since I use custom runtime.I'm not sure is this CoreRT tooling, or regular .NET SDK tooling issue.