Error with PepitaGet.RestorePakackagesTask

Feb 12, 2013 at 1:06 PM
When trying to compile a few of the example projects, like the examplebrowser or the mvvmmanipulator, I get a build error regarding PepitaGet. What do I need to resolve it?

Error 1 The "PepitaGet.RestorePackagesTask" task could not be loaded from the assembly D:\Dropbox\Programming\CSharp\Examples\helixtoolkit_8c0d58aa0295\Source\Examples\ExampleBrowser..\Tools\Pepita\PepitaGet.dll. Could not load file or assembly 'file:///D:\Dropbox\Programming\CSharp\Examples\helixtoolkit_8c0d58aa0295\Source\Examples\Tools\Pepita\PepitaGet.dll' or one of its dependencies. The system cannot find the file specified. 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. D:\Dropbox\Programming\CSharp\Examples\helixtoolkit_8c0d58aa0295\Source\Examples\ExampleBrowser\ExampleBrowser.csproj 674 5 ExampleBrowser
Feb 12, 2013 at 9:06 PM
Did you create a new solution file in a different directory? Then you need to correct the path to ~/Tools/Pepita/PepitaGet.dll in the .csproj files.
When the solution is in the ~/Source/ folder, the correct path is
<UsingTask TaskName="PepitaGet.RestorePackagesTask" AssemblyFile="$(SolutionDir)..\Tools\Pepita\PepitaGet.dll" />