I am having an issue with publishing a Webjob with a schedule from VS 2013. I can publish an "on demand" job no problems but I want it with a schedule.
Here is the error I am getting below..
It looks like it cannot find the Microsoft.Web.WebJobs.Publish.Tasks.CreateScheduledWebJob when publishing.
I have done everything to try sort it even updated VS2013 to version 3, added the Nuget Packages, Azure SDK, the publishing SDK, the Azure Scheduler Management Library, the Azure Service Management Library & the Azure Common Library.
I have created new WebJob projects using different methods,
- Right click solution -> add new project -> Cloud -> Microsoft Azure WebJob
- Right click solution -> add new project -> Windows Desktop -> Console Application
- Right click Website -> Add -> New Azure Webjob Project
C:\Development\dependencies\Microsoft.Web.WebJobs.Publish.1.0.0\tools\webjobs.console.targets(80,5): Error MSB4061: The "Microsoft.Web.WebJobs.Publish.Tasks.CreateScheduledWebJob" task could not be instantiated from "C:\Users\Tony\AppData\Local\assembly\dl3\XDNO1P6L.QON\HEVOMEZ0.AYO\587c592f\a99a921c_5eeacf01\Microsoft.Web.WebJobs.Publish.Tasks.dll".
System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.WindowsAzure.Management.Scheduler, Version=1.0.0.0,Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.WindowsAzure.Management.Scheduler, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) at System.Reflection.RuntimeAssembly.GetExportedTypes() at Microsoft.Build.Shared.TypeLoader.AssemblyInfoToLoadedTypes.ScanAssemblyForPublicTypes() at Microsoft.Build.Shared.TypeLoader.AssemblyInfoToLoadedTypes.GetLoadedTypeByTypeName(String typeName) at Microsoft.Build.Shared.TypeLoader.GetLoadedType(Object cacheLock, Object loadInfoToTypeLock, ConcurrentDictionary2 cache, String typeName, AssemblyLoadInfo assembly) at Microsoft.Build.CommandLine.OutOfProcTaskAppDomainWrapperBase.ExecuteTask(IBuildEngine oopTaskHostNode, String taskName, String taskLocation, String taskFile, Int32 taskLine, Int32 taskColumn, AppDomainSetup appDomainSetup, IDictionary2 taskParams)