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

CS1617 Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values #23

Open
andydis opened this issue May 3, 2020 · 0 comments

Comments

@andydis
Copy link

andydis commented May 3, 2020

Error when compiling:-
CS1617 Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values

windows 10 1903
Visual studio 2017

Tried:
installing all the .net SDK's / developer packs
changing the projects target framework to 4.0 , 4.5 , 4.6.1 , 4.6.2 all same error

1>------ Build started: Project: SharpLocker, Configuration: Debug Any CPU ------
1>CSC : error CS1617: Invalid option 'preview' for /langversion. Use '/langversion:?' to list supported values.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

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

1 participant