mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-04-20 08:05:45 +00:00
Change c# projects to dotnet framework version 4.5 due to dependencies not being available for newer versions
This commit is contained in:
parent
5245f40307
commit
146c992dd5
@ -20,6 +20,7 @@ function ZoneCodeGenerator:project()
|
||||
location "%{wks.location}/src/%{prj.name}"
|
||||
kind "ConsoleApp"
|
||||
language "C#"
|
||||
dotnetframework "4.5"
|
||||
namespace "ZoneCodeGenerator"
|
||||
|
||||
files {
|
||||
|
@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace ZoneCodeGenerator.Utils
|
||||
{
|
||||
@ -9,5 +10,11 @@ namespace ZoneCodeGenerator.Utils
|
||||
m1 = keyValuePair.Key;
|
||||
m2 = keyValuePair.Value;
|
||||
}
|
||||
|
||||
public static void Deconstruct<T1, T2>(this Tuple<T1, T2> keyValuePair, out T1 m1, out T2 m2)
|
||||
{
|
||||
m1 = keyValuePair.Item1;
|
||||
m2 = keyValuePair.Item2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -20,6 +20,7 @@ function ZoneCodeGeneratorTests:project()
|
||||
location "%{wks.location}/test/%{prj.name}"
|
||||
kind "SharedLib"
|
||||
language "C#"
|
||||
dotnetframework "4.5"
|
||||
|
||||
files {
|
||||
path.join(folder, "ZoneCodeGeneratorTests/**.cs")
|
||||
|
Loading…
x
Reference in New Issue
Block a user