Visual Studio 缺少用户界面位 [英] Visual studio missing user interface bits

查看:46
本文介绍了Visual Studio 缺少用户界面位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 orchard 的代码生成器制作了一个样板模块.这创建了一个 csproj,其中包含 MVC3 格式的样板文件和文件夹.

I used orchard's codegen to make a boilderplate module. This created a csproj with boilerplate files and folders in MVC3 format.

但是,visual studio 没有 MVC 项目附带的 UI 助手(例如添加控制器).

However visual studio doesnt have the UI helpers that come along with an MVC project (such as add controller).

如何更改项目设置以恢复漂亮的 MVC UI?

How do i change the project settings to get the nice MVC UI back?

普通MVC项目:

果园样板项目:

推荐答案

在这里回答:https://stackoverflow.com/a/4610008/828859

需要更改csproj文件中的这一行

Needed to change this line in the csproj file

<ProjectTypeGuids>{E53F8FEA-EAE0-44A6-8774-FFD645390401};{349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}</ProjectTypeGuids>

这篇关于Visual Studio 缺少用户界面位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆