When I try to use BackgroundAgent, I get the following error message when I open the Background Applications screen in the system settings.
The System.IO.FileNotFoundException error was unhandled. Message = File or assembly name '\ Applications \ Install \ EC78F0AC-625D-482E-9ADD-D48D58BE633A \ Install \ MyAgent.dll', or one of its dependencies was not found. Stack traces: in System.ThrowHelper.throwVersion37CompatException (ExceptionType newEType, String newString, ExceptionType oldEType, String oldString) in System.Reflection.Assembly.LoadFrom (String assemblyFile) in Microsoft.Phone.BackgroundAgentActivator.LoadEntryPoint Assembly .BackgroundAgentActivator.LoadAgent (String assemblyName, String typeName) on Microsoft.Phone.BackgroundAgentActivator.Microsoft.Phone.IBackgroundAgentActivator.CreateBackgroundAgent (String assembly, typeinfo string) on ββMicrosoft.Phone.BackgroundAgentDispatcher.AgentRehone.Background.AgentRehone.Background.AgentRehone.Background. .InvocationThread () in System.Threading.ThreadHelper.ThreadStartHelper (ThreadHelper t) in System.Threading.ThreadHelper.ThreadStart_Context (object state) in System.Threading.ExecutionContext.Run (ExecutionContext executeContext, of inverse challenge ContextCallback, object state) in System.Threading.ThreadHelper.ThreadStartHelper ()
I used this tutorial: http://rodrigueh.com/wp7-live-tiles-with-background-agents .
The given sample works, but when I try to implement it, it does not. Unfortunately, I can not find anything on the Internet.
Any ideas what is going on?
Regards, Niels
source share