From 20e7312ec7a76cc8821f62d3a2adf7f4c7cdafc2 Mon Sep 17 00:00:00 2001 From: Eli Aloni Date: Tue, 21 Nov 2023 12:21:41 +0200 Subject: [PATCH] Added global.json ,force using .NET 6.X in the project --- new-project.sh | 1 + script/create-project.sh | 1 + template/global.json | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 template/global.json diff --git a/new-project.sh b/new-project.sh index 593641bb..112e732d 100755 --- a/new-project.sh +++ b/new-project.sh @@ -192,6 +192,7 @@ cp "-r" "tools/UrhoCooker" "$projPath/tools" cp "template/obfuscar.xml" "$projPath/obfuscar.xml" +cp "template/global.json" "$projPath/global.json" mkdir "-p" "$projPath/platform" mkdir "-p" "$projPath/platform/android/java" diff --git a/script/create-project.sh b/script/create-project.sh index 2dd3017e..899209ca 100644 --- a/script/create-project.sh +++ b/script/create-project.sh @@ -176,6 +176,7 @@ cp "-R" "tools/bash_mini/." "$projPath/tools/bash" cp "-r" "tools/UrhoCooker" "$projPath/tools" cp "template/obfuscar.xml" "$projPath/obfuscar.xml" +cp "template/global.json" "$projPath/global.json" mkdir "-p" "$projPath/platform" mkdir "-p" "$projPath/platform/android/java" diff --git a/template/global.json b/template/global.json new file mode 100644 index 00000000..3d271556 --- /dev/null +++ b/template/global.json @@ -0,0 +1,7 @@ +{ + "sdk": { + "version": "6.0.100", + "rollForward": "feature", + "allowPrerelease": false + } +} \ No newline at end of file