将一个 Razor Class Library 项目升级至 .NET Core 3.0 ,升级方法是将 TargetFramework 由 netstandard2.0 改为 netcoreapp3.0 ,在 VS2019 中 build 出错,出错信息如下
错误1:
Error CS0115 'Template.ExecuteAsync()': no suitable method found to override错误2:
Error CS0101 The namespace 'Razor' already contains a definition for 'Template'错误3:
Error CS0111 Type 'Template' already defines a member called 'ExecuteAsync' with the same parameter types请问如何解决?
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/3173/viewspace-3136290/ ,如需转载,请注明出处,否则将追究法律责任。