首先是我的文件结构
Services.Abstraction.Common
Services.Abstraction.Claims
Services.Abstraction.Clearance在Visiual Studio 2010中,我在Claims项目中,我希望访问来自Common层的类,该层与Claims和Clearance处于同一级别。我在Claims项目中使用了下面的名称空间。然而,它说Common不存在,Common文件夹中的所有函数也不存在。
using System.Collections.Generic;
using System;
using System.Xml;
using System.Xml.Serialization;
using Services.Abstraction.Common;我该如何解决这个问题?我是不是在命名空间中弄错了,还是必须向程序集中添加一些东西?
发布于 2011-10-28 03:19:52
http://msdn.microsoft.com/en-us/library/7314433t(v=vs.80).aspx
这里没什么好说的..。此链接向您解释如何在visual studio中添加引用,可能您的问题是缺少对其他dll或项目的引用,我说错了吗?
https://stackoverflow.com/questions/7921130
复制相似问题