Skip to content

Roslyn 2.0 support #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
atifaziz opened this issue Mar 24, 2017 · 4 comments
Closed

Roslyn 2.0 support #1

atifaziz opened this issue Mar 24, 2017 · 4 comments
Assignees

Comments

@atifaziz
Copy link

Unless it's already planned, it would be great to see support for Roslyn 2.0 added so one can use C# 7 with ASP.NET.

@Jinhuafei Jinhuafei self-assigned this Mar 27, 2017
@Jinhuafei
Copy link
Contributor

Thanks for the feedback. We will consider it in the future release. For now, please use Microsoft.Net.Compilers 2.0+ nupkg in your project and you should good to go.

@atifaziz
Copy link
Author

@Jinhuafei Thanks for the hint about using Microsoft.Net.Compilers 2.x. Worked like a charm. ✨

@Jinhuafei
Copy link
Contributor

@atifaziz 1.0.4 version was released on Nuget. You can upgrade the package and you can use C# 7 in your project without any manual step. BTW, your project needs to be targeting to .net 4.6 and above, since Roslyn compiler 2.0 requires .net 4.6.

@atifaziz
Copy link
Author

atifaziz commented May 3, 2017

@Jinhuafei That's great news & thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants