Build props refactoring, enabled TreatWarningsAsErrors
このコミットが含まれているのは:
1 親
38084c7548
コミット
2992825e4c
11ファイル変更
+65
-60
検索条件に一致するファイルはありません
@@ -14,7 +14,7 @@ namespace ComputeSharp.ImageProcessing
|
||||
static void Main()
|
||||
{
|
||||
Console.WriteLine(">> Loading image");
|
||||
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "city.jpg");
|
||||
string path = Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)!, "city.jpg");
|
||||
using Image<ImageSharpRgba32> image = Image.Load<ImageSharpRgba32>(path);
|
||||
|
||||
// Apply a series of processors and save the results
|
||||
@@ -29,7 +29,7 @@ namespace ComputeSharp.ImageProcessing
|
||||
|
||||
Console.WriteLine($">> Saving {effect.Name} to disk");
|
||||
string targetPath = Path.Combine(
|
||||
Path.GetRelativePath(Path.GetDirectoryName(path), @"..\..\..\"),
|
||||
Path.GetRelativePath(Path.GetDirectoryName(path)!, @"..\..\..\"),
|
||||
$"{Path.GetFileNameWithoutExtension(path)}_{effect.Name}{Path.GetExtension(path)}");
|
||||
copy.Save(targetPath);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする