Error when building

Jan 22, 2013 at 8:26 PM

I'm on Windows 7 (X64):

 

The error is: The "ILMerge.MSBuild.Tasks.ILMerge" task could not be loaded from the assembly... (some more filler error message)...Confirm that the <UsingTask> declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.

 

Any ideas on solving this? I want to debug this program but I cannot build it.

Jan 23, 2013 at 12:04 AM

Hi Mike,

Try to update nugget packages for whole solution, if this will not help you - just comment this "usingtask" in project file.

Feb 23, 2013 at 7:43 PM
btw, I recently checked in all packages in source, because my project depends on MsBuild task, which is part of NuGet package, and because when you download NuGet package - VS does not reload Project - you still see this build problem. Relaunching VS fixes this, but it seems to me that will be easy just to keep all packages in repository.