ravibpatel / ILRepack.Lib.MSBuild.Task

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

did ILRepack surport vs2019 + .net framework 4.7.2? #28

Closed magellan-99 closed 2 months ago

magellan-99 commented 3 years ago

i nuget ILRepack 2.0.18.2 into my winform program with vs2019, rebuild the exe but nothing happend, all the dll files still in my debug filefolder. can somebody tell me why?

ravibpatel commented 3 years ago

Can you post your csproj file?

ravibpatel commented 3 years ago

Can you give me a link to file it will be more readable?

I tried with both new and old csproj format it works fine with both.

magellan-99 commented 3 years ago

ftp://root:root@125.95.161.184:2121

ravibpatel commented 3 years ago

It is integrated correctly. I don't see a reason why it shouldn't work. Did you try running the executable without dlls? It may happen that it merges the dlls but not removing them.

magellan-99 commented 3 years ago

I running executable and try to deleting dlls. System tell me 'EntityFramework.dll',‘EntityFramework.SqlServer.dll’,cant to be remove.

rob-ack commented 3 years ago

The reason is probalby that this project does not support skd style targets? This means probalby all versions above net framework (net core, net5 and so on) will not work. I rewrote the project to support sdk style but left out some stuff to get my target running asap. You can have a look at my fork.