0

Error with PepitaGet.RestorePakackagesTask

Anonymous 10 years ago 0
This discussion was imported from CodePlex

GreenGiant83 wrote at 2013-02-12 14:06:

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

objo wrote at 2013-02-12 22:06:

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" />