title: Adding Project reference programmatically
body: <p>Basically, after read a couple links, i tried the above code:</p>
  
  <pre><code>foreach (EnvDTE.Project proj in soln.Projects)
          {
              if (proj.Name == "BLL")
              {
                  VSLangProj.VSProject vsproj = (VSLangProj.VSProject)proj.Object;                    
                  vsproj.References.Add(@"C:\Teste\DAL\bin\Debug\DAL.dll");                    
              }
          }
  </code></pre>
  
  <p>All paths, project names, are hard-coded on purpouse, since im still testing how to achieve it.</p>
  
  <p>Though it would act like if i did 
  Project folder -> References -> Add reference -> Pick one, manually (compile time)</p>
  
  <p>but after loading the solution, BLL project didnt contain any PERMANENT reference to DAL project.</p>