ASP.NET Core 'Microsoft.Win32.Registry' 错误修复

今天在发布Asp.net Core应用到Azure的时候出现错误`InvalidOperationException: Cannot find compilation library location for package ‘Microsoft.Win32.Registry’` 具体信息如下 ``` 2018-04-01 12:44:37.141 +00:00 [Fatal] Hosting startup assembly exception System.InvalidOperationException: Startup assembly Microsoft.AspNetCore.Az ...