[英]Method 'get_Properties' in type does not have an implementation
I have a .Net Core 2.0 app which was working absolutely fine.我有一个运行良好的 .Net Core 2.0 应用程序。 But after some changes I did (I can't identify what exactly) I'm getting error on runtime
但是在我做了一些更改之后(我无法确定到底是什么)我在运行时出现错误
I tried to revert all of my changes, but nothing helps... All StackTrace I can see:我试图恢复我的所有更改,但没有任何帮助......我能看到的所有 StackTrace:
at Microsoft.AspNetCore.Hosting.WebHostBuilder..ctor()
at RODIX.Tacs.Services.Import.Api.Program.Main(String[] args) in C:\Users\...\Program.cs:line 10
Where should I dig or what can be the problem?我应该在哪里挖掘或可能是什么问题? Thanks...
谢谢...
Update This problem disappeared when I changed Core version to 1.1 but still it's not a best solution更新当我将 Core 版本更改为 1.1 时,此问题消失了,但仍然不是最佳解决方案
You have to remove the references from the older version of your framework.您必须从旧版本的框架中删除引用。 You can do that editing the project file.
您可以编辑项目文件。 (.csproj)
(.csproj)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.