diff options
Diffstat (limited to 'xmake/rules/csharp/install.lua')
| -rw-r--r-- | xmake/rules/csharp/install.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/rules/csharp/install.lua b/xmake/rules/csharp/install.lua index 34109a054..32cc9e8e0 100644 --- a/xmake/rules/csharp/install.lua +++ b/xmake/rules/csharp/install.lua @@ -18,7 +18,7 @@ -- @file install.lua -- -import("csharp_common") +import("modules.csharp_common", {rootdir = os.scriptdir(), alias = "csharp_common"}) function main(target, opt) local function _q(arg) @@ -29,7 +29,7 @@ function main(target, opt) return arg end - 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() |
