summaryrefslogtreecommitdiff
path: root/xmake/rules/csharp/installcmd.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/rules/csharp/installcmd.lua')
-rw-r--r--xmake/rules/csharp/installcmd.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/csharp/installcmd.lua b/xmake/rules/csharp/installcmd.lua
index 76c051a59..7e1e385b4 100644
--- a/xmake/rules/csharp/installcmd.lua
+++ b/xmake/rules/csharp/installcmd.lua
@@ -18,10 +18,10 @@
-- @file installcmd.lua
--
-import("csharp_common")
+import("modules.csharp_common", {rootdir = os.scriptdir(), alias = "csharp_common"})
function main(target, batchcmds, opt)
- local csprojfile = assert(csharp_common.find_csproj(target), "target(%s): missing csharp .csproj file!", target:name())
+ local csprojfile = assert(csharp_common.find_or_generate_csproj(target), "target(%s): missing csharp .csproj file!", target:name())
local dotnet = csharp_common.get_dotnet_program(target)
local configuration = csharp_common.build_mode_to_configuration()
local verbosity = csharp_common.get_dotnet_verbosity()