upgrade nuget
This commit is contained in:
Binary file not shown.
@@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"Version": 1,
|
||||||
|
"ProjectMap": {
|
||||||
|
"50928ef9-08e0-4a69-8466-d08392e74e78": {
|
||||||
|
"ProjectGuid": "50928ef9-08e0-4a69-8466-d08392e74e78",
|
||||||
|
"DisplayName": "ProjectNugetDuplicateFinder",
|
||||||
|
"ColorIndex": 0
|
||||||
|
},
|
||||||
|
"200c0898-769a-4775-90a5-4d10c1fe0023": {
|
||||||
|
"ProjectGuid": "200c0898-769a-4775-90a5-4d10c1fe0023",
|
||||||
|
"DisplayName": "ProjectNugetDuplicateFinder",
|
||||||
|
"ColorIndex": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"NextColorIndex": 2
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,16 +1,17 @@
|
|||||||
using System.Collections.Generic;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace ProjectNugetDuplicateFinder
|
namespace ProjectNugetDuplicateFinder
|
||||||
{
|
{
|
||||||
public class FileSearchCriteria
|
public record FileSearchCriteria
|
||||||
{
|
{
|
||||||
public string[] Extensions { get; set; } = new string[0];
|
public string[] Extensions { get; set; } = Array.Empty<string>();
|
||||||
|
|
||||||
public string BaseDirectory { get; set; }
|
public string BaseDirectory { get; set; }
|
||||||
|
|
||||||
public string[] TargetDirectories { get; set; } = new string[0];
|
public string[] TargetDirectories { get; set; } = Array.Empty<string>();
|
||||||
|
|
||||||
public IEnumerable<string> AbsoluteTargetDirectories
|
public IEnumerable<string> AbsoluteTargetDirectories
|
||||||
{
|
{
|
||||||
@@ -24,13 +25,6 @@ namespace ProjectNugetDuplicateFinder
|
|||||||
|
|
||||||
public bool Recursive { get; set; }
|
public bool Recursive { get; set; }
|
||||||
|
|
||||||
public SearchOption SearchOption
|
public SearchOption SearchOption => Recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly;
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
return Recursive ? SearchOption.AllDirectories : SearchOption.TopDirectoryOnly;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
|
||||||
|
|
||||||
namespace ProjectNugetDuplicateFinder
|
namespace ProjectNugetDuplicateFinder
|
||||||
{
|
{
|
||||||
@@ -18,7 +17,7 @@ namespace ProjectNugetDuplicateFinder
|
|||||||
return Directory.GetFiles(folderPath, "*.*", searchOption)
|
return Directory.GetFiles(folderPath, "*.*", searchOption)
|
||||||
.Where(s =>
|
.Where(s =>
|
||||||
!extensions.Any() ||
|
!extensions.Any() ||
|
||||||
extensions.Any(e => string.Compare(e, Path.GetExtension(s), true) == 0)
|
extensions.Any(e => string.Compare(e, Path.GetExtension(s), StringComparison.OrdinalIgnoreCase) == 0)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+101
-2
@@ -1,5 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Diagnostics;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Xml.Linq;
|
using System.Xml.Linq;
|
||||||
@@ -10,12 +11,105 @@ namespace ProjectNugetDuplicateFinder
|
|||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
static void Main(string[] args)
|
static void Main(string[] args)
|
||||||
|
{
|
||||||
|
FixDuplicates();
|
||||||
|
//UpgradePackage("Sibur.Digital.MultiBus.Dto", "0.2.84");
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void UpgradePackage(string packageName, string targetVersion)
|
||||||
|
{
|
||||||
|
var searchCriteria = new FileSearchCriteria
|
||||||
|
{
|
||||||
|
Extensions = new string[] {".sln"},
|
||||||
|
BaseDirectory = "D:\\Projects\\sibur",
|
||||||
|
TargetDirectories = new string[] { "implementation" },
|
||||||
|
Recursive = true,
|
||||||
|
};
|
||||||
|
|
||||||
|
var solutions = new Finder().Find(searchCriteria);
|
||||||
|
foreach (var solution in solutions)
|
||||||
|
{
|
||||||
|
var solutionDirectory = new FileInfo(solution).Directory!.ToString();
|
||||||
|
var projectSearchCriteria = searchCriteria with
|
||||||
|
{
|
||||||
|
Extensions = new string[] { ".csproj" },
|
||||||
|
BaseDirectory = solutionDirectory,
|
||||||
|
TargetDirectories = new string[] {"."}
|
||||||
|
};
|
||||||
|
var projects = new Finder().Find(projectSearchCriteria);
|
||||||
|
|
||||||
|
var isRepositoryChanged = false;
|
||||||
|
foreach (var project in projects)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var text = File.ReadAllText(project);
|
||||||
|
var document = XDocument.Parse(text);
|
||||||
|
var versionsDiffersFromCurrent = document
|
||||||
|
.Descendants("ItemGroup")
|
||||||
|
.Descendants("PackageReference")
|
||||||
|
.Where(f => f.Attribute("Include").Value.ToLower() == packageName.ToLower());
|
||||||
|
|
||||||
|
var isAnyRemoved = false;
|
||||||
|
foreach (var versionDiffersFromCurrent in versionsDiffersFromCurrent)
|
||||||
|
{
|
||||||
|
var oldVersion = versionDiffersFromCurrent.Attribute("Version")!.Value;
|
||||||
|
if (oldVersion != targetVersion)
|
||||||
|
{
|
||||||
|
versionDiffersFromCurrent.Attribute("Version").Value = targetVersion;
|
||||||
|
isAnyRemoved = true;
|
||||||
|
isRepositoryChanged = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isAnyRemoved)
|
||||||
|
{
|
||||||
|
var newXml = document.ToString();
|
||||||
|
File.WriteAllText(project, newXml);
|
||||||
|
Console.WriteLine($"> Fixed: {project}.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
Console.WriteLine(ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isRepositoryChanged)
|
||||||
|
{
|
||||||
|
var hash = Guid.NewGuid().ToString("N")[0..4];
|
||||||
|
var cmd = "git switch master && " +
|
||||||
|
$"git pull && " +
|
||||||
|
$"git checkout -b MPSH-upgrade-dto-{hash} && " +
|
||||||
|
"git add . && " +
|
||||||
|
$"git commit -m \"Upgrade_{packageName}_to_version_{targetVersion}\" && " +
|
||||||
|
$"git push -o merge_request.create origin MPSH-upgrade-dto-{hash} && " +
|
||||||
|
$"git switch master && " +
|
||||||
|
$"git branch -D MPSH-upgrade-dto-{hash}";
|
||||||
|
|
||||||
|
var info = new ProcessStartInfo
|
||||||
|
{
|
||||||
|
FileName = "cmd.exe",
|
||||||
|
WorkingDirectory = solutionDirectory,
|
||||||
|
ArgumentList = {$"/C {cmd}"}
|
||||||
|
};
|
||||||
|
System.Diagnostics.Process.Start(info);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Console.WriteLine("Press enter to continue.");
|
||||||
|
Console.WriteLine("Fixed following project files:");
|
||||||
|
Console.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static void FixDuplicates()
|
||||||
{
|
{
|
||||||
var searchCriteria = new FileSearchCriteria
|
var searchCriteria = new FileSearchCriteria
|
||||||
{
|
{
|
||||||
Extensions = new string[] { ".csproj" },
|
Extensions = new string[] { ".csproj" },
|
||||||
BaseDirectory = "D:\\Projects\\onelia",
|
BaseDirectory = "D:\\Projects",
|
||||||
TargetDirectories = new string[] { "onelia" },
|
TargetDirectories = new string[] { "sibur" },
|
||||||
Recursive = true,
|
Recursive = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -54,6 +148,7 @@ namespace ProjectNugetDuplicateFinder
|
|||||||
{
|
{
|
||||||
var newXml = document.ToString();
|
var newXml = document.ToString();
|
||||||
File.WriteAllText(project, newXml);
|
File.WriteAllText(project, newXml);
|
||||||
|
Console.WriteLine($"> Fixed: {project}.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
@@ -62,6 +157,10 @@ namespace ProjectNugetDuplicateFinder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Console.WriteLine("Press enter to continue.");
|
||||||
|
Console.WriteLine("Fixed following project files:");
|
||||||
|
Console.ReadLine();
|
||||||
|
|
||||||
Console.WriteLine(string.Join("\n", result));
|
Console.WriteLine(string.Join("\n", result));
|
||||||
Console.ReadLine();
|
Console.ReadLine();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>net6.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net6.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "6.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"additionalProbingPaths": [
|
||||||
|
"C:\\Users\\monster\\.dotnet\\store\\|arch|\\|tfm|",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "netcoreapp3.1",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "3.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
b76605e447eb4b6aac7d85a460a4886fa996944e
|
||||||
+10
@@ -0,0 +1,10 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net6.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = ProjectNugetDuplicateFinder
|
||||||
|
build_property.ProjectDir = D:\Projects\NugetDuplicateFinder\src\
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
d777911852edb0dc7967a987c3117b882615123f
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ProjectNugetDuplicateFinder.exe
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ProjectNugetDuplicateFinder.deps.json
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ProjectNugetDuplicateFinder.runtimeconfig.json
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ref\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\ProjectNugetDuplicateFinder.pdb
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\net6.0\Semver.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.csproj.AssemblyReference.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.AssemblyInfoInputs.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.AssemblyInfo.cs
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.csproj.CoreCompileInputs.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.csproj.CopyComplete
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ref\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.pdb
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\net6.0\ProjectNugetDuplicateFinder.genruntimeconfig.cache
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
3e4b086e2a33dcd7c72e9c225dbab14149ce99ee
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
// Runtime Version:4.0.30319.42000
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("ProjectNugetDuplicateFinder")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
b76605e447eb4b6aac7d85a460a4886fa996944e
|
||||||
+3
@@ -0,0 +1,3 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.RootNamespace = ProjectNugetDuplicateFinder
|
||||||
|
build_property.ProjectDir = D:\Projects\NugetDuplicateFinder\src\
|
||||||
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
1d414f05e2b5c81ee98d61bbb3a24bdee18ff799
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.exe
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.deps.json
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.runtimeconfig.json
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.runtimeconfig.dev.json
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.pdb
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\bin\Debug\netcoreapp3.1\Semver.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.csproj.AssemblyReference.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.AssemblyInfoInputs.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.AssemblyInfo.cs
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.csproj.CoreCompileInputs.cache
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.csproj.CopyComplete
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.dll
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.pdb
|
||||||
|
D:\Projects\NugetDuplicateFinder\src\obj\Debug\netcoreapp3.1\ProjectNugetDuplicateFinder.genruntimeconfig.cache
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
bb0ae32f75a1dde9e4200d04d71be397fabd3836
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,68 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"D:\\Projects\\NugetDuplicateFinder\\src\\ProjectNugetDuplicateFinder.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"D:\\Projects\\NugetDuplicateFinder\\src\\ProjectNugetDuplicateFinder.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "D:\\Projects\\NugetDuplicateFinder\\src\\ProjectNugetDuplicateFinder.csproj",
|
||||||
|
"projectName": "ProjectNugetDuplicateFinder",
|
||||||
|
"projectPath": "D:\\Projects\\NugetDuplicateFinder\\src\\ProjectNugetDuplicateFinder.csproj",
|
||||||
|
"packagesPath": "C:\\Users\\monster\\.nuget\\packages\\",
|
||||||
|
"outputPath": "D:\\Projects\\NugetDuplicateFinder\\src\\obj\\",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"C:\\Users\\monster\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||||
|
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net6.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net6.0": {
|
||||||
|
"targetAlias": "net6.0",
|
||||||
|
"dependencies": {
|
||||||
|
"semver": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[2.0.6, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\monster\.nuget\packages\</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="C:\Users\monster\.nuget\packages\" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,83 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "NK8b0hoGAuXleC+6eFj9lTVdeAzQy/mkbcewOXNKsa1XHBlhXTM4VjIf5cK7iQS/mVQ9WV8x5bka8kqGVM6oaQ==",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "D:\\Projects\\NugetDuplicateFinder\\src\\ProjectNugetDuplicateFinder.csproj",
|
||||||
|
"expectedPackageFiles": [
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\microsoft.win32.primitives\\4.3.0\\microsoft.win32.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\netstandard.library\\1.6.1\\netstandard.library.1.6.1.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.debian.8-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.23-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.fedora.24-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.native.system\\4.3.0\\runtime.native.system.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.native.system.io.compression\\4.3.0\\runtime.native.system.io.compression.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.native.system.net.http\\4.3.0\\runtime.native.system.net.http.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.13.2-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.opensuse.42.1-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.apple.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.osx.10.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.rhel.7-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.14.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.04-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl\\4.3.0\\runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\semver\\2.0.6\\semver.2.0.6.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.appcontext\\4.3.0\\system.appcontext.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.buffers\\4.3.0\\system.buffers.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.collections\\4.3.0\\system.collections.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.collections.concurrent\\4.3.0\\system.collections.concurrent.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.console\\4.3.0\\system.console.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.diagnostics.debug\\4.3.0\\system.diagnostics.debug.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.diagnostics.diagnosticsource\\4.3.0\\system.diagnostics.diagnosticsource.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.diagnostics.tools\\4.3.0\\system.diagnostics.tools.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.diagnostics.tracing\\4.3.0\\system.diagnostics.tracing.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.globalization\\4.3.0\\system.globalization.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.globalization.calendars\\4.3.0\\system.globalization.calendars.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.globalization.extensions\\4.3.0\\system.globalization.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.io\\4.3.0\\system.io.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.io.compression\\4.3.0\\system.io.compression.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.io.compression.zipfile\\4.3.0\\system.io.compression.zipfile.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.io.filesystem\\4.3.0\\system.io.filesystem.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.io.filesystem.primitives\\4.3.0\\system.io.filesystem.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.linq\\4.3.0\\system.linq.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.linq.expressions\\4.3.0\\system.linq.expressions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.net.http\\4.3.0\\system.net.http.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.net.primitives\\4.3.0\\system.net.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.net.sockets\\4.3.0\\system.net.sockets.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.objectmodel\\4.3.0\\system.objectmodel.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection\\4.3.0\\system.reflection.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.emit\\4.3.0\\system.reflection.emit.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.emit.ilgeneration\\4.3.0\\system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.emit.lightweight\\4.3.0\\system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.extensions\\4.3.0\\system.reflection.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.primitives\\4.3.0\\system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.reflection.typeextensions\\4.3.0\\system.reflection.typeextensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.resources.resourcemanager\\4.3.0\\system.resources.resourcemanager.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime.extensions\\4.3.0\\system.runtime.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime.handles\\4.3.0\\system.runtime.handles.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime.interopservices\\4.3.0\\system.runtime.interopservices.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime.interopservices.runtimeinformation\\4.3.0\\system.runtime.interopservices.runtimeinformation.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.runtime.numerics\\4.3.0\\system.runtime.numerics.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.algorithms\\4.3.0\\system.security.cryptography.algorithms.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.cng\\4.3.0\\system.security.cryptography.cng.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.csp\\4.3.0\\system.security.cryptography.csp.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.encoding\\4.3.0\\system.security.cryptography.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.openssl\\4.3.0\\system.security.cryptography.openssl.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.primitives\\4.3.0\\system.security.cryptography.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.security.cryptography.x509certificates\\4.3.0\\system.security.cryptography.x509certificates.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.threading.tasks.extensions\\4.3.0\\system.threading.tasks.extensions.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.threading.timer\\4.3.0\\system.threading.timer.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.xml.readerwriter\\4.3.0\\system.xml.readerwriter.4.3.0.nupkg.sha512",
|
||||||
|
"C:\\Users\\monster\\.nuget\\packages\\system.xml.xdocument\\4.3.0\\system.xml.xdocument.4.3.0.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user