error CS8107: Feature ‘default literal’ is not available in C# 7.0.

If you get a

error CS8107: Feature 'default literal' is not available in C# 7.0. 
Please use language version 7.1 or greater.

error when building your .Net core application in Visual Studio Team Server(VSTS), then you need to make sure that you have selected “C# 7.1” or above for “all configurations” in your project properties.

image

You may also like

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.