System.IO.DirectoryNotFoundException wurde nicht behandelt.
  Message=Ein Teil des Pfades "C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\bin\Debug\ToDo.EXE\tasklist.xml" konnte nicht gefunden werden.
  Source=mscorlib
  StackTrace:
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
       bei System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
       bei System.IO.File.Open(String path, FileMode mode)
       bei ToDo.MainForm.Task.SaveTasks(List`1 tasks, String filename) in C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\MainForm.cs:Zeile 347.
       bei ToDo.MainForm.SaveTasks() in C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\MainForm.cs:Zeile 141.
       bei ToDo.MainForm.HandleSave() in C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\MainForm.cs:Zeile 117.
       bei ToDo.MainForm.btnSave_Click(Object sender, EventArgs e) in C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\MainForm.cs:Zeile 112.
       bei System.Windows.Forms.Control.OnClick(EventArgs e)
       bei System.Windows.Forms.Button.OnClick(EventArgs e)
       bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       bei System.Windows.Forms.Control.WndProc(Message& m)
       bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
       bei System.Windows.Forms.Button.WndProc(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       bei System.Windows.Forms.Application.Run(Form mainForm)
       bei ToDo.Program.Main() in C:\Users\XXX\documents\visual studio 2010\Projects\ToDo\ToDo\Program.cs:Zeile 18.
       bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       bei System.AppDomain.nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       bei System.Runtime.Hosting.ManifestRunner.Run(Boolean checkAptModel)
       bei System.Runtime.Hosting.ManifestRunner.ExecuteAsAssembly()
       bei System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext, String[] activationCustomData)
       bei System.Runtime.Hosting.ApplicationActivator.CreateInstance(ActivationContext activationContext)
       bei System.Activator.CreateInstance(ActivationContext activationContext)
       bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssemblyDebugInZone()
       bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       bei System.Threading.ThreadHelper.ThreadStart()
  InnerException: 
