Page 1 of 1

Error CS8400 'file scoped namespace' feature is not available in C# 8.0

Posted: Wed Nov 23, 2022 7:38 pm
by eftalboza

"Error CS8400 'file scoped namespace' feature is not available in C# 8.0. Please use 10.0 or higher language version."

Can you help me for the reason of the error I get as a result of compilation?


Re: Error CS8400

Posted: Thu Nov 24, 2022 6:22 am
by MichaelG

Make sure that you have installed .NET SDK 6.0.1 / ASP.NET Core 6.0.1 or later. Read system requirement:
https://aspnetmaker.dev/download.php


Re: Error CS8400

Posted: Thu Nov 24, 2022 1:08 pm
by eftalboza

Thanks problem solved.