public MSBuildAssemblyReference(XmlElement xe, ReferencesResolver referencesResolver, ProjectBase parent, GacCache gacCache, string name, string priv, string hintpath, string extension)
: base(new DummyXmlElement(xe.OwnerDocument), referencesResolver, parent, gacCache)
{
if (extension == null || extension.Length == 0) {
extension = ".dll";
}
if (name.Contains(",")) {
//fully specified reference. Hmmm - just ignore it for now.
name = name.Split(',')[0];
//if (hintpath.Length == 0) //hintpath workaround
// hintpath = "." + Path.DirectorySeparatorChar + name + extension; // ".dll";
}
_name = name;
_helper = new MSBuildReferenceHelper(priv, false);
_hintpath = hintpath;
_assemblyFile = ResolveAssemblyReference();
}