Modifying csproj generator to not add references to shared projects
This commit is contained in:
parent
5a10bb338b
commit
07465158c2
|
|
@ -538,8 +538,9 @@ functions
|
|||
|
||||
var sb = new StringBuilder();
|
||||
|
||||
foreach (var reference in projectReferences)
|
||||
for(var i = 0; i < projectReferences.Count; i++)
|
||||
{
|
||||
var reference = projectReferences[i];
|
||||
var info = GetObject(projectMapping, reference);
|
||||
|
||||
if (info == null)
|
||||
|
|
@ -587,6 +588,9 @@ functions
|
|||
</Compile>", fullPath, relativePath);
|
||||
}
|
||||
}
|
||||
|
||||
projectReferences.RemoveAt(i);
|
||||
i--;
|
||||
}
|
||||
|
||||
return sb.ToString();
|
||||
|
|
|
|||
Loading…
Reference in New Issue