ravibpatel / ILRepack.Lib.MSBuild.Task

MSBuild task for ILRepack which is an open-source alternative to ILMerge.
Other
107 stars 30 forks source link

ILRepack is not working for desktop framework #20

Open gusarov opened 4 years ago

gusarov commented 4 years ago

I have several entry points, one of them is .Net Framework 4.8 console application. Libraries are standard 2.0 ILRepack here is not working after installation. If I manually include ILRepack.target to the project iports, it executes but produces bad file. Exe is no longer executable, it throws 'Access Denied' and 'Can't run on your pc'. (of course app is working before ILRepack)

ravibpatel commented 4 years ago

Can you try outputting the log file using the LogFile option in your targets file? By inspecting the log file I will able to get more insight on how it is merging the libs.