-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
I'm using VS 2019, with .NET Core SDK 3.1.100-preview3 installed and a csproj file with the following:
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">
<PropertyGroup>
<TargetFrameworks>net472</TargetFrameworks>
<OutputType>exe</OutputType>
<UseWindowsForms>true</UseWindowsForms>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="ilmerge" Version="3.0.29" />
<PackageReference Include="ILMerge.MSBuild.Task" Version="1.0.7" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Bonsai.Configuration\Bonsai.Configuration.csproj" />
<ProjectReference Include="..\Bonsai.Design\Bonsai.Design.csproj" />
<ProjectReference Include="..\Bonsai.Editor\Bonsai.Editor.csproj" />
<ProjectReference Include="..\Bonsai.NuGet\Bonsai.NuGet.csproj" />
</ItemGroup>
</Project>The ILMergeConfig.json file constains the following:
{
"General": {
"InputAssemblies": [
"NuGet.Core.dll",
"Bonsai.NuGet.dll",
"Bonsai.Configuration.dll"
]
},
"Advanced": {
"ExcludeFile": "ilmerge.internalize.exclude.txt",
"Internalize": true
}
}I get the following log:
6>C:\Users\antao\.nuget\packages\ilmerge.msbuild.task\1.0.7\build\ILMerge.MSBuild.Task.targets(13,5): error : ILMerge.Merge: There were errors reported in Bonsai's metadata.
6>C:\Users\antao\.nuget\packages\ilmerge.msbuild.task\1.0.7\build\ILMerge.MSBuild.Task.targets(13,5): error : Exception of type 'System.OutOfMemoryException' was thrown.
Removing the Advanced section results in the same error.
The project can be found at https://bitbucket.org/aalmada/bonsai/src/netcoreapp3.0/Bonsai/
Genteure, BizzyBob and nZeus
Metadata
Metadata
Assignees
Labels
No labels