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

Explicitly set C# version #59

Closed
sandervrijders opened this issue May 31, 2019 · 3 comments
Closed

Explicitly set C# version #59

sandervrijders opened this issue May 31, 2019 · 3 comments

Comments

@sandervrijders
Copy link

After cloning the repo and opening it in Visual Studio 2017, IntelliSense complains about missing language features. This is since by default the last major version of C# is used (7.0) and certain features are 7.1+ (such as async Main). I suggest setting the LangVersion in the csproj files to latest:

<LangVersion>latest</LangVersion>
@mjsabby
Copy link
Contributor

mjsabby commented May 31, 2019

Feel free to send a PR. You can use Directory.Build.props and set LangVersion there.

@tannergooding
Copy link
Member

I put up a PR that does this and configures infrastructure for the repo in general: #60

@tannergooding
Copy link
Member

Should be resolved now.

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

No branches or pull requests

3 participants