summaryrefslogtreecommitdiff
path: root/xmake/rules/csharp/modules/itemgroups.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-03-16 23:51:45 +0800
committerruki <[email protected]>2026-03-16 23:51:45 +0800
commit0c81f2b127c94a75257f05e24508209cc10419b0 (patch)
treec38c24c7503935026925d6e8ca9266e065105f00 /xmake/rules/csharp/modules/itemgroups.lua
parent495d8e9f70608edf20f9b719df96312a21ae78c3 (diff)
remove find csproj
Diffstat (limited to 'xmake/rules/csharp/modules/itemgroups.lua')
-rw-r--r--xmake/rules/csharp/modules/itemgroups.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/csharp/modules/itemgroups.lua b/xmake/rules/csharp/modules/itemgroups.lua
index 6a7506bba..93e25ea53 100644
--- a/xmake/rules/csharp/modules/itemgroups.lua
+++ b/xmake/rules/csharp/modules/itemgroups.lua
@@ -46,7 +46,7 @@ function _collect_project_references(context)
for _, depname in ipairs(table.wrap(context.target:get("deps"))) do
local dep = context.target:dep(depname)
if dep and context.opt.is_csharp_target and context.opt.is_csharp_target(dep) then
- local depcsproj = context.opt.find_or_generate_csproj and context.opt.find_or_generate_csproj(dep)
+ local depcsproj = context.opt.generate_csproj_file and context.opt.generate_csproj_file(dep)
if depcsproj then
table.insert(references, _normalize_relative(context.csprojdir, depcsproj))
end