It should be possible to use the C# language projections from IronPython, but I think there are still issues with IronPython itself that prevent it from targeting WinRT (like generating code at runtime). I believe UWP is supposed to offer the same libraries with more CLR features but to be honest the whole Windows/.NET platform is a mess right now and I have no idea what the best option is.
- Jeff On Mon, Nov 2, 2015 at 7:57 AM, Slide <slide.o....@gmail.com> wrote: > In looking at this more, it looks like there is quite a bit of magic that > needs to happen behind the scenes in order to support Winmd files. They > don't contain any code themselves, just type and method definitions. I'm > trying to find more information about the language projections that are > required. > > On Sun, Nov 1, 2015 at 10:07 AM Slide <slide.o....@gmail.com> wrote: > >> Its most likely because the WinRT stuff is done via Winmd files, which I >> don't think are currently supported by the clr module for loading and >> referencing. I haven't looked at the code, but that is my guess. It >> probably something that needs to be looked into. >> >> On Sun, Nov 1, 2015, 09:28 Wayne Keenan <wayne.kee...@gmail.com> wrote: >> >>> Hi, >>> >>> I'm trying to access the WIndows 8.1 'Windows.Devices.*' API for >>> communication with a Bluetooth LE device. I have functional C# code and >>> would like todo the same in Python. >>> >>> I've posted a question on stack here: >>> http://stackoverflow.com/questions/33242927/how-to-import-and-call-net-deviceinformation-findallasync-from-ironpython >>> >>> >>> In addition to the info on the stack post I've tried compiling >>> IronPython from source, adding >>> <TargetPlatformVersion>8.1</TargetPlatformVersion> >>> to various PropoertyGroup's of the *.csproj files, but with no luck. >>> >>> I was hoping someone on the list might help me by pointing me in the >>> right direction please? >>> >>> >>> Thanks >>> Wayne >>> _______________________________________________ >>> Ironpython-users mailing list >>> Ironpython-users@python.org >>> https://mail.python.org/mailman/listinfo/ironpython-users >>> >> > _______________________________________________ > Ironpython-users mailing list > Ironpython-users@python.org > https://mail.python.org/mailman/listinfo/ironpython-users > >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users