Trying to update to latest nuget packages (4.5.12)
Following statement is in the ServiceStack.Gap.targets file:
<UsingTask TaskName="ServiceStack.Razor.BuildTask.RazorGeneratorBuildTask" AssemblyFile="../tools/ServiceStack.Razor.BuildTask.dll" />
The ServiceStack.Razor.BuildTask.dll is not in the tools folder and build is failing. with:
Error The "ServiceStack.Razor.BuildTask.RazorGeneratorBuildTask" task could not be loaded from the assembly [MY-SOLUTON-PATH]\packages\ServiceStack.Gap.4.5.12\build\../tools/ServiceStack.Razor.BuildTask.dll. Could not load file or assembly 'file:///[MY-SOLUTON-PATH]\packages\ServiceStack.Gap.4.5.12\tools\ServiceStack.Razor.BuildTask.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
.
If I deleted the whole package folder and get it to restore the error remains.
I am targeting .NET 4.6.1 from all my projects.