Add .NET Framework 4.7.2 samples in CI script

このコミットが含まれているのは:
Sergio Pedri committed 2021-11-18 11:57:07 +01:00
1 親 df430288ea
コミット 8a29aad011
6ファイル変更
+38 -13

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks>
<TargetFrameworks>net472;netcoreapp3.1;net6.0</TargetFrameworks>
<Platforms>AnyCPU;x64;ARM64</Platforms>
</PropertyGroup>
+10 -3
ファイルの表示
@@ -28,9 +28,16 @@ class Program
using Image copy = image.Clone(c => c.ApplyProcessor(effect.Processor));
Console.WriteLine($">> Saving {effect.Name} to disk");
string targetPath = Path.Combine(
Path.GetRelativePath(Path.GetDirectoryName(path)!, @"..\..\..\"),
$"{Path.GetFileNameWithoutExtension(path)}_{effect.Name}{Path.GetExtension(path)}");
string targetPath = Path.GetDirectoryName(path)!;
while (Path.GetFileName(targetPath) != "ComputeSharp.ImageProcessing")
{
targetPath = Path.GetDirectoryName(targetPath)!;
}
targetPath = Path.Combine(targetPath, $"{Path.GetFileNameWithoutExtension(path)}_{effect.Name}{Path.GetExtension(path)}");
copy.Save(targetPath);
}
}