diff options
| author | ruki <[email protected]> | 2026-03-16 23:48:44 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2026-03-16 23:48:44 +0800 |
| commit | 8aa975d2fc26c603146c933684aba299bd3dc60c (patch) | |
| tree | 7171a1e31b74bd464bfd3097ae9afbce6830d541 /xmake/modules/core/tools/dotnet.lua | |
| parent | 9ef3fac69885dccdb5feb27fed261b05984b914b (diff) | |
improve to get csproj file
Diffstat (limited to 'xmake/modules/core/tools/dotnet.lua')
| -rw-r--r-- | xmake/modules/core/tools/dotnet.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/core/tools/dotnet.lua b/xmake/modules/core/tools/dotnet.lua index 62d9a63d2..9a502b616 100644 --- a/xmake/modules/core/tools/dotnet.lua +++ b/xmake/modules/core/tools/dotnet.lua @@ -68,7 +68,7 @@ function nf_warning(self, level) end -- get the .csproj file from source files -function _get_csprojfile(sourcefiles, opt) +function _get_csprojfile(opt) local target = opt and opt.target if target then local csprojfile = target:data("csharp.csproj") @@ -100,7 +100,7 @@ function buildargv(self, sourcefiles, targetkind, targetfile, flags, opt) local argv = {"build"} -- add .csproj file - local csprojfile = _get_csprojfile(sourcefiles, opt) + local csprojfile = _get_csprojfile(opt) if csprojfile then table.insert(argv, csprojfile) end |
