ASP.NET Core 2.0 Could not load file or assembly System.ServiceModel

前端 未结 2 1504
梦毁少年i
梦毁少年i 2021-01-07 20:16

I am working on porting an \"ASP.NET Core Web Application\" that was compiling under the .NET Framework 4.6.1 (i.e. full framework) over to compiling against .NET Core 2.0.

2条回答
  •  悲哀的现实
    2021-01-07 20:33

    I solved this problem installing the Nuget package:

    Install-Package Microsoft.Windows.Compatibility
    

    I was using ASP.net Core 2.2 but maybe works for 2.0v too

提交回复
热议问题