From e1da0881de6dd1bd46d406d55c860b3510c7c6b2 Mon Sep 17 00:00:00 2001 From: sunkaixuan <610262374@qq.com> Date: Thu, 17 Jan 2019 19:35:12 +0800 Subject: [PATCH] Update Demo --- Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs b/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs index bc5a6d4c4..87f2a24db 100644 --- a/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs +++ b/Src/Asp.Net/SugarCodeGeneration/Codes/Methods.cs @@ -55,7 +55,7 @@ namespace SugarCodeGeneration.Codes { foreach (var item in noAddFiles) { - var addItem = new XElement("Compile", new XAttribute("Include", item)); + var addItem = new XElement("Compile", new XAttribute("Include", item.TrimStart('\\'))); itemGroup.AddFirst(addItem); } }