Home ILRepack doesn't work in multi-project solution with libraries in cascade
 I'm trying to make a project where is needed a reference that has merged libraries into it. There isn't problem until we try to embed it into a multi-project solution. As you can see: We have 3 solutions: Lerp2Web, LiteLerped-WF-API and HugeLauncher (that has 3 projects) In the first solution: There we have HtmlAgilityPack and JSON.NET that works perfectly. In the next solution we have: A reference to the last assembly I showed. There we can see that everything works perfectly: As you can see, the namespace is from the second solution. And all the using are active and none of them has red marks. This are the namespaces from the second assembly: This is the first project of the third solution: As you can see in the image below, we have imported the LiteLerped assembly, and you will see this is working: And there you can see the three projects I mean: There you can see how I installed ILRepack (& MSBuild.Task): I builded the project: And this two files are generated: (Watch the path of the DLL and PDB file) See that I have embed this DLLs into my problematic project. (You can see what I'm talking about, the path is correct) And I have tried this two ways: And well... As you can see something weird is happening here: Lots of 1061 errors appear. Well, I have to tell the last thing, and is that I have to modify the .targets file from the ILRepack.Lib.MSBuild.Tasks:  This extensions was .exe --> /> \$([System.IO.Directory]::GetFiles("%(Directories.Identity)", "*", System.IO.SearchOption.AllDirectories).get_Length())  I have commented what was by default... My problem here is that I don't know how to modify this, because, I need that the first and second project from my solutions output a DLL file (because those projects are library ones), but the third project is a Winforms project and I need to output a exe file, so Idk what I have to write. Thanks!