1 Commits
Author SHA1 Message Date
qwsdcvghyu89 81bb2ea5c4 Remove unused local project types and dependencies, update to aeqw89.xml.ProjectFile. 2025-09-21 16:47:47 +10:00
32 changed files with 38 additions and 603 deletions
-7
View File
@@ -1,7 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal sealed class Content : Item {
public Content(XmlElement node) : base(node) { }
}
-55
View File
@@ -1,55 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal class Item {
public string ElementName { get; protected set; }
public string Include {
get => Node.GetAttribute("Include");
set => Node.SetAttribute("Include", value);
}
public string Version {
get => Node.GetAttribute("Version");
set => Node.SetAttribute("Version", value);
}
public string? Value {
get => Node.InnerText;
set { Node.InnerText = value ?? string.Empty; }
}
public XmlElement Node { get; }
protected Item(XmlElement node) {
Node = node;
ElementName = node.Name;
}
public static Item FromElement(XmlElement element) {
return element.Name switch {
"PackageReference" => new PackageReference(element),
"ProjectReference" => new ProjectReference(element),
"Content" => new Content(element),
_ => new Item(element),
};
}
public void AddChild(Item child) {
var imported = Node.OwnerDocument!.ImportNode(child.Node, true);
Node.AppendChild(imported);
}
public string? GetAttribute(string name) => Node.HasAttribute(name) ? Node.GetAttribute(name) : null;
public void SetAttribute(string name, string? value) {
if (value is null) {
if (Node.HasAttribute(name)) Node.RemoveAttribute(name);
return;
}
Node.SetAttribute(name, value);
}
public IEnumerable<Item> GetChildElements() {
foreach (var e in Node.ChildNodes.OfType<XmlElement>())
yield return new Item(e);
}
}
-26
View File
@@ -1,26 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal class ItemGroup {
private readonly XmlElement _element;
public List<Item> Items { get; }
public void Remove() {
_element.ParentNode!.RemoveChild(_element);
}
public ItemGroup(XmlElement element) {
_element = element;
Items = element.ChildNodes
.OfType<XmlElement>()
.Select(Item.FromElement)
.ToList();
}
public void Add(Item item) {
var imported = _element.OwnerDocument!.ImportNode(item.Node, true);
_element.AppendChild(imported);
Items.Add(Item.FromElement((XmlElement)imported));
}
}
-30
View File
@@ -1,30 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal sealed class PackageReference : Item {
public PackageReference(XmlElement node) : base(node) { }
// inside PackageReference
public string? GetPackageVersion() {
// Prefer attribute, then child <Version>
var attr = GetAttribute("Version");
if (!string.IsNullOrEmpty(attr)) return attr;
var child = Node.SelectSingleNode("./Version") as XmlElement;
return child?.InnerText;
}
public void SetPackageVersion(string? version) {
if (Node.HasAttribute("Version") || (Node.SelectSingleNode("./Version") == null)) {
// If attribute exists (or no child yet), use attribute
SetAttribute("Version", version);
return;
}
// Else write to existing child <Version>
var child = (XmlElement)Node.SelectSingleNode("./Version")!;
child.InnerText = version ?? string.Empty;
}
}
+1 -2
View File
@@ -2,8 +2,7 @@
using System.Diagnostics; using System.Diagnostics;
using Renci.SshNet; using Renci.SshNet;
using Spectre.Console; using Spectre.Console;
using Spectre.Console.Cli; using aeqw89.xml.ProjectFile;
using VsTools.Projects;
namespace aeqw89.tools.Publish; namespace aeqw89.tools.Publish;
-54
View File
@@ -1,54 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal class Project {
public string Path { get; }
private XmlDocument Document { get; }
public List<PropertyGroup> PropertyGroups { get; }
public List<ItemGroup> ItemGroups { get; }
private Project(string path, XmlDocument doc) {
Path = path;
Document = doc;
// Build PropertyGroups
PropertyGroups = doc.DocumentElement!
.SelectNodes("./PropertyGroup")!
.OfType<XmlElement>()
.Select(e => new PropertyGroup(e))
.ToList();
// Build ItemGroups (+ their Items)
ItemGroups = doc.DocumentElement!
.SelectNodes("./ItemGroup")!
.OfType<XmlElement>()
.Select(e => new ItemGroup(e))
.ToList();
// Ensure at least one ItemGroup exists (some csprojs omit it until first item is added)
if (ItemGroups.Count == 0) {
var ig = doc.CreateElement("ItemGroup", doc.DocumentElement!.NamespaceURI);
doc.DocumentElement!.AppendChild(ig);
ItemGroups.Add(new ItemGroup((XmlElement)ig));
}
}
public static Project Load(string path) {
var doc = new XmlDocument();
doc.PreserveWhitespace = false;
doc.Load(path);
return new Project(path, doc);
}
public void Save() {
var settings = new XmlWriterSettings {
Indent = true,
IndentChars = " ",
NewLineChars = Environment.NewLine,
NewLineHandling = NewLineHandling.Replace
};
using var writer = XmlWriter.Create(Path, settings);
Document.Save(writer);
}
}
+1
View File
@@ -1,5 +1,6 @@
using System.Diagnostics.CodeAnalysis; using System.Diagnostics.CodeAnalysis;
using System.Xml; using System.Xml;
using aeqw89.xml.ProjectFile;
namespace aeqw89.tools.Publish; namespace aeqw89.tools.Publish;
-7
View File
@@ -1,7 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal sealed class ProjectReference : Item {
public ProjectReference(XmlElement node) : base(node) { }
}
-28
View File
@@ -1,28 +0,0 @@
using System.Xml;
namespace aeqw89.tools.Publish;
internal class PropertyGroup {
private readonly XmlElement _element;
public PropertyGroup(XmlElement element) => _element = element;
public bool HasProperty(string name) => _element.SelectSingleNode($"./{name}") is XmlElement;
public string GetProperty(string name) {
var node = _element.SelectSingleNode($"./{name}") as XmlElement;
return node?.InnerText ?? string.Empty;
}
public void SetProperty(string name, string value) {
var node = _element.SelectSingleNode($"./{name}") as XmlElement;
if (node == null) {
node = _element.OwnerDocument!.CreateElement(name, _element.NamespaceURI);
_element.AppendChild(node);
}
node.InnerText = value ?? string.Empty;
}
public int Count => _element.ChildNodes.OfType<XmlElement>().Count();
public void Remove() => _element.ParentNode!.RemoveChild(_element);
}
@@ -8,10 +8,9 @@
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="aeqw89.xml.ProjectFile" Version="1.0.3" />
<PackageReference Include="Spectre.Console" Version="0.51.2-preview.0.1" /> <PackageReference Include="Spectre.Console" Version="0.51.2-preview.0.1" />
<PackageReference Include="Spectre.Console.Cli" Version="0.51.2-preview.0.1" />
<PackageReference Include="SSH.NET" Version="2025.0.0" /> <PackageReference Include="SSH.NET" Version="2025.0.0" />
<PackageReference Include="VsTools.Projects" Version="1.2.0" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
@@ -13,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("aeqw89.tools.Publish")] [assembly: System.Reflection.AssemblyCompanyAttribute("aeqw89.tools.Publish")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+cd823abb020af62611aa6afe16e1ac5b49e961b0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ec8829bef24aaed18b9dee401887e40b480163f8")]
[assembly: System.Reflection.AssemblyProductAttribute("aeqw89.tools.Publish")] [assembly: System.Reflection.AssemblyProductAttribute("aeqw89.tools.Publish")]
[assembly: System.Reflection.AssemblyTitleAttribute("aeqw89.tools.Publish")] [assembly: System.Reflection.AssemblyTitleAttribute("aeqw89.tools.Publish")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
@@ -1 +1 @@
c58d819abcee216515191fe2fec7fe270f4c3f5f7e8de377d7c3810ae96fcc2a 0f1cc2ca922aad2f0290b37da8e6f03b4c7c1d91f9ad5cc83a594ed2a3985e0b
@@ -1,8 +1,4 @@
is_global = true is_global = true
build_property.EnableAotAnalyzer =
build_property.EnableSingleFileAnalyzer =
build_property.EnableTrimAnalyzer =
build_property.IncludeAllContentForSelfExtract =
build_property.TargetFramework = net9.0 build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion = build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = build_property.UsingMicrosoftNETSdkWeb =
@@ -33,3 +33,4 @@ C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\
C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll
C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Microsoft.Extensions.Logging.Abstractions.dll C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Microsoft.Extensions.Logging.Abstractions.dll
C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Renci.SshNet.dll C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\bin\Debug\net9.0\Renci.SshNet.dll
C:\Users\qwsdc\source\repos\aeqw89.tools.Publish\aeqw89.tools.Publish\obj\Debug\net9.0\aeqw89.tools.Publish.sourcelink.json
Binary file not shown.
@@ -46,12 +46,6 @@
"net9.0": { "net9.0": {
"targetAlias": "net9.0", "targetAlias": "net9.0",
"dependencies": { "dependencies": {
"Microsoft.NET.ILLink.Tasks": {
"suppressParent": "All",
"target": "Package",
"version": "[9.0.0, )",
"autoReferenced": true
},
"SSH.NET": { "SSH.NET": {
"target": "Package", "target": "Package",
"version": "[2025.0.0, )" "version": "[2025.0.0, )"
@@ -60,13 +54,9 @@
"target": "Package", "target": "Package",
"version": "[0.51.2-preview.0.1, )" "version": "[0.51.2-preview.0.1, )"
}, },
"Spectre.Console.Cli": { "aeqw89.xml.ProjectFile": {
"target": "Package", "target": "Package",
"version": "[0.51.2-preview.0.1, )" "version": "[1.0.3, )"
},
"VsTools.Projects": {
"target": "Package",
"version": "[1.2.0, )"
} }
}, },
"imports": [ "imports": [
@@ -80,12 +70,6 @@
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
"downloadDependencies": [
{
"name": "Microsoft.NETCore.App.Host.linux-x64",
"version": "[9.0.0, 9.0.0]"
}
],
"frameworkReferences": { "frameworkReferences": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"privateAssets": "all" "privateAssets": "all"
@@ -93,11 +77,6 @@
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"
} }
},
"runtimes": {
"linux-x64": {
"#import": []
}
} }
} }
} }
@@ -7,15 +7,9 @@
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\qwsdc\.nuget\packages\</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\qwsdc\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.14.0</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\qwsdc\.nuget\packages\" /> <SourceRoot Include="C:\Users\qwsdc\.nuget\packages\" />
</ItemGroup> </ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.net.illink.tasks\9.0.0\build\Microsoft.NET.ILLink.Tasks.props" Condition="Exists('$(NuGetPackageRoot)microsoft.net.illink.tasks\9.0.0\build\Microsoft.NET.ILLink.Tasks.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_NET_ILLink_Tasks Condition=" '$(PkgMicrosoft_NET_ILLink_Tasks)' == '' ">C:\Users\qwsdc\.nuget\packages\microsoft.net.illink.tasks\9.0.0</PkgMicrosoft_NET_ILLink_Tasks>
</PropertyGroup>
</Project> </Project>
+23 -347
View File
@@ -2,6 +2,15 @@
"version": 3, "version": 3,
"targets": { "targets": {
"net9.0": { "net9.0": {
"aeqw89.xml.ProjectFile/1.0.3": {
"type": "package",
"compile": {
"lib/net9.0/aeqw89.xml.ProjectFile.dll": {}
},
"runtime": {
"lib/net9.0/aeqw89.xml.ProjectFile.dll": {}
}
},
"BouncyCastle.Cryptography/2.5.1": { "BouncyCastle.Cryptography/2.5.1": {
"type": "package", "type": "package",
"compile": { "compile": {
@@ -50,12 +59,6 @@
"buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets": {} "buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets": {}
} }
}, },
"Microsoft.NET.ILLink.Tasks/9.0.0": {
"type": "package",
"build": {
"build/Microsoft.NET.ILLink.Tasks.props": {}
}
},
"Spectre.Console/0.51.2-preview.0.1": { "Spectre.Console/0.51.2-preview.0.1": {
"type": "package", "type": "package",
"compile": { "compile": {
@@ -69,54 +72,6 @@
} }
} }
}, },
"Spectre.Console.Cli/0.51.2-preview.0.1": {
"type": "package",
"dependencies": {
"Spectre.Console": "0.51.2-preview.0.1"
},
"compile": {
"lib/net9.0/Spectre.Console.Cli.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net9.0/Spectre.Console.Cli.dll": {
"related": ".xml"
}
},
"resource": {
"lib/net9.0/de/Spectre.Console.Cli.resources.dll": {
"locale": "de"
},
"lib/net9.0/es/Spectre.Console.Cli.resources.dll": {
"locale": "es"
},
"lib/net9.0/fr/Spectre.Console.Cli.resources.dll": {
"locale": "fr"
},
"lib/net9.0/it/Spectre.Console.Cli.resources.dll": {
"locale": "it"
},
"lib/net9.0/ja/Spectre.Console.Cli.resources.dll": {
"locale": "ja"
},
"lib/net9.0/ko/Spectre.Console.Cli.resources.dll": {
"locale": "ko"
},
"lib/net9.0/pt/Spectre.Console.Cli.resources.dll": {
"locale": "pt"
},
"lib/net9.0/ru/Spectre.Console.Cli.resources.dll": {
"locale": "ru"
},
"lib/net9.0/sv/Spectre.Console.Cli.resources.dll": {
"locale": "sv"
},
"lib/net9.0/zh-Hans/Spectre.Console.Cli.resources.dll": {
"locale": "zh-Hans"
}
}
},
"SSH.NET/2025.0.0": { "SSH.NET/2025.0.0": {
"type": "package", "type": "package",
"dependencies": { "dependencies": {
@@ -133,162 +88,21 @@
"related": ".xml" "related": ".xml"
} }
} }
},
"VsTools.Projects/1.2.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/VsTools.Projects.dll": {}
},
"runtime": {
"lib/netstandard2.0/VsTools.Projects.dll": {}
}
}
},
"net9.0/linux-x64": {
"BouncyCastle.Cryptography/2.5.1": {
"type": "package",
"compile": {
"lib/net6.0/BouncyCastle.Cryptography.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/BouncyCastle.Cryptography.dll": {
"related": ".xml"
}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2": {
"type": "package",
"compile": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/_._": {}
}
},
"Microsoft.Extensions.Logging.Abstractions/8.0.3": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "8.0.2"
},
"compile": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net8.0/Microsoft.Extensions.Logging.Abstractions.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/net6.0/Microsoft.Extensions.Logging.Abstractions.targets": {}
}
},
"Microsoft.NET.ILLink.Tasks/9.0.0": {
"type": "package",
"build": {
"build/Microsoft.NET.ILLink.Tasks.props": {}
}
},
"Spectre.Console/0.51.2-preview.0.1": {
"type": "package",
"compile": {
"lib/net9.0/Spectre.Console.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net9.0/Spectre.Console.dll": {
"related": ".xml"
}
}
},
"Spectre.Console.Cli/0.51.2-preview.0.1": {
"type": "package",
"dependencies": {
"Spectre.Console": "0.51.2-preview.0.1"
},
"compile": {
"lib/net9.0/Spectre.Console.Cli.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net9.0/Spectre.Console.Cli.dll": {
"related": ".xml"
}
},
"resource": {
"lib/net9.0/de/Spectre.Console.Cli.resources.dll": {
"locale": "de"
},
"lib/net9.0/es/Spectre.Console.Cli.resources.dll": {
"locale": "es"
},
"lib/net9.0/fr/Spectre.Console.Cli.resources.dll": {
"locale": "fr"
},
"lib/net9.0/it/Spectre.Console.Cli.resources.dll": {
"locale": "it"
},
"lib/net9.0/ja/Spectre.Console.Cli.resources.dll": {
"locale": "ja"
},
"lib/net9.0/ko/Spectre.Console.Cli.resources.dll": {
"locale": "ko"
},
"lib/net9.0/pt/Spectre.Console.Cli.resources.dll": {
"locale": "pt"
},
"lib/net9.0/ru/Spectre.Console.Cli.resources.dll": {
"locale": "ru"
},
"lib/net9.0/sv/Spectre.Console.Cli.resources.dll": {
"locale": "sv"
},
"lib/net9.0/zh-Hans/Spectre.Console.Cli.resources.dll": {
"locale": "zh-Hans"
}
}
},
"SSH.NET/2025.0.0": {
"type": "package",
"dependencies": {
"BouncyCastle.Cryptography": "2.5.1",
"Microsoft.Extensions.Logging.Abstractions": "8.0.3"
},
"compile": {
"lib/net9.0/Renci.SshNet.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net9.0/Renci.SshNet.dll": {
"related": ".xml"
}
}
},
"VsTools.Projects/1.2.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/VsTools.Projects.dll": {}
},
"runtime": {
"lib/netstandard2.0/VsTools.Projects.dll": {}
}
} }
} }
}, },
"libraries": { "libraries": {
"aeqw89.xml.ProjectFile/1.0.3": {
"sha512": "AkCw9edHUg7G9/jAA/zSgwsz/nHnAs7gvs9tCslibNnzXTJOweflSsqO+GcoWVP5QGgU4DhgMrJQgUNY6EBXNQ==",
"type": "package",
"path": "aeqw89.xml.projectfile/1.0.3",
"files": [
".nupkg.metadata",
"aeqw89.xml.projectfile.1.0.3.nupkg.sha512",
"aeqw89.xml.projectfile.nuspec",
"lib/net9.0/aeqw89.xml.ProjectFile.dll"
]
},
"BouncyCastle.Cryptography/2.5.1": { "BouncyCastle.Cryptography/2.5.1": {
"sha512": "zy8TMeTP+1FH2NrLaNZtdRbBdq7u5MI+NFZQOBSM69u5RFkciinwzV2eveY6Kjf5MzgsYvvl6kTStsj3JrXqkg==", "sha512": "zy8TMeTP+1FH2NrLaNZtdRbBdq7u5MI+NFZQOBSM69u5RFkciinwzV2eveY6Kjf5MzgsYvvl6kTStsj3JrXqkg==",
"type": "package", "type": "package",
@@ -414,57 +228,6 @@
"useSharedDesignerContext.txt" "useSharedDesignerContext.txt"
] ]
}, },
"Microsoft.NET.ILLink.Tasks/9.0.0": {
"sha512": "zAwp213evC3UkimtVXRb+Dlgc/40QG145nmZDtp2LO9zJJMfrp+i/87BnXN7tRXEA4liyzdFkjqG1HE8/RPb4A==",
"type": "package",
"path": "microsoft.net.illink.tasks/9.0.0",
"hasTools": true,
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"Sdk/Sdk.props",
"THIRD-PARTY-NOTICES.TXT",
"analyzers/dotnet/cs/ILLink.CodeFixProvider.dll",
"analyzers/dotnet/cs/ILLink.RoslynAnalyzer.dll",
"build/Microsoft.NET.ILLink.Analyzers.props",
"build/Microsoft.NET.ILLink.Tasks.props",
"build/Microsoft.NET.ILLink.targets",
"microsoft.net.illink.tasks.9.0.0.nupkg.sha512",
"microsoft.net.illink.tasks.nuspec",
"tools/net472/ILLink.Tasks.dll",
"tools/net472/ILLink.Tasks.dll.config",
"tools/net472/Mono.Cecil.Mdb.dll",
"tools/net472/Mono.Cecil.Pdb.dll",
"tools/net472/Mono.Cecil.Rocks.dll",
"tools/net472/Mono.Cecil.dll",
"tools/net472/Sdk/Sdk.props",
"tools/net472/System.Buffers.dll",
"tools/net472/System.Collections.Immutable.dll",
"tools/net472/System.Memory.dll",
"tools/net472/System.Numerics.Vectors.dll",
"tools/net472/System.Reflection.Metadata.dll",
"tools/net472/System.Runtime.CompilerServices.Unsafe.dll",
"tools/net472/build/Microsoft.NET.ILLink.Analyzers.props",
"tools/net472/build/Microsoft.NET.ILLink.Tasks.props",
"tools/net472/build/Microsoft.NET.ILLink.targets",
"tools/net9.0/ILLink.Tasks.deps.json",
"tools/net9.0/ILLink.Tasks.dll",
"tools/net9.0/Mono.Cecil.Mdb.dll",
"tools/net9.0/Mono.Cecil.Pdb.dll",
"tools/net9.0/Mono.Cecil.Rocks.dll",
"tools/net9.0/Mono.Cecil.dll",
"tools/net9.0/Sdk/Sdk.props",
"tools/net9.0/build/Microsoft.NET.ILLink.Analyzers.props",
"tools/net9.0/build/Microsoft.NET.ILLink.Tasks.props",
"tools/net9.0/build/Microsoft.NET.ILLink.targets",
"tools/net9.0/illink.deps.json",
"tools/net9.0/illink.dll",
"tools/net9.0/illink.runtimeconfig.json",
"useSharedDesignerContext.txt"
]
},
"Spectre.Console/0.51.2-preview.0.1": { "Spectre.Console/0.51.2-preview.0.1": {
"sha512": "eTojiXsispvwl5i3o6BsBt0fV7pn+jsJ3nbQVCTCwBoYbeczNO2w7wjPfB2Tx+Y5+mplLEtSFi5Mp0aFZSP3tA==", "sha512": "eTojiXsispvwl5i3o6BsBt0fV7pn+jsJ3nbQVCTCwBoYbeczNO2w7wjPfB2Tx+Y5+mplLEtSFi5Mp0aFZSP3tA==",
"type": "package", "type": "package",
@@ -484,55 +247,6 @@
"spectre.console.nuspec" "spectre.console.nuspec"
] ]
}, },
"Spectre.Console.Cli/0.51.2-preview.0.1": {
"sha512": "sgcQ28dkBJG66JU+BI/vhXvgqYOS+0S2OaW5sYkpShk0MzHO2hnnyg8Ef636NG6U+OmIALVZ69CP3oImeUUrag==",
"type": "package",
"path": "spectre.console.cli/0.51.2-preview.0.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"README.md",
"lib/net8.0/Spectre.Console.Cli.dll",
"lib/net8.0/Spectre.Console.Cli.xml",
"lib/net8.0/de/Spectre.Console.Cli.resources.dll",
"lib/net8.0/es/Spectre.Console.Cli.resources.dll",
"lib/net8.0/fr/Spectre.Console.Cli.resources.dll",
"lib/net8.0/it/Spectre.Console.Cli.resources.dll",
"lib/net8.0/ja/Spectre.Console.Cli.resources.dll",
"lib/net8.0/ko/Spectre.Console.Cli.resources.dll",
"lib/net8.0/pt/Spectre.Console.Cli.resources.dll",
"lib/net8.0/ru/Spectre.Console.Cli.resources.dll",
"lib/net8.0/sv/Spectre.Console.Cli.resources.dll",
"lib/net8.0/zh-Hans/Spectre.Console.Cli.resources.dll",
"lib/net9.0/Spectre.Console.Cli.dll",
"lib/net9.0/Spectre.Console.Cli.xml",
"lib/net9.0/de/Spectre.Console.Cli.resources.dll",
"lib/net9.0/es/Spectre.Console.Cli.resources.dll",
"lib/net9.0/fr/Spectre.Console.Cli.resources.dll",
"lib/net9.0/it/Spectre.Console.Cli.resources.dll",
"lib/net9.0/ja/Spectre.Console.Cli.resources.dll",
"lib/net9.0/ko/Spectre.Console.Cli.resources.dll",
"lib/net9.0/pt/Spectre.Console.Cli.resources.dll",
"lib/net9.0/ru/Spectre.Console.Cli.resources.dll",
"lib/net9.0/sv/Spectre.Console.Cli.resources.dll",
"lib/net9.0/zh-Hans/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/Spectre.Console.Cli.dll",
"lib/netstandard2.0/Spectre.Console.Cli.xml",
"lib/netstandard2.0/de/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/es/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/fr/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/it/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/ja/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/ko/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/pt/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/ru/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/sv/Spectre.Console.Cli.resources.dll",
"lib/netstandard2.0/zh-Hans/Spectre.Console.Cli.resources.dll",
"logo.png",
"spectre.console.cli.0.51.2-preview.0.1.nupkg.sha512",
"spectre.console.cli.nuspec"
]
},
"SSH.NET/2025.0.0": { "SSH.NET/2025.0.0": {
"sha512": "AKYbB+q2zFkNQbBFx5gXdv+Wje0baBtADQ35WnMKi4bg1ka74wTQtWoPd+fOWcydohdfsD0nfT8ErMOAPxtSfA==", "sha512": "AKYbB+q2zFkNQbBFx5gXdv+Wje0baBtADQ35WnMKi4bg1ka74wTQtWoPd+fOWcydohdfsD0nfT8ErMOAPxtSfA==",
"type": "package", "type": "package",
@@ -555,30 +269,13 @@
"ssh.net.2025.0.0.nupkg.sha512", "ssh.net.2025.0.0.nupkg.sha512",
"ssh.net.nuspec" "ssh.net.nuspec"
] ]
},
"VsTools.Projects/1.2.0": {
"sha512": "Zja9D1HlSi+6goiAYUkcuE1dUC7MyoU4ZiXCNMcQ6JFNloHpwO8ne7cATi4jeMco56TB3Trzv+vtAiK4jDydlw==",
"type": "package",
"path": "vstools.projects/1.2.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/VsTools.Projects.dll",
"lib/net462/VsTools.Projects.dll",
"lib/net48/VsTools.Projects.dll",
"lib/netstandard2.0/VsTools.Projects.dll",
"vstools.projects.1.2.0.nupkg.sha512",
"vstools.projects.nuspec"
]
} }
}, },
"projectFileDependencyGroups": { "projectFileDependencyGroups": {
"net9.0": [ "net9.0": [
"Microsoft.NET.ILLink.Tasks >= 9.0.0",
"SSH.NET >= 2025.0.0", "SSH.NET >= 2025.0.0",
"Spectre.Console >= 0.51.2-preview.0.1", "Spectre.Console >= 0.51.2-preview.0.1",
"Spectre.Console.Cli >= 0.51.2-preview.0.1", "aeqw89.xml.ProjectFile >= 1.0.3"
"VsTools.Projects >= 1.2.0"
] ]
}, },
"packageFolders": { "packageFolders": {
@@ -626,12 +323,6 @@
"net9.0": { "net9.0": {
"targetAlias": "net9.0", "targetAlias": "net9.0",
"dependencies": { "dependencies": {
"Microsoft.NET.ILLink.Tasks": {
"suppressParent": "All",
"target": "Package",
"version": "[9.0.0, )",
"autoReferenced": true
},
"SSH.NET": { "SSH.NET": {
"target": "Package", "target": "Package",
"version": "[2025.0.0, )" "version": "[2025.0.0, )"
@@ -640,13 +331,9 @@
"target": "Package", "target": "Package",
"version": "[0.51.2-preview.0.1, )" "version": "[0.51.2-preview.0.1, )"
}, },
"Spectre.Console.Cli": { "aeqw89.xml.ProjectFile": {
"target": "Package", "target": "Package",
"version": "[0.51.2-preview.0.1, )" "version": "[1.0.3, )"
},
"VsTools.Projects": {
"target": "Package",
"version": "[1.2.0, )"
} }
}, },
"imports": [ "imports": [
@@ -660,12 +347,6 @@
], ],
"assetTargetFallback": true, "assetTargetFallback": true,
"warn": true, "warn": true,
"downloadDependencies": [
{
"name": "Microsoft.NETCore.App.Host.linux-x64",
"version": "[9.0.0, 9.0.0]"
}
],
"frameworkReferences": { "frameworkReferences": {
"Microsoft.NETCore.App": { "Microsoft.NETCore.App": {
"privateAssets": "all" "privateAssets": "all"
@@ -673,11 +354,6 @@
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"
} }
},
"runtimes": {
"linux-x64": {
"#import": []
}
} }
} }
} }
+3 -6
View File
@@ -1,18 +1,15 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "XMPV4aaWYzc=", "dgSpecHash": "PlMFcEG0EnM=",
"success": true, "success": true,
"projectFilePath": "C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj", "projectFilePath": "C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj",
"expectedPackageFiles": [ "expectedPackageFiles": [
"C:\\Users\\qwsdc\\.nuget\\packages\\aeqw89.xml.projectfile\\1.0.3\\aeqw89.xml.projectfile.1.0.3.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\bouncycastle.cryptography\\2.5.1\\bouncycastle.cryptography.2.5.1.nupkg.sha512", "C:\\Users\\qwsdc\\.nuget\\packages\\bouncycastle.cryptography\\2.5.1\\bouncycastle.cryptography.2.5.1.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.2\\microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512", "C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.2\\microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.3\\microsoft.extensions.logging.abstractions.8.0.3.nupkg.sha512", "C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.extensions.logging.abstractions\\8.0.3\\microsoft.extensions.logging.abstractions.8.0.3.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.net.illink.tasks\\9.0.0\\microsoft.net.illink.tasks.9.0.0.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\spectre.console\\0.51.2-preview.0.1\\spectre.console.0.51.2-preview.0.1.nupkg.sha512", "C:\\Users\\qwsdc\\.nuget\\packages\\spectre.console\\0.51.2-preview.0.1\\spectre.console.0.51.2-preview.0.1.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\spectre.console.cli\\0.51.2-preview.0.1\\spectre.console.cli.0.51.2-preview.0.1.nupkg.sha512", "C:\\Users\\qwsdc\\.nuget\\packages\\ssh.net\\2025.0.0\\ssh.net.2025.0.0.nupkg.sha512"
"C:\\Users\\qwsdc\\.nuget\\packages\\ssh.net\\2025.0.0\\ssh.net.2025.0.0.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\vstools.projects\\1.2.0\\vstools.projects.1.2.0.nupkg.sha512",
"C:\\Users\\qwsdc\\.nuget\\packages\\microsoft.netcore.app.host.linux-x64\\9.0.0\\microsoft.netcore.app.host.linux-x64.9.0.0.nupkg.sha512"
], ],
"logs": [] "logs": []
} }
@@ -1 +1 @@
"restore":{"projectUniqueName":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj","projectName":"aeqw89.tools.Publish","projectPath":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj","outputPath":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"C:\\Users\\qwsdc\\packages":{},"https://api.nuget.org/v3/index.json":{},"https://nuget.pkg.github.com/qwsdcvghyu89/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.100"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"SSH.NET":{"target":"Package","version":"[2025.0.0, )"},"Spectre.Console":{"target":"Package","version":"[0.51.2-preview.0.1, )"},"Spectre.Console.Cli":{"target":"Package","version":"[0.51.2-preview.0.1, )"},"VsTools.Projects":{"target":"Package","version":"[1.2.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"}} "restore":{"projectUniqueName":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj","projectName":"aeqw89.tools.Publish","projectPath":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\aeqw89.tools.Publish.csproj","outputPath":"C:\\Users\\qwsdc\\source\\repos\\aeqw89.tools.Publish\\aeqw89.tools.Publish\\obj\\","projectStyle":"PackageReference","originalTargetFrameworks":["net9.0"],"sources":{"C:\\Users\\qwsdc\\packages":{},"https://api.nuget.org/v3/index.json":{},"https://nuget.pkg.github.com/qwsdcvghyu89/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.100"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"SSH.NET":{"target":"Package","version":"[2025.0.0, )"},"Spectre.Console":{"target":"Package","version":"[0.51.2-preview.0.1, )"},"aeqw89.xml.ProjectFile":{"target":"Package","version":"[1.0.3, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.101/PortableRuntimeIdentifierGraph.json"}}
@@ -1 +1 @@
17584342196004454 17584372191705345
@@ -1 +1 @@
17584333772830899 17584372319233411