Hi,
This morning I was trying to write a bit of javascript for a Windows 8 app when
VS2012 decided to raise exceptions on me from the Mono for Android addin:
---------------------------
---------------------------
System.AggregateException: A Task's exception(s) were not observed either by
Waiting on the Task or accessing its Exception property. As a result, the
unobserved exception was rethrown by the finalizer thread. --->
System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String
originalUserPath, String searchPattern, SearchOption searchOption,
SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern,
SearchOption searchOption)
at MadsKristensen.EditorExtensions.BundleFilesMenu.UpdateBundles(String
changedFile, Boolean isBuild)
at
MadsKristensen.EditorExtensions.BundleFilesMenu.<>c__DisplayClass2.<document_FileActionOccurred>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of inner exception stack trace ---
---> (Inner Exception #0) System.IO.IOException: The directory name is invalid.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator`1.CommonInit()
at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String
originalUserPath, String searchPattern, SearchOption searchOption,
SearchResultHandler`1 resultHandler, Boolean checkHost)
at System.IO.Directory.GetFiles(String path, String searchPattern,
SearchOption searchOption)
at MadsKristensen.EditorExtensions.BundleFilesMenu.UpdateBundles(String
changedFile, Boolean isBuild)
at
MadsKristensen.EditorExtensions.BundleFilesMenu.<>c__DisplayClass2.<document_FileActionOccurred>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()<---
---------------------------
OK
---------------------------
As much as I appreciate the fact that the tool updates bundles for me, it
shouldn't do so in a Windows 8 app project :P Is there anything I can do to
prevent this error message from showing up? It happens frequently, because I
have a habit of pressing Ctrl+S a few times :)
Kind regards,
Willem Meints
Op dit e-mailbericht is de disclaimer van Info Support van toepassing, zie
http://www.infosupport.com/disclaimer
_______________________________________________
Monodroid mailing list
[email protected]
UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid