Archived Support Site

This support site is archived. You can view the old support discussions but you cannot post new discussions.

C#6 without Microsoft.Net.Compilers

rowinginmotion's Avatar

rowinginmotion

Jul 12, 2016 @ 07:28 AM

Is there any chance AppHarbor will support building C#6 apps without relying on the Microsoft.Net.Compilers package?
We have a unified codebase (with Xamarin, AppHarbor and a few other things in the mix) and using Microsoft.Net.Compilers will break our Xamarin builds unfortuantely.

  1. Support Staff 1 Posted by rune on Jul 14, 2016 @ 05:44 AM

    rune's Avatar

    Hi,

    Do you mean just building the application, or also running it? It'd be fairly straightforward to support just building it (simply by using a newer version of Visual Studio). The only reason that's not currently being used is that it can cause runtime issues instead -- the app will somehow need to know what compiler to use, particularly when it's not the default. Currently installing the Roslyn compiler packages is the way to achieve that.

    Do you have any alternative suggestions that may make it easier for you to run your unified codebase across platforms? And can you perhaps describe the specific issues that causes your Xamarin builds to break? I'm pretty sure it's possible to make this work especially now that Xamarin supports/uses Roslyn across all platforms.

    Best,
    Rune

Discussions are closed to public comments.
If you need help with AppHarbor please start a new discussion.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac