我正在使用 VS Code 编写一个 dotnet 核心应用程序。一切正常,但是当智能感知启动时(或者我将鼠标悬停在系统 API 上),我没有得到这些方法的任何文档。我假设有一个扩展?Event VS Code 的 node.js 系统包含文档。
我一定是在搜索错误的术语,因为我什至找不到关于这个主题的讨论。
更新:2020 年 7 月 23 日感谢 omajid。我实际上是在使用 System.IO 的一些 api
虽然我有许多 dll 的 xml 文档,但不是那个程序集:
System.IO.MemoryMappedFiles.xml
System.IO.Pipes.dll
System.IO.Pipes.xml
System.IO.UnmanagedMemoryStream.dll
System.IO.dll
System.Linq.Expressions.dll
System.Linq.Expressions.xml
System.Linq.Parallel.dll
System.Linq.Parallel.xml
System.Linq.Queryable.dll
System.Linq.Queryable.xml
我想我会尝试重新安装 dotnet。
还缺少核心 dll 文档文件:
mscorlib.dll
netstandard.dll
安装后我仍然有问题。我可以在其他目录中找到其他语言的 System.IO.xml,如下所示:
.//dotnet/sdk/NuGetFallbackFolder/system.io/4.1.0/ref/netstandard1.5/fr/System.IO.xml
.//dotnet/sdk/NuGetFallbackFolder/system.io/4.1.0/ref/netstandard1.5/System.IO.xml
.//dotnet/sdk/NuGetFallbackFolder/system.io/4.1.0/ref/netstandard1.5/es/System.IO.xml
7 月 26 日更新:我发现了部分问题。我的一个库是 netstandard2.0,另一个是 netstandard 2.1。较新的项目有帮助。请参阅问题https://github.com/dotnet/runtime/issues/39927
2020 年 8 月 19 日更新:该问题被标记为该问题的重复:https ://github.com/dotnet/standard/issues/1527