parent
32151316a8
commit
04840ec2f0
@ -879,11 +879,6 @@
|
|||||||
function m.projectReferences(prj)
|
function m.projectReferences(prj)
|
||||||
local refs = project.getdependencies(prj, 'linkOnly')
|
local refs = project.getdependencies(prj, 'linkOnly')
|
||||||
if #refs > 0 then
|
if #refs > 0 then
|
||||||
-- sort dependencies by uuid.
|
|
||||||
table.sort(refs, function(a,b)
|
|
||||||
return a.uuid < b.uuid
|
|
||||||
end)
|
|
||||||
|
|
||||||
p.push('<ItemGroup>')
|
p.push('<ItemGroup>')
|
||||||
for _, ref in ipairs(refs) do
|
for _, ref in ipairs(refs) do
|
||||||
local relpath = vstudio.path(prj, vstudio.projectfile(ref))
|
local relpath = vstudio.path(prj, vstudio.projectfile(ref))
|
||||||
|
@ -152,12 +152,6 @@
|
|||||||
function container.bakeChildren(self)
|
function container.bakeChildren(self)
|
||||||
for class in container.eachChildClass(self.class) do
|
for class in container.eachChildClass(self.class) do
|
||||||
local children = self[class.pluralName]
|
local children = self[class.pluralName]
|
||||||
|
|
||||||
-- sort children by name.
|
|
||||||
table.sort(children, function(a,b)
|
|
||||||
return a.name < b.name
|
|
||||||
end)
|
|
||||||
|
|
||||||
for i = 1, #children do
|
for i = 1, #children do
|
||||||
local ctx = container.bake(children[i])
|
local ctx = container.bake(children[i])
|
||||||
children[i] = ctx
|
children[i] = ctx
|
||||||
|
Reference in New Issue
Block a user