configured 1.3 and 1.4 to compile with 4.7.2

This commit is contained in:
Stardust3D 2024-06-04 15:20:44 +02:00
parent 1de3af7b9a
commit 3d54186905
7 changed files with 13 additions and 13 deletions

View file

@ -12,7 +12,7 @@ tasks.register<com.ullink.Msbuild>("buildC#_1.3") {
// or a project file (.csproj or .vbproj)
projectFile = file("${rootProject.name}/${rootProject.name}_1.3.csproj")
targets = listOf("Clean", "Rebuild")
targets = listOf("Restore", "Clean", "Rebuild")
configuration = "Release"
// destinationDir = "build/msbuild/bin"
@ -24,7 +24,7 @@ tasks.register<com.ullink.Msbuild>("buildC#_1.4") {
// or a project file (.csproj or .vbproj)
projectFile = file("${rootProject.name}/${rootProject.name}_1.4.csproj")
targets = listOf("Clean", "Rebuild")
targets = listOf("Restore", "Clean", "Rebuild")
configuration = "Release"
// destinationDir = "build/msbuild/bin"
@ -36,7 +36,7 @@ tasks.register<com.ullink.Msbuild>("buildC#_1.5") {
// or a project file (.csproj or .vbproj)
projectFile = file("${rootProject.name}/${rootProject.name}_1.5.csproj")
targets = listOf("Clean", "Rebuild")
targets = listOf("Restore", "Clean", "Rebuild")
configuration = "Release"
// destinationDir = "build/msbuild/bin"
@ -44,7 +44,7 @@ tasks.register<com.ullink.Msbuild>("buildC#_1.5") {
tasks.register<Exec>("sign_1.3") {
dependsOn("buildC#_1.3")
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48")
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net472")
executable = "H:\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe"
args = listOf(
"sign",
@ -62,7 +62,7 @@ tasks.register<Exec>("sign_1.3") {
tasks.register<Exec>("sign_1.4") {
dependsOn("buildC#_1.4")
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net48")
workingDir = project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net472")
executable = "H:\\Windows Kits\\10\\bin\\10.0.22621.0\\x64\\signtool.exe"
args = listOf(
"sign",
@ -137,13 +137,13 @@ tasks.register<Copy>("copy_1.5") {
tasks.register<Copy>("copyDll_1.3") {
dependsOn("sign_1.3")
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48/${rootProject.name}.dll"))
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net472/${rootProject.name}.dll"))
into(project.projectDir.parentFile.resolve("1.3/Assemblies"))
}
tasks.register<Copy>("copyDll_1.4") {
dependsOn("sign_1.4")
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net48/${rootProject.name}.dll"))
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.4/net472/${rootProject.name}.dll"))
into(project.projectDir.parentFile.resolve("1.4/Assemblies"))
}