此内容没有您所选择的语言版本。
Chapter 8. Known Issues
The known issues for running .NET Core on Red Hat Enterprise Linux include:
- Use Red Hat Enterprise Linux 7 to run .NET Core; it will not run on earlier versions of Red Hat Enterprise Linux.
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
rm -rf ~/.nuget/packages/LibuvCopy to Clipboard Copied! Toggle word wrap Toggle overflow 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.
There are several known issues that occur when multiple users try to use NuGet in .NET Core.
- dotnet restore: temporary directory is expected to be user specific #1748
- Dotnet restore uses global temporary directory #2806
Dotnet restore uses global temporary directory #2793
NuGet uses a global temporary directory that makes it impossible for two users to use NuGet simultaneously. Multiple users trying to use NuGet one at a time will need to remove /tmp/NuGetScratch or change permissions so they own this directory when using NuGet.
- Math libraries that are part of .NET Core 1.1 can return different values on different platforms. This is expected behavior. .NET Core 1.1 takes advantage of the platform specific libraries to improve performance and reduce overhead. See the issue discussion for more information.
The .NET Core 1.1 software collection (rh-dotnetcore11) 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/
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 Copied! Toggle word wrap Toggle overflow The
dotnetcommand 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" } }{ "sdk": { "version": "1.0.0-preview2-1-003177" } }Copy to Clipboard Copied! Toggle word wrap Toggle overflow