public void AddReference(string referencePath, Stream stream)
{
string fullPath = PathUtility.GetAbsolutePath(Root, referencePath);
string relativePath = PathUtility.GetRelativePath(Project.FullPath, fullPath);
// REVIEW: Do we need to use the fully qualified the assembly name for strong named assemblies?
string include = Path.GetFileNameWithoutExtension(fullPath);
Project.AddItem("Reference",
include,
new[] {
new KeyValuePair<string, string>("HintPath", relativePath)
});
}