我在创建MVC
项目,我使用的是C#代码。我有如何在C#中添加新的名称空间#
`CloudConfigurationManager`
in using read db value。它显示红色错误。我搜索谷歌我需要添加命名空间。 using Microsoft.Azure;
我已经补充说,也不过再次得到错误筛选
type or namespace 'Azure' does not exist in the namespace 'microsoft' (are you missing an assembly reference?) showing like this how to fix this issue how can I add namespace Azure?
安装
Install-Package Microsoft.WindowsAzure.ConfigurationManager
你甚至阅读的错误? “(你是否错过了一个程序集引用?)”非常清楚。您是否缺少装配参考? –扩展项目引用时,是否有名称为“Microsoft.Azure”的参考? – Zippy
你知道如何使用nuget吗?如果你不这样做,学习。安装Microsoft.WindowsAzure.ConfigurationManager包来解决您的问题。无论您要遵循的教程或指南应该已经告诉过您。 –