【发布时间】:2017-10-02 23:40:37
【问题描述】:
Intellisense 在 Xamarin Mono.Android 项目中的 Razor 文件 (.cshtml) 中不起作用(例如,您的 RazorTodo 或 VS2017: New Project -> Choose Visual C# -> WebView-App (Android))
编译没问题,但我收到了引用错误(仅限 Intellisense)。
The type or namespace name 'Linq' does not exist in the namespace 'System'
The type or namespace name 'Helpers' does not exist in the namespace 'System.Web'
The type or namespace name 'WebPages' does not exist in the namespace 'System.Web'
C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoAndroid\ 中没有System.Web.dll
我只是想知道这是否是预期行为?
如果需要,我将提供进一步的屏幕截图或信息。感谢您的支持。
此外,我无法编译该项目。我的 Razor 视图 (.cshtml) 的已处理文件 (.cs) 中存在错误。
Name "Href" is not found in current context
这里有什么问题?
【问题讨论】:
标签: android xamarin razor webview visual-studio-2017