简体   繁体   English

类型中的方法“get_Properties”没有实现

[英]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.

相关问题 类型&#39;ServiceStack.JsonServiceClient&#39;中的方法&#39;Get&#39;…没有实现 - Method 'Get' in type 'ServiceStack.JsonServiceClient' … does not have an implementation 为什么会收到虚假的TypeLoadException“方法 <foo> 在类型上 <bar> 从组装 <baz> 没有实现”? - Why do I get a spurious TypeLoadException “Method <foo> in type <bar> from assembly <baz> does not have an implementation”? TypeLoadException:类型中的方法“创建”...没有实现(以下错误) - TypeLoadException: Method 'Create' in type ... does not have an implementation (Error Below) Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.NpgsqlOptionsExtension 类型中的方法“get_Info”没有实现 - Method 'get_Info' in type Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.NpgsqlOptionsExtension does not have an implementation 零星的“程序集类型中的方法&#39;get_Session&#39;没有实现” - Sporadic “Method 'get_Session' in type from assembly does not have an implementation” System.TypeLoadException:方法“get_xxx”没有实现 - System.TypeLoadException: Method 'get_xxx' does not have an implementation NHibernate类型没有实现 - NHibernate type does not have an implementation 方法“CommonCreateArrayTypeSymbol”没有实现 - Method 'CommonCreateArrayTypeSymbol' does not have an implementation 程序集“ myAssembly”中类型为“ MyNamespace.MyType”的System.TypeLoadException方法“ GetX”没有实现 - System.TypeLoadException Method 'GetX' in type 'MyNamespace.MyType' from assembly 'myAssembly' does not have an implementation Azure Function 无法启动并显示错误“来自程序集 z 的类型 y 中的方法 x 没有实现”。 - Azure Function fails to start with error "Method x in type y from assembly z does not have an implementation."
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM