Skip to content

Commit

Permalink
Update dotnetcli domain -- 2.x and 3.x (#9687)
Browse files Browse the repository at this point in the history
* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Fix linter errors

* Update linter errors
  • Loading branch information
richlander authored Jan 13, 2025
1 parent fa80eec commit f82833a
Show file tree
Hide file tree
Showing 873 changed files with 11,401 additions and 14,486 deletions.
56 changes: 28 additions & 28 deletions release-notes/2.0/2.0-supported-os.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,32 @@ The tables below provide OS version information supported by .NET Core 2.0.

## Windows

OS | Version | Architectures | Notes
------------------------------|-------------------------------|----------------|-----
Windows Client | 7 SP1+, 8.1 | x64, x86 |
Windows 10 Client | Version 1607+ | x64, x86 |
Windows Server | 2008 R2 SP1+ | x64, x86 |
| OS | Version | Architectures | Notes |
| ------------------------------|-------------------------------|----------------|----- |
| Windows Client | 7 SP1+, 8.1 | x64, x86 | |
| Windows 10 Client | Version 1607+ | x64, x86 | |
| Windows Server | 2008 R2 SP1+ | x64, x86 | |

See the [Windows Lifecycle Fact Sheet](https://support.microsoft.com/help/13853/windows-lifecycle-fact-sheet) for details regarding each Windows release lifecycle.

## macOS

OS | Version | Architectures | Notes
------------------------------|-------------------------------|----------------|-----
Mac OS X | 10.12+ | x64 | [Apple Support Sitemap](https://support.apple.com/sitemap) <br/> [Apple Security Updates](https://support.apple.com/HT201222)
| OS | Version | Architectures | Notes |
| ------------------------------|-------------------------------|----------------|----- |
| Mac OS X | 10.12+ | x64 | [Apple Support Sitemap](https://support.apple.com/sitemap); [Apple Security Updates](https://support.apple.com/HT201222) |

## Linux

OS | Version | Architectures | Notes
------------------------------|-------------------------------|----------------|-----
Red Hat Enterprise Linux | 6 | x64 | [Microsoft support policy](https://dotnet.microsoft.com/platform/support/policy/)
Red Hat Enterprise Linux <br/> CentOS <br/> Oracle Linux | 7 | x64 | [Red Hat support policy](https://access.redhat.com/support/policy/updates/errata/) <br/> [CentOS lifecycle](https://wiki.centos.org/FAQ(2f)General.html) <br/> [Oracle Linux lifecycle](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf)
Fedora | 28, 27 | x64 | [Fedora lifecycle](https://fedoraproject.org/wiki/End_of_life)
Debian | 9, 8.7+ | x64 | [Debian lifecycle](https://wiki.debian.org/DebianReleases)
Ubuntu | 18.04, 16.04, 14.04 | x64 | [Ubuntu lifecycle](https://wiki.ubuntu.com/Releases)
Linux Mint | 18, 17 | x64 | [Linux Mint end of life announcements](https://forums.linuxmint.com/search.php?keywords=%22end+of+life%22&terms=all&author=&sc=1&sf=titleonly&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search)
openSUSE | 42.3+ | x64 | [OpenSUSE lifecycle](https://en.opensuse.org/Lifetime)
SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 | [SUSE lifecycle](https://www.suse.com/lifecycle/)
| OS | Version | Architectures | Notes |
| ------------------------------|-------------------------------|----------------|----- |
| Red Hat Enterprise Linux | 6 | x64 | [Microsoft support policy](https://dotnet.microsoft.com/platform/support/policy/) |
| Red Hat Enterprise Linux; CentOS; Oracle Linux | 7 | x64 | [Red Hat support policy](https://access.redhat.com/support/policy/updates/errata/); [CentOS lifecycle](https://wiki.centos.org/FAQ(2f)General.html); [Oracle Linux lifecycle](https://www.oracle.com/a/ocom/docs/elsp-lifetime-069338.pdf) |
| Fedora | 28, 27 | x64 | [Fedora lifecycle](https://fedoraproject.org/wiki/End_of_life) |
| Debian | 9, 8.7+ | x64 | [Debian lifecycle](https://wiki.debian.org/DebianReleases) |
| Ubuntu | 18.04, 16.04, 14.04 | x64 | [Ubuntu lifecycle](https://wiki.ubuntu.com/Releases) |
| Linux Mint | 18, 17 | x64 | [Linux Mint end of life announcements](https://forums.linuxmint.com/search.php?keywords=%22end+of+life%22&terms=all&author=&sc=1&sf=titleonly&sr=posts&sk=t&sd=d&st=0&ch=300&t=0&submit=Search) |
| openSUSE | 42.3+ | x64 | [OpenSUSE lifecycle](https://en.opensuse.org/Lifetime) |
| SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 | [SUSE lifecycle](https://www.suse.com/lifecycle/) |

* **Bold numbers** indicate additions in this release.
* '+' indicates the minimum supported version.
Expand All @@ -46,13 +46,13 @@ SUSE Enterprise Linux (SLES) | 12 SP2+ | x64 | [SU

Support for the following versions was ended by the distribution owners and are [not supported by .NET Core 2](https://github.com/dotnet/core/blob/main/os-lifecycle-policy.md).

OS | Version | End of Life | Supported Version
-----------|----------|-------------|------------------
Fedora | 26 | [May 2018](https://fedoramagazine.org/fedora-26-end-life/) | 27+
Fedora | 25 | [December 2017](https://fedoramagazine.org/fedora-25-end-life/) | 27+
Fedora | 24 | [August 2017](https://fedoramagazine.org/fedora-24-eol/) | 27+
openSUSE | 42.2 | [January 2018](https://lists.opensuse.org/opensuse-security-announce/2017-11/msg00066.html) | 42.3
openSUSE | 42.1 | [May 2017](https://lists.opensuse.org/opensuse-security-announce/2017-05/msg00053.html) | 42.3
Ubuntu | 17.10 | [July 2018](https://lists.ubuntu.com/archives/ubuntu-announce/2018-July/000232.html) | 18.04
Ubuntu | 17.04 | [January 2018](https://lists.ubuntu.com/archives/ubuntu-announce/2018-January.txt) | 18.04
Ubuntu | 16.10 | [July 2017](https://lists.ubuntu.com/archives/ubuntu-announce/2017-July/000223.html) | 18.04
| OS | Version | End of Life | Supported Version |
| -----------|----------|-------------|------------------ |
| Fedora | 26 | [May 2018](https://fedoramagazine.org/fedora-26-end-life/) | 27+ |
| Fedora | 25 | [December 2017](https://fedoramagazine.org/fedora-25-end-life/) | 27+ |
| Fedora | 24 | [August 2017](https://fedoramagazine.org/fedora-24-eol/) | 27+ |
| openSUSE | 42.2 | [January 2018](https://lists.opensuse.org/opensuse-security-announce/2017-11/msg00066.html) | 42.3 |
| openSUSE | 42.1 | [May 2017](https://lists.opensuse.org/opensuse-security-announce/2017-05/msg00053.html) | 42.3 |
| Ubuntu | 17.10 | [July 2018](https://lists.ubuntu.com/archives/ubuntu-announce/2018-July/000232.html) | 18.04 |
| Ubuntu | 17.04 | [January 2018](https://lists.ubuntu.com/archives/ubuntu-announce/2018-January.txt) | 18.04 |
| Ubuntu | 16.10 | [July 2017](https://lists.ubuntu.com/archives/ubuntu-announce/2017-July/000223.html) | 18.04 |
8 changes: 4 additions & 4 deletions release-notes/2.0/2.0.0-commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ This is a somewhat curated list of commits across the entire .NET Core 2.0 devel
* [`[62c3798]`](https://github.com/dotnet/cli/commit/62c3798) Use fluent helper for line-end normalization
* [`[549292e]`](https://github.com/dotnet/cli/commit/549292e) Updating Roslyn to 2.3.0-beta3-61816-04
* [`[2a003ef]`](https://github.com/dotnet/cli/commit/2a003ef) Updating Roslyn to 2.3.0-beta3-61816-04
* [`[6f69b87]`](https://github.com/dotnet/cli/commit/6f69b87) insert new tpv2 which fixes following issue https://github.com/Microsoft/vstest/issues/632 https://github.com/Microsoft/vstest/issues/844 https://github.com/Microsoft/vstest/issues/847 https://github.com/Microsoft/vstest/issues/840 https://github.com/Microsoft/vstest/issues/843
* [`[6f69b87]`](https://github.com/dotnet/cli/commit/6f69b87) insert new tpv2 which fixes following issue <https://github.com/Microsoft/vstest/issues/632> <https://github.com/Microsoft/vstest/issues/844> <https://github.com/Microsoft/vstest/issues/847> <https://github.com/Microsoft/vstest/issues/840> <https://github.com/Microsoft/vstest/issues/843>
* [`[7059826]`](https://github.com/dotnet/cli/commit/7059826) Update to SetupCrossgen 213 - Coherence 25769
* [`[07ce4a0]`](https://github.com/dotnet/cli/commit/07ce4a0) Windows installer refresh
* [`[c7070e8]`](https://github.com/dotnet/cli/commit/c7070e8) Pinning to the dotnet-install to version '2.0.0-preview2-006470'
Expand Down Expand Up @@ -291,16 +291,16 @@ This is a somewhat curated list of commits across the entire .NET Core 2.0 devel
* [`[a53424c]`](https://github.com/dotnet/cli/commit/a53424c) Fixing an OSx break: "osname: unbound variable"
* [`[b479bd9]`](https://github.com/dotnet/cli/commit/b479bd9) LOC CHECKIN | cli-master | 20170529
* [`[bca5317]`](https://github.com/dotnet/cli/commit/bca5317) Update to SetupCrossgen 128 - Coherence 25179
* [`[b48b7d2]`](https://github.com/dotnet/cli/commit/b48b7d2) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: https://github.com/dotnet/designs/issues/2
* [`[b48b7d2]`](https://github.com/dotnet/cli/commit/b48b7d2) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: <https://github.com/dotnet/designs/issues/2>
* [`[7c8bf26]`](https://github.com/dotnet/cli/commit/7c8bf26) Allow resolution of SDKs without minimum msbuild version file
* [`[76cf6d4]`](https://github.com/dotnet/cli/commit/76cf6d4) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: <https://github.com/dotnet/designs/issues/2> 1. Branding changes 2. renaming of assets
* [`[8b07dfa]`](https://github.com/dotnet/cli/commit/8b07dfa) Adding the runtime identifier option to dotnet clean.
* [`[9a669ab]`](https://github.com/dotnet/cli/commit/9a669ab) Updating the Sdk to one that includes the error surfacing work.
* [`[db68d45]`](https://github.com/dotnet/cli/commit/db68d45) Pinning the MSBuild Minimum version to 15.3.0.
* [`[1a11756]`](https://github.com/dotnet/cli/commit/1a11756) Addressing code review comments by comparing the versions differently and by changing the name of SDK to .NET Core SDK.
* [`[75eac0c]`](https://github.com/dotnet/cli/commit/75eac0c) Moving version validation to only when a SDK is not overriden. Also adding a validation for the minimum MSBuild version.
* [`[61c217c]`](https://github.com/dotnet/cli/commit/61c217c) Fix shared framework deb package name in response to https://github.com/dotnet/core-setup/pull/2461
* [`[e5c3791]`](https://github.com/dotnet/cli/commit/e5c3791) Update the runtime installer and archive file names in response to https://github.com/dotnet/core-setup/pull/2461
* [`[61c217c]`](https://github.com/dotnet/cli/commit/61c217c) Fix shared framework deb package name in response to <https://github.com/dotnet/core-setup/pull/2461>
* [`[e5c3791]`](https://github.com/dotnet/cli/commit/e5c3791) Update the runtime installer and archive file names in response to <https://github.com/dotnet/core-setup/pull/2461>
* [`[9083e0b]`](https://github.com/dotnet/cli/commit/9083e0b) Update documenet for enabled apt-get feeds
* [`[86609a2]`](https://github.com/dotnet/cli/commit/86609a2) Updating the links and badges for release/2.0.0
* [`[cfe06a9]`](https://github.com/dotnet/cli/commit/cfe06a9) Update NuGet to 4.3.0-preview1-4081 and SDK to corresponding 1.1.0 based version
Expand Down
11 changes: 6 additions & 5 deletions release-notes/2.0/2.0.0-known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,13 @@ More info: [dotnet/docs/issues/2790](https://github.com/dotnet/docs/issues/2790)
**Issue:**
The following restore command-line techniques treat disabled packages sources as enabled. NuGet#5704

```
```bash
msbuild /t:restore
dotnet restore (either with dotnet.exe that ships with VS, or the one that comes with NetCore SDK 2.0.0)
```

**Workaround:**
Workaround:

Use Visual Studio (2017 15.3 or later) or NuGet.exe (v4.3.0 or later)
Delete your disabled source and continue to use msbuild or dotnet.exe.
For your solution, you could use "Clear" in NuGet.config and then define the sources necessary for that solution.
Expand Down Expand Up @@ -98,7 +99,7 @@ When referencing a NETStandard2.0 library from a .NETFramework application you m

This fails because the 1.0 first run shells out two dotnet commands to do dotnet new and dotnet restore. Because this is a simple shell out, the 2.0 CLI ends up being picked up to execute the commands. However, in the 1.0 CLI, we invoke dotnet new passing –f netcoreapp1.0 and netcoreapp1.1 and the 2.0 CLI no longer carries these templates, which causes the command and the whole first run to fail.

#### Workarounds
Workaround:

* Run dotnet 1.0 first run experience before installing the 2.0 CLI by simply invoking 'dotnet new' in the command line after installing VS.
* Uninstalling the 2.0 CLI and then running 'dotnet new'.
Expand All @@ -115,15 +116,15 @@ There are a few issues with using VB and .NET Core to be aware of.

Creating a console\class library will build successfully but with a warning that System.Data namespace contains no types.

##### Workaround
Workaround:

Adding `<NoWarn>$(NoWarn),40057</NoWarn>` to the project will suppress the warning.

#### Packing a VB Library does not work

[https://github.com/NuGet/Home/issues/4886](https://github.com/NuGet/Home/issues/4886)

##### Workaround
Workaround:

Adding `<PackProjectInputFile>$(MSBuildProjectFile)</PackProjectInputFile>` to your `.vbproj` file and then invoking the Pack command will produce a package.

Expand Down
4 changes: 2 additions & 2 deletions release-notes/2.0/2.0.0-preview1-known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ There are a few issues with using VB and .NET Core to be aware of.

Creating a console\class library will build successfully but with a warning that System.Data namespace contains no types.

#### Workaround
Workaround:

Adding `<NoWarn>$(NoWarn),40057</NoWarn>` to the project will suppress the warning.

### Packing a VB Library does not work

[https://github.com/NuGet/Home/issues/4886](https://github.com/NuGet/Home/issues/4886)

#### Workaround
Workaround:

Adding `<PackProjectInputFile>$(MSBuildProjectFile)</PackProjectInputFile>` to your `.vbproj` file and then invoking the Pack command will produce a package.

Expand Down
12 changes: 6 additions & 6 deletions release-notes/2.0/2.0.0-preview2-commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
* [`[5d85223]`](https://github.com/dotnet/cli/commit/5d85223) Updated NuGet version for VS 15.3 preview3 release
* [`[2cfad18]`](https://github.com/dotnet/cli/commit/2cfad18) This updates the F# compiler to the latest nuget published build.
* [`[641bbd7]`](https://github.com/dotnet/cli/commit/641bbd7) Consolidating the Linux tar.gz's
* [`[17ea7b2]`](https://github.com/dotnet/cli/commit/17ea7b2) The README links at https://github.com/dotnet/cli/tree/release/2.0.0#installers-and-binaries need to be updated
* [`[17ea7b2]`](https://github.com/dotnet/cli/commit/17ea7b2) The README links at <https://github.com/dotnet/cli/tree/release/2.0.0#installers-and-binaries> need to be updated
* [`[1d1f848]`](https://github.com/dotnet/cli/commit/1d1f848) Remove redundant error handling from project provider, add a better message for deserialization exceptions
* [`[052caa5]`](https://github.com/dotnet/cli/commit/052caa5) Add missing using directive
* [`[68f2d17]`](https://github.com/dotnet/cli/commit/68f2d17) Only catch JsonException in the method that dispatches to the appropriate handlers
Expand Down Expand Up @@ -96,16 +96,16 @@
* [`[a53424c]`](https://github.com/dotnet/cli/commit/a53424c) Fixing an OSx break: "osname: unbound variable"
* [`[b479bd9]`](https://github.com/dotnet/cli/commit/b479bd9) LOC CHECKIN | cli-master | 20170529
* [`[bca5317]`](https://github.com/dotnet/cli/commit/bca5317) Update to SetupCrossgen 128 - Coherence 25179
* [`[b48b7d2]`](https://github.com/dotnet/cli/commit/b48b7d2) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: https://github.com/dotnet/designs/issues/2
* [`[b48b7d2]`](https://github.com/dotnet/cli/commit/b48b7d2) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: <https://github.com/dotnet/designs/issues/2>
* [`[7c8bf26]`](https://github.com/dotnet/cli/commit/7c8bf26) Allow resolution of SDKs without minimum msbuild version file
* [`[76cf6d4]`](https://github.com/dotnet/cli/commit/76cf6d4) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: https://github.com/dotnet/designs/issues/2 1. Branding changes 2. renaming of assets
* [`[76cf6d4]`](https://github.com/dotnet/cli/commit/76cf6d4) .NET Core 2+ Naming and Versioning New file name structure for the runtime and the CLI per: <https://github.com/dotnet/designs/issues/2> 1. Branding changes 2. renaming of assets
* [`[8b07dfa]`](https://github.com/dotnet/cli/commit/8b07dfa) Adding the runtime identifier option to dotnet clean.
* [`[9a669ab]`](https://github.com/dotnet/cli/commit/9a669ab) Updating the Sdk to one that includes the error surfacing work.
* [`[db68d45]`](https://github.com/dotnet/cli/commit/db68d45) Pinning the MSBuild Minimum version to 15.3.0.
* [`[1a11756]`](https://github.com/dotnet/cli/commit/1a11756) Addressing code review comments by comparing the versions differently and by changing the name of SDK to .NET Core SDK.
* [`[75eac0c]`](https://github.com/dotnet/cli/commit/75eac0c) Moving version validation to only when a SDK is not overriden. Also adding a validation for the minimum MSBuild version.
* [`[61c217c]`](https://github.com/dotnet/cli/commit/61c217c) Fix shared framework deb package name in response to https://github.com/dotnet/core-setup/pull/2461
* [`[e5c3791]`](https://github.com/dotnet/cli/commit/e5c3791) Update the runtime installer and archive file names in response to https://github.com/dotnet/core-setup/pull/2461
* [`[61c217c]`](https://github.com/dotnet/cli/commit/61c217c) Fix shared framework deb package name in response to <https://github.com/dotnet/core-setup/pull/2461>
* [`[e5c3791]`](https://github.com/dotnet/cli/commit/e5c3791) Update the runtime installer and archive file names in response to <https://github.com/dotnet/core-setup/pull/2461>
* [`[9083e0b]`](https://github.com/dotnet/cli/commit/9083e0b) Update documenet for enabled apt-get feeds
* [`[86609a2]`](https://github.com/dotnet/cli/commit/86609a2) Updating the links and badges for release/2.0.0
* [`[cfe06a9]`](https://github.com/dotnet/cli/commit/cfe06a9) Update NuGet to 4.3.0-preview1-4081 and SDK to corresponding 1.1.0 based version
Expand Down Expand Up @@ -692,7 +692,7 @@
* [`[7873693]`](https://github.com/dotnet/wcf/commit/7873693) Enable Test EchoComositeType_XmlSerializerFormat_Soap (#1905)
* [`[04a4868]`](https://github.com/dotnet/wcf/commit/04a4868) Adding proxy support to HTTP
* [`[84da668]`](https://github.com/dotnet/wcf/commit/84da668) Update the License Url for packages
* [`[8d9bfd8]`](https://github.com/dotnet/wcf/commit/8d9bfd8) Fix 1574 and enable tests * Use X509Certificate2 copy constructor as it becomes available in 2.0. * Enable those TCP tests require service certificate. They pass by using the X509Certificate2 copy constructor.
* [`[8d9bfd8]`](https://github.com/dotnet/wcf/commit/8d9bfd8) Fix 1574 and enable tests *Use X509Certificate2 copy constructor as it becomes available in 2.0.* Enable those TCP tests require service certificate. They pass by using the X509Certificate2 copy constructor.
* [`[c975ecc]`](https://github.com/dotnet/wcf/commit/c975ecc) Fixing #1402 (#1898)
* [`[f8bea43]`](https://github.com/dotnet/wcf/commit/f8bea43) Update docs of package versions for 2.0 Preview 1 release
* [`[9ad2325]`](https://github.com/dotnet/wcf/commit/9ad2325) Updating WCF dependencies on CoreFx and NetStandard to 25309-01
Loading

0 comments on commit f82833a

Please sign in to comment.