A Microsoft platform for building and publishing apps for Windows devices.
The problem is you used reactive MicrosoftStreamExtensions class conflict with WindowsRuntimeStreamExtensions, if you have not used reactive, please try to remove it, if you need to use it, please specific the return type for AsRandomAccessStream method.
using (Windows.Storage.Streams.IRandomAccessStream imageStream = streamIn.AsRandomAccessStream())