From 0c81f2b127c94a75257f05e24508209cc10419b0 Mon Sep 17 00:00:00 2001 From: ruki Date: Mon, 16 Mar 2026 23:51:45 +0800 Subject: remove find csproj --- xmake/rules/csharp/modules/itemgroups.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmake/rules/csharp/modules/itemgroups.lua') 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 -- cgit v1.3.1