Live Player + .Net Standard

Have latest releases of everything, created empty .net standard 2.0 project, tried to launch it on android, got this exception:

(1,1): error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/25.4.0.2/lib/MonoAndroid70/Xamarin.Android.Support.Media.Compat.dll".
e.t.c.

Is .Net standard 2.0 still not supported?

Tagged:
«1

Posts

  • ArtemTomilinArtemTomilin USMember

    The problem exists indeed.
    I tried to update xamarin packages to version 26.1.0.1, but still have the same error message.
    Version of Visual studio is 15.5.2.
    Will be waiting for the fix.

  • XigmondXigmond USMember ✭✭

    me too ... anybody has a solution ??

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    Can you validate what version of the app you have?

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    I just pushed 1.3.117 out, can you try this out. Looks like i forgot to hit the "publish" button :(

  • SergeyPolezhaevSergeyPolezhaev RUMember ✭✭
    I am beta tester and have 1.4.129
  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    Can you link me to a sample app that I can run. I don't have any issues with the app store releases 1.3 or 1.4

  • davidyardydavidyardy USUniversity ✭✭

    Hi James i have DM'd the link to you as well as posted on stackoverflow.

  • davidyardydavidyardy USUniversity ✭✭

    Frustrating I cannot post links here. I did post link in StackOverflow issue.

  • davidyardydavidyardy USUniversity ✭✭

    Yes I have the same issue. I have tried on actual device as well as emulator.

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/26.1.0.1/lib/MonoAndroid80/Xamarin.Android.Support.Media.Compat.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0

  • davidyardydavidyardy USUniversity ✭✭

    Yes I have the same issue. I have tried on actual device as well as emulator.

    The dll does exist in this directory
    C:\Temp\xamarin\App4\App4\App4.Android\obj\Debug\android\assets\Xamarin.Android.Support.Media.Compat.dll

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/26.1.0.1/lib/MonoAndroid80/Xamarin.Android.Support.Media.Compat.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0

  • davidyardydavidyardy USUniversity ✭✭
    edited January 2018

    Repeated

  • DaveYDaveY USUniversity ✭✭

    I did install the Xamarin Android Device Manager and was able to get Live Run to work against the emulator.

    On my physical phone however it Live Runs' once, then crashes. It displays the view but then in the error list and output window the above error

    _Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/xamarin.android.support.media.compat/26.1.0.1/lib/MonoAndroid80/Xamarin.Android.Support.Media.Co_mpat.dll"

    Ideas?

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    I am investigating, looks like it may be something with the devices and package references. Can you confirm what devices you running it on.

    My Nexus 6 with 5.1 -> Issue
    My Samsung S8 with 7.0 -> Working

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai
    edited January 2018

    After a few hours this morning we reproduced and fixed this bug. We will have a new Android build out.

    It seems to only effect new installations of the app, so it worked for me previously because the nuget was cached.

  • SergeyPolezhaevSergeyPolezhaev RUMember ✭✭

    @JamesMontemagno Thank you! Now everything is working.

  • ldelde USMember

    I'm using version 1.4.134 and I still get a similar issue:

    Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.io/4.3.0/ref/netstandard1.5/System.IO.dll"

  • ldelde USMember
    edited January 2018

    repeated

  • ldelde USMember
    edited January 2018

    repeated

  • @lde said:
    I'm using version 1.4.134 and I still get a similar issue:

    Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.io/4.3.0/ref/netstandard1.5/System.IO.dll"

    I have the same issue, has there been any update for this?

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    @lde and @danielarchibald we have analyzed this issue and have a fix incoming.

  • InregoInrego DKMember ✭✭

    Similar issue here. I have tried several times since the release and never had any success. Here's my error list from when trying to run on XLP:

    However, when running the app in emulator or on actual device, there are no problems.

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai
  • grthamadgrthamad Member ✭✭

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 <---
    <--- 1

    Above issues are occurring after I install Microsoft.Azure.Mobile.Client package from Nuget.

    I'm using Live Player version: 1.4.156

  • grthamadgrthamad Member ✭✭

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/system.reflection.primitives/4.3.0/ref/netstandard1.0/System.Reflection.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 <---
    <--- 1

    Above issues are occurring after I install Microsoft.Azure.Mobile.Client package from Nuget.

    I'm using Live Player version: 1.4.156

  • RRSRRS USMember ✭✭

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/var/mobile/Containers/Data/Application/1C6AC57D-FEB7-4100-A2BA-0C6DDE8BD80E/Documents/.nuget/packages/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) <0x10080e7a0 + 0x00208> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) <0x10080e2b0 + 0x0003f> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.IO.File.OpenRead (System.String path) <0x10080bff0 + 0x00033> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at <StartupCode$Continuous-Core-iOS>[email protected] () <0x102ddf700 + 0x00027> in <5a7221ddda0d72afa7450383dd21725a#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () <0x1008a75d0 + 0x00057> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 at System.Threading.Tasks.Task.Execute () <0x1008bd790 + 0x00043> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/var/mobile/Containers/Data/Application/1C6AC57D-FEB7-4100-A2BA-0C6DDE8BD80E/Documents/.nuget/packages/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) <0x10080e7a0 + 0x00208> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) <0x10080e2b0 + 0x0003f> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 at System.IO.File.OpenRead (System.String path) <0x10080bff0 + 0x00033> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 at <StartupCode$Continuous-Core-iOS>[email protected] () <0x102ddf700 + 0x00027> in <5a7221ddda0d72afa7450383dd21725a#6ee41164cf5db753a0ccc1a990aad6a4>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () <0x1008a75d0 + 0x00057> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.Threading.Tasks.Task.Execute () <0x1008bd790 + 0x00043> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/var/mobile/Containers/Data/Application/1C6AC57D-FEB7-4100-A2BA-0C6DDE8BD80E/Documents/.nuget/packages/system.runtime/4.3.0/ref/netstandard1.5/System.Runtime.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) <0x10080e7a0 + 0x00208> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) <0x10080e2b0 + 0x0003f> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.IO.File.OpenRead (System.String path) <0x10080bff0 + 0x00033> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at <StartupCode$Continuous-Core-iOS>[email protected] () <0x102ddf700 + 0x00027> in <5a7221ddda0d72afa7450383dd21725a#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () <0x1008a75d0 + 0x00057> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0
    at System.Threading.Tasks.Task.Execute () <0x1008bd790 + 0x00043> in <136edfc8e644410eb152bce382121c61#6ee41164cf5db753a0ccc1a990aad6a4>:0 <---

    Getting a few of these now, builds locally but when we try to use the xamarin live player it breaks . Latest ver 1.4.156.

    Android also not working.

  • sparspar Member ✭✭

    I am using Live Player Version 1.4.156 (656)

  • JonathanPeelJonathanPeel USMember ✭✭

    I am trying got to get the Live Player to work on Android (I am on Beta, and just updated so I have the latest).

    When I try and run an app through the player I get
    error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/data/com.xamarin.live/files/.nuget/packages/microsoft.csharp/4.3.0/ref/netstandard1.0/Microsoft.CSharp.dll".

  • sparspar Member ✭✭

    Hi, I am trying to get Live Run to work on an app that I inherited from another developer but I cannot get it to work. It is on .Net Standard 1.4. If I deploy the app to the device normally everything works. So I created a test app and that works fine. Going back to the existing app if I do a Live Run I get the following error below (this is not the complete error because it is to long) Any help with this will be appreciated because I have to redesign the entire UI.

    Synchronizing files...
    Building and running...
    Built with 260 messages.
    (1,1): error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/microsoft.win32.primitives/4.3.0/ref/netstandard1.3/Microsoft.Win32.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/microsoft.win32.primitives/4.3.0/ref/netstandard1.3/Microsoft.Win32.Primitives.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/.nuget/packages/microsoft.win32.primitives/4.3.0/ref/netstandard1.3/Microsoft.Win32.Primitives.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a72212711b47c3aa74503832721725a>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 <---
    <---

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    We have pushed out a new version 1.5.X which should resolve these errors. Please ensure you have the latest from TestFlight or Google Play

  • burner85burner85 Member

    I have jst updated the app from google paly, and I still have the same problem:
    I have a Huawei P9 running android 7.0

    This happend when I instaled Newtonsoft.Json nuGet package for my project, before this was working fine.

    I hope for a quick solution...

    Bes regards

  • JamesMontemagnoJamesMontemagno USForum Administrator, Xamarin Team, Developer Group Leader Xamurai

    @burner85 can you describe your setup a bit or send me a repro project? Would help us diagnose it.

  • mhdmhd Member ✭✭
    edited February 2018

    duplicated

  • mhdmhd Member ✭✭
    edited February 2018

    duplicated

  • mhdmhd Member ✭✭

    @burner85 said:
    I have jst updated the app from google paly, and I still have the same problem:
    I have a Huawei P9 running android 7.0

    This happend when I instaled Newtonsoft.Json nuGet package for my project, before this was working fine.

    I hope for a quick solution...

    Bes regards

    I have same issue after installing sqlite

    (1,1): error: Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/data/com.xamarin.live/files/External/.nuget/packages/sqlitepclraw.lib.e_sqlite3.android/1.1.8/lib/MonoAndroid/SQLitePCLRaw.lib.e_sqlite3.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a7d391011b47c3aa745038310397d5a>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0

    I'm using live player version 1.5.176 tested on S

  • devasudevasu Member

    getting error after installing nuget mySql.Data

    Severity Code Description Project File Line Suppression State
    Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.security.accesscontrol/4.4.0/ref/netstandard2.0/System.Security.AccessControl.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a7d391011b47c3aa745038310397d5a>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- --- End of inner exception stack trace --- ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.security.accesscontrol/4.4.0/ref/netstandard2.0/System.Security.AccessControl.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a7d391011b47c3aa745038310397d5a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.security.accesscontrol/4.4.0/ref/netstandard2.0/System.Security.AccessControl.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a7d391011b47c3aa745038310397d5a>:0
    at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 <---
    <--- 1

    live player 1.5.176

  • Same here using android live player 1.5.196(696), trying to run app from MikeCodesDotNet/Mobile-Cloud-Workshop. Device is Samsung Note 8

    One of the 40+ errors I get:
    Severity Code Description Project File Line Suppression State Error Failed to load assembly from stream: System.AggregateException: One or more errors occurred. ---> System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.resources.resourcemanager/4.3.0/ref/netstandard1.0/System.Resources.ResourceManager.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a8c581111b47c3aa745038311588c5a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    --- End of inner exception stack trace ---
    --- End of inner exception stack trace ---
    ---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.resources.resourcemanager/4.3.0/ref/netstandard1.0/System.Resources.ResourceManager.dll".
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
    at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a8c581111b47c3aa745038311588c5a>:0
    at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 --- End of inner exception stack trace --- ---> (Inner Exception #0) System.IO.DirectoryNotFoundException: Could not find a part of the path "/data/user/0/com.xamarin.live/files/External/.nuget/packages/system.resources.resourcemanager/4.3.0/ref/netstandard1.0/System.Resources.ResourceManager.dll". at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x0017d] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) at System.IO.File.OpenRead (System.String path) [0x00000] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 at <StartupCode$Continuous-Core-Droid>[email protected] () [0x00012] in <5a8c581111b47c3aa745038311588c5a>:0 at System.Threading.Tasks.Task1[TResult].InnerInvoke () [0x0000f] in <896ad1d315ca4ba7b117efb8dacaedcf>:0
    at System.Threading.Tasks.Task.Execute () [0x00010] in <896ad1d315ca4ba7b117efb8dacaedcf>:0 <---
    <--- 1
    `

  • RobertDurfeeRobertDurfee USMember ✭✭

    LivePlayer doesn't work with once you start adding packages like SQLite or Newtonsoft.Json.

  • mtsarwarmtsarwar Member ✭✭

    Facing the same problem..Did anybody find any workaround or any alternative for this ? Any suggestion

    Thanks in advance

  • I also have this issue, but only when I have SQLite installed.

  • artemiousartemious Member
    edited March 2018

    Same problem, 800+ errors.
    I don't reference neither SQLite, nor Newtonsoft.Json packages directly, but I believe some other package may.

    From NetStandard 2.0 library I reference

    • Prism.Unity.Forms v7.0.0.396,
    • Xamarin.Forms v2.5.0.280555
    • NETStandard.Library v2.0.1

    From the Android project I reference

    • Xamarin.Android.Support.Design,
    • Xamarin.Android.Support.v7.AppCompat,
    • Xamarin.Android.Support.v4,
    • Xamarin.Android.Support.v7.CardView,
    • Xamarin.Android.Support.v7.MediaRouter - everything on version 26.1.0.1.
    • Xamarin.Forms v2.5.0.280555

    It began complaining on some code that was inactive because of if-defs like #if NETSTANDARD1_2. So after I removed all #if NETSTANDARD1_2, everything worked! However, the problem came back after while... and gone again. Don't understand what is happening

Sign In or Register to comment.