Chapter 6. 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/Libuv
Copy 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.
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/
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
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" } }
{ "sdk": { "version": "1.0.0-preview2-1-003177" } }
Copy to Clipboard Copied! Toggle word wrap Toggle overflow