Open xavierpena opened 5 years ago
I was having this same issue. Turns out that the variable name within the <WorkingDirectory>
property should be $(TargetFrameworks)
(note the 's' on the end to make 'Framework' plural).
This drove me nuts for 2 hours, I couldn't figure out why I was getting errors about not finding the main assembly when its completed. Thanks @mdavis332
Version: 2.0.13
Error message:
Indeed
(PROJECT-PATH)\bin\Debug\MyProject.dll
does not exist, should be(PROJECT-PATH)\bin\Debug\net461\MyProject.dll
<= it is missing the$(TargetFramework)
part.Nevertheless, the merged dll seems to be built anyway (also indicated by the message
ILRepack: Finished in 00:00:04.7660567
).Task configuration in the
.csproj
file: