Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Stream stream = assembly.GetManifestResourceStream (resource) breaks live player

$
0
0

Hi

Whenever I run the following line, Xamarin Live auto disconnects on my phone:

Stream stream = assembly.GetManifestResourceStream (resource)

the content of assembly is:

BlackCatSap.Droid, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null

the content of resource is:

string resource = "BlackCatSap.Droid.Texts.TheBlackCat.txt"

I do not understand why the whole thing would just stop working, the live player on the phone just switches off and phone goes back to the applications menu from where I had opened the live player.

Sometimes I get a message box pop up with says something like this (cannot post screenshots or links yet):

Exceptiom:Mono.Debugging.Soft.DisconnectedException: The connection with the debugger has been lost.

I don't think that message is much use as I know full well the connection has been lost because when it ran the line Stream stream = ...etc it disconnected by itself.

Any ideas?

thanks
Paul


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>