Closed ASPushkin80lvl closed 1 year ago
If you build with /m:1 I guess there will be no out of proc nodes and you may get a stack in the console.
@danmoseley
It says Process is terminated due to StackOverflow
ILRepacker:
Added assembly 'D:\Sample\bin\Debug\netstandard20\Sample.dll'
Added assembly 'C:\Users\aleksandrs.jakovlevs\.nuget\packages\autofac\4.6.2\lib\netstandard1.1\Autofac.dll'
Merging 2 assembies to 'D:\Sample\bin\Debug\netstandard20\Sample.dll'
INFO: IL Repack - Version 2.0.18
INFO: ------------- IL Repack Arguments -------------
/out:D:\Sample\bin\Debug\netstandard20\Sample.dll D:\Sample\bin\Debug\netstandard20\Sample.dll C:\Users\aleksandrs.jakovlevs\.nuget\packages\autofac\4.6.2\lib\netstandard1.1\Autofac.dll
-----------------------------------------------
INFO: Adding assembly for merge: D:\Sample\bin\Debug\netstandard20\Sample.dll
INFO: Adding assembly for merge: C:\Users\aleksandrs.jakovlevs\.nuget\packages\autofac\4.6.2\lib\netstandard1.1\Autofac.dll
Process is terminated due to StackOverflowException.
Team triage: this seems like a bug in ILRepacker task itself rather than in msbuild. Could you open this issue in their repository instead? It is https://github.com/ravibpatel/ILRepack.Lib.MSBuild.Task. We are closing this bug. If we are wrong and it is somehow caused by MSBuild/dotnet code, please feel free to reopen it again.
Issue Description
I have a project with two files - Sample.csproj and ILRepack.targets. The ILRepack step fails with the error message shown in the issue title
Steps to Reproduce
I have a project with two files - Sample.csproj and ILRepack.targets.
Sample.cspoj:
ILRepack.targets:
I am building this project in Visual Studio and get the following error:
Actual Behavior
No file appears in the folder mentioned in the error message. If I remove reference to
Microsoft.NETCore.Portable.Compatibility
from csproj file or setCopyLocalLockFileAssemblies
to false or removeLibraryPath="$(OutputPath)"
from ILRepack.targets file, the build succeeds.Analysis
No response
Versions & Configurations
MSBuild version - 17.5.1.16304 Visual Studio version - Professional 2022 17.5.3