Open aalmada opened 4 years ago
Trying to use it with the .Net 4.7.2 application and also get the OutOfMemory exception:
My config is super simple:
{
"General": {
"InputAssemblies": [
"IdentityModel.dll"
]
}
}
It happens during the first compilation, when the output folder is empty. When I build my project for the second time - this exception doesn't occur anymore. But it seems the assembly didn't get merged
I did the same :)
FYI The issue is the DebugType which defaults to portable for new SDK-style projects. Setting
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
Fixes it for me
Same errore here. I have a 4.5.2 project that works but on 4.7.2 it crashes, event with my project setted with DebugSymbols and DebugType as said @pinkfloydx33
I'm using VS 2019, with .NET Core SDK 3.1.100-preview3 installed and a
csproj
file with the following:The
ILMergeConfig.json
file constains the following:I get the following log:
Removing the
Advanced
section results in the same error.The project can be found at https://bitbucket.org/aalmada/bonsai/src/netcoreapp3.0/Bonsai/