There is now a NuGet package called Microsoft.AspNetCore.SystemWebAdapters that provides the features of VirtualPathUtility from System.Web to an ASP.NET Core application.
Microsoft.AspNetCore.SystemWebAdapters
VirtualPathUtility
System.Web
https://github.com/dotnet/systemweb-adapters