Пример #1
0
 private ReferencedAssembly(VsProject project, XElement xElement)
 {
     FullName = xElement.Attribute("Include").Value;
     XNamespace xn = "http://schemas.microsoft.com/developer/msbuild/2003";
     var hintPath = xElement.Element(xn + "HintPath");
     if(hintPath != null)
     {
         AssemblyPath = Path.Combine(project.ProjectPath, hintPath.Value);
     }
     ParseSegments(FullName.Split(','));
 }
Пример #2
0
 public static ReferencedAssembly Load(VsProject project, XElement xElement)
 {
     return new ReferencedAssembly(project, xElement);
 }