mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 02:29:39 +08:00
Update Demo
This commit is contained in:
@@ -47,9 +47,10 @@ namespace SugarCodeGeneration.Codes
|
|||||||
var root = xe.Root;
|
var root = xe.Root;
|
||||||
|
|
||||||
XElement itemGroup = new XElement("ItemGroup");
|
XElement itemGroup = new XElement("ItemGroup");
|
||||||
itemGroup.Add(new XElement("Name", refProjectName));
|
var refItem = new XElement("ProjectReference", new XAttribute("Include", string.Format(@"..\{0}\{0}.csproj", refProjectName)));
|
||||||
itemGroup.Add(new XElement("Project", "{" + ProjectIds[refProjectName] + "}"));
|
refItem.Add(new XElement("Name", refProjectName));
|
||||||
itemGroup.Add(new XElement("ProjectReference", new XAttribute("Include", string.Format(@"..\{0}\{0}.csproj", refProjectName))));
|
refItem.Add(new XElement("Project", "{" + ProjectIds[refProjectName] + "}"));
|
||||||
|
itemGroup.Add(refItem);
|
||||||
root.Add(itemGroup);
|
root.Add(itemGroup);
|
||||||
|
|
||||||
newXml = xe.ToString().Replace("xmlns=\"\"", "");
|
newXml = xe.ToString().Replace("xmlns=\"\"", "");
|
||||||
|
Reference in New Issue
Block a user