Chapter 3. Known Issues

  1. ASP.NET Core applications published as framework-dependent fail to run with dotnet/dotnet-21-runtime-rhel7 because the ASP.NET Core shared framework is missing. See Shared Framework issue in .NET Core 2.1 Release Notes for RPMs for more information.
  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, change the DOTNET_SDK_VERSION environment variable to 2.1.402 (or to the latest preferred SDK version or the setting latest). For more information about this and other environment variables, see Section 2.3., Environment Variables.

    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>

    See Chapter 7, Known Issues in the .NET Core 2.1 Release Notes for RPMs for a list of known issues and workarounds for RPMs.

Report a bug