有人能告诉我这里可能发生了什么吗?我有两个项目,都使用RazorMVC,也都在.cshtml文件中使用相同的代码,但其中一个没有输出<form>标记: @using (Html.BeginForm("AddAttachment", "Attachment", FormMethod.Post, new { id = "attachmentA
在尝试使用以下命令安装带有特定版本2.3.12的Nuget包"RazorGenerator.Mvc“时出现了此错误:
Install-Package RazorGenerator.Mvc -VersionThe package 'RazorGenerator.Mvc' tried to add a framework reference to 'System.Web.Mvc' which was not包"RazorGenerator.Mvc“的特定版本必须是2.