我正在尝试使用Visual Studio Code在Mac上开发Asp .Net Core MVC应用程序。事情大多是工作确定,但我不能让智能感知到工作Taghelpers在我的意见。我看到其他人在Visual Studio上发布了相同的问题,但在Mac上没有发布Visual Studio Code。我不确定这有多大作用。我对Asp还是陌生的。
我有
"Microsoft.AspNetCore.Razor.Tools": {
"type": "build",
"version": "1.0.0-preview2-final"
},
和
"tools": {
"Microsoft.AspNetCore.Razor.Tools": "1.0.0-preview2-final"
},
在project.json上。
我也有
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
在_ViewImports.cshtml上
除了Taghelpers,Intellisense在View上都可以正常工作。
有什么建议么?
遗憾的是,Visual Studio Code当前不支持TagHelper IntelliSense。不过,这是我们正在为未来而努力!
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句