无法创建Azure项目MVC4 Web角色 [英] Unable to create MVC4 web role for Azure project

查看:140
本文介绍了无法创建Azure项目MVC4 Web角色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图创造的Visual Studio 2012旗舰版,在一个单一的MVC4 Web角色的Azure项目,但得到这个错误消息。

I tried creating an Azure project in Visual Studio 2012 Ultimate with a single MVC4 web role in it but got this error message.

创建不包含我想要的MVC4角色后,该项目本身。我只发现了类似的错误消息MVC2和我的另一台计算机上正常工作。

The project itself after creating didn't contain the MVC4 role I wanted. I only found similar error messages for MVC2 and on my other computer it works fine.

推荐答案

roletemplatedata.xml 文件包含在Visual Studio每个Windows Azure项目的文件(如:Web角色与MVC3,MVC4 ,WCF,...)。您应该能够找到它在 C:\ Program Files文件(x86)的\微软的Visual Studio 11.0 \ Common7 \ IDE \ ItemTemplatesCache \ CloudService

The roletemplatedata.xml file is a file included in each Windows Azure project in Visual Studio (ie: Web Roles with MVC3, MVC4, WCF, ...). You should be able to find it under C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ItemTemplatesCache\CloudService.

如果您无法找到该文件有可能出错了在Windows Azure SDK(VS2012工具)的安装。尝试卸载每个Windows Azure的组件,下载完整安装程序这里(安装SDK链接),并重新安装。这应该可以解决你的问题。

If you can't find this file there is probably something wrong with the installation of the Windows Azure SDK (VS2012 tools). Try to uninstall every Windows Azure component, download the latest version of the full installer here (install the SDK link) and install it again. This should fix your problem.

这篇关于无法创建Azure项目MVC4 Web角色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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