Skip to content

2.0 C# language versions ASP.NET Core projects (project, Razor, scaffolding) #3656

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
Rick-Anderson opened this issue Jul 7, 2017 · 10 comments
Assignees
Labels

Comments

@Rick-Anderson
Copy link
Contributor

As dan roth for more details

@guardrex
Copy link
Collaborator

@Rick-Anderson Can you say more about what this one entails?

@Rick-Anderson
Copy link
Contributor Author

See #5591

@guardrex
Copy link
Collaborator

guardrex commented Mar 13, 2018

Title: Language support in ASP.NET Core projects

Notes:

It looks like this basically boils down to one main thing (as stated by @jcouv) ...

[When the IDE seems fine with new C# syntax, but the app 💥 at runtime, this] is caused by a mismatch between the built-in compiler (used by VS) and the compiler pulled in as a nuget package by ASP.NET projects.

@guardrex guardrex self-assigned this Mar 13, 2018
@guardrex
Copy link
Collaborator

guardrex commented Mar 15, 2018

@Rick-Anderson @mairaw @BillWagner

It looks like this ask on this issue has been addressed to some degree. See 👉 https://docs.microsoft.com/dotnet/csharp/whats-new/csharp-7-1#language-version-selection

However, it was written for 7.1. The 7.2 topic didn't receive a similar section.

Perhaps to better surface the content, should that section become its own topic and be written to generically apply to C# versions? ... perhaps under https://docs.microsoft.com/dotnet/csharp/whats-new/

@BillWagner
Copy link
Member

BillWagner commented Mar 15, 2018

We have an issue for this: dotnet/docs#3685 Do you want to take it on?

If you search the docs repo for <LangVersion> you'll find the locations that should link to the new topic.

dotnet/docs#4154 is also relevant. I don't think the .NET Core SDK / CLI has an answer for that yet though. @danroth27 do you have ideas here?

@guardrex
Copy link
Collaborator

Do you want to take it on?

It doesn't matter to me, but I've been ordered not to work on other repos while on contract. I need approval.

@Rick-Anderson Do you want to close this as a dup of dotnet/docs#3685? Do you want to approve my working dotnet/docs#3685?

@Rick-Anderson
Copy link
Contributor Author

@guardrex I think @JRAlexander can handle it.

@JRAlexander
Copy link

@Rick-Anderson Handle what?

@guardrex
Copy link
Collaborator

@JRAlexander He's referring to dotnet/docs#3685. This issue is a dup of that one.

@JRAlexander
Copy link

Ok, I'll talk with @BillWagner and @mairaw to see if this should be included in the .NET 2.1 project. Thanks!

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

No branches or pull requests

4 participants