Skip to content

Commit

Permalink
fix broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
gewarren committed May 7, 2024
1 parent a90e90a commit f741ddf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/core/tools/dotnet-new-sdk-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The templates that ship with the .NET SDK have the following additional options:

Sets the `LangVersion` property in the created project file. For example, use `--langVersion 7.3` to use C# 7.3. Not supported for F#. Available since .NET Core 2.2 SDK.

For a list of default C# versions, see [Defaults](../../csharp/language-reference/configure-language-version.md#defaults).
For a list of default C# versions, see [Defaults](../../csharp/language-reference/language-versioning.md#defaults).

- **`--no-restore`**

Expand All @@ -68,7 +68,7 @@ The templates that ship with the .NET SDK have the following additional options:

Sets the `LangVersion` property in the created project file. For example, use `--langVersion 7.3` to use C# 7.3. Not supported for F#. Available since .NET Core 2.2 SDK.

For a list of default C# versions, see [Defaults](../../csharp/language-reference/configure-language-version.md#defaults).
For a list of default C# versions, see [Defaults](../../csharp/language-reference/language-versioning.md#defaults).

- **`--no-restore`**

Expand All @@ -86,7 +86,7 @@ The templates that ship with the .NET SDK have the following additional options:

Sets the `LangVersion` property in the created project file. For example, use `--langVersion 7.3` to use C# 7.3.

For a list of default C# versions, see [Defaults](../../csharp/language-reference/configure-language-version.md#defaults).
For a list of default C# versions, see [Defaults](../../csharp/language-reference/language-versioning.md#defaults).

- **`--no-restore`**

Expand All @@ -100,7 +100,7 @@ The templates that ship with the .NET SDK have the following additional options:

Sets the `LangVersion` property in the created project file. For example, use `--langVersion 7.3` to use C# 7.3.

For a list of default C# versions, see [Defaults](../../csharp/language-reference/configure-language-version.md#defaults).
For a list of default C# versions, see [Defaults](../../csharp/language-reference/language-versioning.md#defaults).

- **`--no-restore`**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ This option specifies the names of one or more symbols that you want to define.
## LangVersion

The default language version for the C# compiler depends on the target framework for your application and the version of the SDK or Visual Studio installed. Those rules are defined in [C# language versioning](../configure-language-version.md#defaults).
The default language version for the C# compiler depends on the target framework for your application and the version of the SDK or Visual Studio installed. Those rules are defined in [C# language versioning](../language-versioning.md#defaults).

The **LangVersion** option causes the compiler to accept only syntax that is included in the specified C# language specification, for example:

Expand Down
2 changes: 1 addition & 1 deletion docs/csharp/misc/cs1617.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ For example, compiling with `csc -langversion:ISO` will generate error CS1617.

## Valid values for -langversion

The valid values for the language versions depend on the .NET version you are using. See [the language version rules](../language-reference/configure-language-version.md#defaults) for more information on which language version is available with which version of .NET. If you are receiving this error while attempting to use a newer language version, either downgrade to a lower language version or update your .NET SDK to a version that supports the language version.
The valid values for the language versions depend on the .NET version you are using. See [the language version rules](../language-reference/language-versioning.md#defaults) for more information on which language version is available with which version of .NET. If you are receiving this error while attempting to use a newer language version, either downgrade to a lower language version or update your .NET SDK to a version that supports the language version.

The following table specifies the current valid values for `-langversion`:

Expand Down

0 comments on commit f741ddf

Please sign in to comment.