[英]References of code not showing in asp.net core 3.1 web application
my codes in asp.net core 3.1 is not showing references at all, have created a book model class, and was expecting my code to looks like something like this,我在 asp.net 核心 3.1 中的代码根本没有显示参考,已经创建了一本书 model class,并希望我的代码看起来像这样,
0 refrences
public class book()
{
}
but it was only但这只是
public class book()
and these is as been going on everywhere in the scope of the project i created, i created two new project entirely to check if its the app but am stil not getting it.这些在我创建的项目的 scope 中随处可见,我完全创建了两个新项目来检查它是否是应用程序,但我仍然没有得到它。
when i tried it without using refrences, i later have errors inheriting class and some inbuilt functions.当我在不使用参考文献的情况下尝试它时,我后来在继承 class 和一些内置函数时遇到了错误。 Asp.net core 3.1 web application using.
Asp.net 内核 3.1 web 应用使用。 visual studio 2019 16.6.2 latest.
视觉工作室 2019 16.6.2 最新。
Remove()
suffix in book class because it denotes method.书中 class 中的
Remove()
后缀,因为它表示方法。
public class book
{
}
so i got a way to fix my question, i noticed that codelens as been turned off in my visual studio.所以我有办法解决我的问题,我注意到我的视觉工作室中的 codelens 已关闭。 To fix it:
要解决这个问题:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.