I need to (bear with me) for some reason or another use the WinRT version of the System.Text.Encoding namespace. I can add a reference to the assembly manually and such, but it will still use mscorlib's implementation. And I can't completely remove mscorlib apparently.
How can I force my project to use WinRT's System.Text.Encoding.dll instead of mscorlib?
Basically, I need it to generate this piece of IL:
call class [System.Text.Encoding]System.Text.Encoding [System.Text.Encoding]System.Text.Encoding::get_UTF8()
instead of this:
call class [mscorlib]System.Text.Encoding [mscorlib]System.Text.Encoding::get_UTF8()