This commit is contained in:
mterwoord_cp 2010-12-05 17:53:26 +00:00
parent 24329907f9
commit 32df9a2b43
2 changed files with 7 additions and 9 deletions

View file

@ -348,7 +348,7 @@ namespace Microsoft.VisualStudio.Project
// Get the list of items which require HintPath
ICollection<ProjectItemInstance> references = this.ProjectMgr.CurrentConfig.GetItems(MsBuildGeneratedItemType.ReferenceCopyLocalPaths);
// Remove the HintPath, we will re-add it below if it is needed
if(!String.IsNullOrEmpty(this.assemblyPath))
{
@ -401,13 +401,11 @@ namespace Microsoft.VisualStudio.Project
}
// Check if we have to resolve again the path to the assembly.
if(string.IsNullOrEmpty(this.assemblyPath))
{
ResolveReference();
}
// Make sure that the hint path if set (if needed).
SetHintPathAndPrivateValue();
if (string.IsNullOrEmpty(this.assemblyPath))
{
ResolveReference();
SetHintPathAndPrivateValue();
}
}
/// <summary>

View file

@ -12,8 +12,8 @@ PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using VSLangProj;
using EnvDTE;
using VSLangProj;
namespace Microsoft.VisualStudio.Project.Automation
{