From c4f3a8eba2bb18f3fd1b42628f15db17f2dfafef Mon Sep 17 00:00:00 2001 From: Scott Williams Date: Wed, 4 Jan 2017 07:12:16 +0000 Subject: [PATCH] fixed stylecop path --- build/Program.cs | 5 ++--- build/project.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/build/Program.cs b/build/Program.cs index 9c70b2490..a79743393 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -170,10 +170,9 @@ namespace ConsoleApplication private static void ResetProject(List projects) { - if (File.Exists("build-inner.bak")) + if (File.Exists("build-inner.cmd")) { - File.Copy("build-inner.bak", "build-inner.cmd", true); - File.Delete("build-inner.bak"); + File.Delete("build-inner.cmd"); } // revert the project.json change be reverting it but skipp all the git stuff as its not needed diff --git a/build/project.json b/build/project.json index d62c456cb..cf95cc8a0 100644 --- a/build/project.json +++ b/build/project.json @@ -4,7 +4,7 @@ "debugType": "portable", "emitEntryPoint": true, "xmlDoc": true, - "additionalArguments": [ "/additionalfile:../src/ImageSharp/stylecop.json", "/ruleset:../ImageSharp.ruleset" ] + "additionalArguments": [ "/additionalfile:../src/Shared/stylecop.json", "/ruleset:../ImageSharp.ruleset" ] }, "dependencies": { "Microsoft.DotNet.ProjectModel": "1.0.0-rc3-003121",