diff --git a/docs/errata/README.md b/docs/errata/README.md index ecad3cd..60e53ec 100644 --- a/docs/errata/README.md +++ b/docs/errata/README.md @@ -4,6 +4,6 @@ If you find any mistakes in the seventh edition, *C# 11 and .NET 7 - Modern Cros [**Errata** (35 items)](errata.md): Typos, tool user interface changes, or mistakes in code that would cause a compilation error that prevents a successful build. -[**Improvements** (24 items)](improvements.md): Changes to text or code that would improve the content. These are optional. +[**Improvements** (25 items)](improvements.md): Changes to text or code that would improve the content. These are optional. All errata and improvements will be included in the 8th edition planned for publishing in November 2023. To be included they must be submitted by mid-September 2023. diff --git a/docs/errata/improvements.md b/docs/errata/improvements.md index 984ff0c..8380ff5 100644 --- a/docs/errata/improvements.md +++ b/docs/errata/improvements.md @@ -1,4 +1,4 @@ -**Improvements** (24 items) +**Improvements** (25 items) If you have suggestions for improvements, then please [raise an issue in this repository](https://github.com/markjprice/cs11dotnet7/issues) or email me at markjprice (at) gmail.com. @@ -15,6 +15,7 @@ If you have suggestions for improvements, then please [raise an issue in this re - [Page 251 - Setting up a class library and console application](#page-251---setting-up-a-class-library-and-console-application) - [Page 270 - Equality of types](#page-270---equality-of-types) - [Page 299 - Treating warnings as errors](#page-299---treating-warnings-as-errors) +- [Page 339 - Viewing source links with Visual Studio 2022](#page-339---viewing-source-links-with-visual-studio-2022) - [Page 343 - Packaging a library for NuGet](#page-343---packaging-a-library-for-nuget) - [Page 444 - Connecting to a database](#page-444---connecting-to-a-database) - [Page 453 - Scaffolding models using an existing database](#page-453---scaffolding-models-using-an-existing-database) @@ -313,6 +314,15 @@ Code in next edition: if (name == null) return; // must check for null to remove the warning ``` +# Page 339 - Viewing source links with Visual Studio 2022 + +In Step 3, I wrote, "Right-click in the `Count` method and select **Go To Implementation**." + +What happens next depends on a Visual Studio option that the reader can control. This is explained in the following item: +https://github.com/markjprice/cs11dotnet7/blob/main/docs/errata/errata.md#page-37---getting-definitions-of-types-and-their-members + +In the next edition, I will add a note to remind readers about this. I will also add the explantion in the errata item above to Chapter 1 when the feature is first introduced. + # Page 343 - Packaging a library for NuGet In Step 3, you modify `SharedLibrary.csproj` to add some elements to control how the class library is turned into a NuGet package. If you rely on IntelliSense then it could mislead you to use deprecated tag names. For example, `` is deprecated in favor of ``.