此内容没有您所选择的语言版本。

Chapter 6. Known Issues


The known issues for running .NET Core on Red Hat Enterprise Linux include:

  1. Use Red Hat Enterprise Linux 7 to run .NET Core; it will not run on earlier versions of Red Hat Enterprise Linux.
  2. If you encounter problems with publishing self-contained applications on Red Hat Enterprise Linux 7 for other platforms where the errors clearly talk about libuv, use this workaround.

    rm -rf ~/.nuget/packages/Libuv
    Copy to Clipboard Toggle word wrap

    This will delete the Red Hat-built libuv nuget package and let dotnet download (on the next run) the Microsoft-built libuv package that includes libuv built for all the platforms supported by .NET Core.

  3. The .NET Core 1.0 software collection (rh-dotnetcore10) ships with the project.json build system (1.0.0-preview2 SDK). Visual Studio 2017 does not support the project.json build system. Support for the msbuild/csproj build system will be added in the .NET Core 2.0 release.

    • Use the installer to install the 1.0.0-preview2 SDK on a Microsoft Windows platform.
    • To install the 1.0.0-preview2 SDK on non-RHEL Linux:

      • follow these instructions to install .NET Core on your system.
      • add the 1.0.0-preview2 SDK.

        cd /tmp wget https://raw.githubusercontent.com/dotnet/cli/rel/1.0.0/scripts/obtain/dotnet-install.sh
        chmod +x ./dotnet-install.sh ./dotnet-install.sh -v 1.0.0-preview2-1-003177 -i /tmp/dotnet
        sudo cp -r /tmp/dotnet/sdk/* /opt/dotnet/sdk/
        Copy to Clipboard Toggle word wrap

        The dotnet command defaults to using the latest SDK on the system. To explicitly make it use the 1.0.0-preview2 SDK, add a global.json file in your project root.

        {
            "sdk": { "version": "1.0.0-preview2-1-003177" }
        }
        Copy to Clipboard Toggle word wrap

Report a bug

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat