이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 7. Known issues


The known issues for running .NET Core on Red Hat Enterprise Linux (RHEL) include the following issues.

  1. .NET Core only runs on RHEL 7.x; it does not run on earlier versions of RHEL.
  2. .NET Core SDK 2.1.3xx contains an incorrect NETStandard.Library version. Using this SDK version may result in build failures. To correct this issue, update to SDK 2.1.402 (or later). To update to the latest SDK version, install the latest .NET Core software. To install the latest software, see Installing .NET Core 2.1.

    If there is a global.json file that specifies the SDK version and you do not want to update to the latest SDK version, you can work around this issue by removing the following entry in the csproj file.

    <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
  3. The ASP.NET Core Shared Framework is not available on RHEL. Deployed ASP.NET Core applications must include the ASP.NET Core packages. For more information, see Publishing ASP.NET applications.
  4. Global tools that are preinstalled with Microsoft SDK are not available by default on RHEL. The dev-certs, ef, sql-cache, user-secrets, and watch commands are available by default with the Microsoft SDK. On RHEL, these tools can be installed from nuget.org using the dotnet tool install --global <tool> --version '2.1.*' command. When a tool is not installed, the CLI prints the command to install it, for example, dotnet tool install --global dotnet-ef. Note that the version flag --version '2.1.*' should be used to work around the following known issue.

    The Microsoft SDK always installs the latest version of a tool. When the latest tool version is not compatible with the installed runtimes, the installation will fail. To install the tool, you must specify an older version that is compatible with .NET Core 2.1 using the --version option. The versions can be found at nuget.org. The 2.2.x tool versions preinstalled with the Microsoft SDK are not compatible with .NET Core 2.1. To install them for .NET Core 2.1, add --version '2.1.*' as shown in the example in the previous paragraph. This issue is being tracked on GitHub.

  5. Starting with the release of .NET Core 2.2, these global tools may fail to install via dotnet tool install --global dotnet-ef. The error will say that the tool only supports netcoreapp2.2. Use an explicit --version flag to work around this. For example, use dotnet tool install --global dotnet-ef --version 2.1.1 to install a version of dotnet ef that works with .NET Core 2.1. The versions can be found via nuget.org.
  6. dotnet dev-certs https --trust does not work on RHEL.

    .NET Core supports the creation of HTTPS certificate through dotnet dev-certs https, but it does not support trusting them through dotnet dev-certs https --trust. The client that connects to the ASP.NET Core application, such as curl or firefox, will warn about the untrusted self-signed certificate. To work around this in a browser such as Firefox, ignore the warning and trust the certificate explicitly when the warning about the untrusted certificate comes up. Command-line tools support flags to ignore untrusted certificate. For curl, use --insecure. For wget, use --no-check-certificate.

  7. There are different values for math libraries on different platforms.

    Math libraries that are part of .NET Core 2.1 can return different values on different platforms. This is expected behavior. .NET Core 2.1 takes advantage of the platform-specific libraries to improve performance and reduce overhead. See the Math.Cos(double.MaxValue) returns different values on Windows and other platforms issue discussion for more information.

    The following issues affected the previous release of .NET Core on RHEL and were fixed by updates.

  8. For some commands, the 2.1.300 SDK prints out it is a preview version. This erroneous message can be safely ignored. This was fixed in the .NET Core SDK 2.1.301 update release.
  9. The language server used by Visual Studio Code, OmniSharp, does not work with .NET Core 2.1. This was fixed in the .NET Core SDK 2.1.301 update release.

See Known issues for .NET Core, ASP.NET Core, and ASP.NET and Web Tools in Visual Studio 2017 for more information about using Visual Studio with .NET Core 2.1.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동