Try right-clicking on the .csproj. Choose Properties. Then uncheck 'Transform project properties into assembly attributes during build.' Also uncheck 'Enable implicit global usings to be declared by the project SDK.'