mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-22 22:09:12 +00:00
This commit is contained in:
parent
24329907f9
commit
32df9a2b43
2 changed files with 7 additions and 9 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue