Skip to content

Instantly share code, notes, and snippets.

@rmarinho
Created November 27, 2014 18:08
Show Gist options
  • Save rmarinho/7dcfaf6e960bd86179c9 to your computer and use it in GitHub Desktop.
Save rmarinho/7dcfaf6e960bd86179c9 to your computer and use it in GitHub Desktop.
Sharing violation on path
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x0034b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/FileStream.cs:320
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean isAsync, Boolean anonymous) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO/FileStream.cs:190
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, System.IO.IsolatedStorage.IsolatedStorageFile isf) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFileStream.cs:129
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor (System.String path, FileMode mode, FileAccess access, System.IO.IsolatedStorage.IsolatedStorageFile isf) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFileStream.cs:139
at System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile (System.String path, FileMode mode, FileAccess access) [0x00000] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.IO.IsolatedStorage/IsolatedStorageFile.cs:948
at Xamarin.Forms.Forms+IOSPlatformServices+_IsolatedStorageFile.OpenFileAsync (System.String path, FileMode mode, FileAccess access) [0x0000a] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Platform.iOS/Platform.cs:347
at Xamarin.Forms.UriImageSource+<GetStreamAsyncUnchecked>c__async2.MoveNext () [0x000ba] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Core/UriImageSource.cs:125
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:62
at System.Runtime.CompilerServices.TaskAwaiter`1[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0
at Xamarin.Forms.UriImageSource+<GetStreamAsync>c__async1.MoveNext () [0x001d1] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Core/UriImageSource.cs:108
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:62
at System.Runtime.CompilerServices.TaskAwaiter`1[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0
at Xamarin.Forms.UriImageSource+<GetStreamAsync>c__async0.MoveNext () [0x000d0] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Core/UriImageSource.cs:74
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:62
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.IO.Stream].GetResult () [0x00000] in <filename unknown>:0
at Xamarin.Forms.Platform.iOS.ImageLoaderSourceHandler+<LoadImageAsync>c__async0.MoveNext () [0x000b6] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Platform.iOS/Renderers/ImageRenderer.cs:178
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:62
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MonoTouch.UIKit.UIImage].GetResult () [0x00000] in <filename unknown>:0
at Xamarin.Forms.Platform.iOS.ImageCellRenderer+<SetImage>c__async0.MoveNext () [0x0011c] in /Users/rmarinho/Xamarin/Duplo/Xamarin.Forms.Platform.iOS/Cells/ImageCellRenderer.cs:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment