-
Notifications
You must be signed in to change notification settings - Fork 373
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
More info should be included on 'add reference' #26
Comments
P164. #4 - Not the first time that I have seen this in your book. My .cs file has "namespace CalculatorLibUnitTests;", Your example says to eliminate the ';', and put in the brackets '[]'. Is this something related to VS Code? |
The |
C# 10 and .NET 6 introduces a feature called file-scoped namespace declarations. I introduce it on page 180. It simplifies code by removing the need for curly braces { } to declare the types inside a namespace. Either the old or new syntax works correctly. |
Thank you for raising this issue. In the 7th edition I will add examples of using the |
P 163 #7. Needs better explanation, this failed "dotnet add reference", got error "Required argument missing for command: reference".
Found this page, which gives more info, https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-add-reference, but decided to "modify the configuration".
The text was updated successfully, but these errors were encountered: