Skip to content
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

Please support C# 7 and Roslyn v2 #1512

Closed
jnm2 opened this issue Feb 24, 2017 · 11 comments
Closed

Please support C# 7 and Roslyn v2 #1512

jnm2 opened this issue Feb 24, 2017 · 11 comments
Assignees
Milestone

Comments

@jnm2
Copy link
Contributor

jnm2 commented Feb 24, 2017

Even with the experimental flag, Cake only runs Roslyn v1.0.0-rc2.
It results in things like not being able to write extension methods.

I want to invest in a platform that will stay up to date with C# 7.x scripting features.

What work is there to do to arrive at support of Roslyn v2 (releasing March 7) without requiring an experimental flag?

@patriksvensson
Copy link
Member

@jnm2 We have plans to integrate it in 0.19 as well as deprecating the Mono script engine.

@jnm2
Copy link
Contributor Author

jnm2 commented Feb 24, 2017

That's great news!

@patriksvensson
Copy link
Member

@jnm2 Yes! We only have to make sure that it's not a blocker for people who want to stay on Mono.

@adamhathcock
Copy link
Contributor

Does this mean I can have a .NET Core only cake build now?

I know I can boot strap it myself but the "official" instructions don't include it. Also, nuget.exe is still used but can be avoided?

@patriksvensson
Copy link
Member

Yes, until 0.19 Cake on .Net Core is the only option. You also won't be able to use NuGet on other platforms than Windows.

@adamhathcock
Copy link
Contributor

Msbuild 15 has nuget built in I think. I'll look into contributing that :)

@devlead
Copy link
Member

devlead commented Mar 11, 2017

@beufordy3k
Copy link

What is the general time frame for version 0.19.0? Do you use must-have issues slated for this release as the release criteria or do you cut a new release based on a time interval?
Would like the new C# 7.0 syntax features as well, so if there are contrib items that need work to move it forward, I'll be glad to help on those.

@gep13
Copy link
Member

gep13 commented Mar 13, 2017

@beufordy3k we are planning a team meeting within the next week or so, so we should be in a better position to answer that question after then.

@beufordy3k
Copy link

@gep13 Thanks, looking forward to the update!

@devlead
Copy link
Member

devlead commented Jul 29, 2017

Fixed by #1645

@devlead devlead closed this as completed Jul 29, 2017
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

6 participants