hello kitty
This commit is contained in:
@@ -8,18 +8,23 @@ namespace file_finder__test;
|
||||
|
||||
public class FileClassifier
|
||||
{
|
||||
public async Task<(List<string> musicFiles, List<string> videoFiles)> ClassifyFilesAsync(
|
||||
//returns 2 seperat lists music and vidio
|
||||
public async Task<(List<string> musicFiles, List<string> videoFiles, List<string> photoFiles)> ClassifyFilesAsync(
|
||||
//3 lists. all file paths and a list for vidio and music ext
|
||||
List<string> allFiles,
|
||||
List<string> musicExtensions,
|
||||
List<string> videoExtensions)
|
||||
List<string> videoExtensions,
|
||||
List<string> photoExtensions)
|
||||
{
|
||||
int coreCount = Environment.ProcessorCount;
|
||||
//limit the max paralel tasks and split the total amount of files by the limit set
|
||||
int coreCount = Environment.ProcessorCount/2;
|
||||
int totalFiles = allFiles.Count;
|
||||
int chunkSize = (int)Math.Ceiling((double)totalFiles / coreCount);
|
||||
|
||||
//concurrent bag instead of lists due to multi tasks
|
||||
var musicBag = new ConcurrentBag<string>();
|
||||
var videoBag = new ConcurrentBag<string>();
|
||||
|
||||
var photoBag = new ConcurrentBag<string>();
|
||||
//a list of tasks. needed to check if all are done
|
||||
var tasks = new List<Task>();
|
||||
|
||||
for (int i = 0; i < coreCount; i++)
|
||||
@@ -41,11 +46,15 @@ public class FileClassifier
|
||||
musicBag.Add(file);
|
||||
else if (videoExtensions.Contains(ext))
|
||||
videoBag.Add(file);
|
||||
else if (photoExtensions.Contains(ext))
|
||||
{
|
||||
photoBag.Add(file);
|
||||
}
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
//wait till all tasks are done and return 2 lists
|
||||
await Task.WhenAll(tasks);
|
||||
return (new List<string>(musicBag), new List<string>(videoBag));
|
||||
return (new List<string>(musicBag), new List<string>(videoBag), new List<string>(photoBag));
|
||||
}
|
||||
}
|
@@ -7,6 +7,7 @@ using System.Threading.Tasks;
|
||||
|
||||
public class FileScanner
|
||||
{
|
||||
//all extensions and cuncurrent bag as a list wich works threw out multiple threads
|
||||
private readonly string[] _extensions;
|
||||
private readonly ConcurrentBag<string> _foundFiles = new ConcurrentBag<string>();
|
||||
|
||||
@@ -14,7 +15,7 @@ public class FileScanner
|
||||
{
|
||||
_extensions = extensions.Select(e => e.ToLower()).ToArray();
|
||||
}
|
||||
|
||||
//return a list of all coneckted drives
|
||||
public async Task<List<string>> ScanAllDrivesAsync()
|
||||
{
|
||||
var drives = new List<string>();
|
||||
@@ -31,14 +32,15 @@ public class FileScanner
|
||||
|
||||
return drives.ToList();
|
||||
}
|
||||
|
||||
//scan teh designated drive or folder
|
||||
public async Task<List<string>> ScanDriveParallel(string rootPath)
|
||||
{
|
||||
//all sub direcktorys will be also added to this bag
|
||||
var folderQueue = new ConcurrentQueue<string>();
|
||||
folderQueue.Enqueue(rootPath);
|
||||
|
||||
//all aktive skanners are placed here
|
||||
var folderWorkers = new List<Task>();
|
||||
//add Preformance testing here later
|
||||
//keep max tasks at half teh amounts of cores
|
||||
int maxWorkers = Environment.ProcessorCount/2;
|
||||
|
||||
for (int i = 0; i < maxWorkers; i++)
|
||||
@@ -72,8 +74,9 @@ public class FileScanner
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
//wait till all tasks are done
|
||||
Task.WaitAll(folderWorkers.ToArray());
|
||||
//return the found paths as string
|
||||
return _foundFiles.ToList();
|
||||
}
|
||||
}
|
||||
|
@@ -19,9 +19,10 @@ namespace file_finder__test
|
||||
// Step 2: Classify the files
|
||||
var musicExtensions = new List<string> { ".mp3", ".wav" };
|
||||
var videoExtensions = new List<string> { ".mp4", ".mkv" };
|
||||
var photoExtensions = new List<string> { ".jpg", ".img" };
|
||||
|
||||
var classifier = new FileClassifier();
|
||||
var (musicFiles, videoFiles) = await classifier.ClassifyFilesAsync(allFiles, musicExtensions, videoExtensions);
|
||||
var (musicFiles, videoFiles,photoFiles) = await classifier.ClassifyFilesAsync(allFiles, musicExtensions, videoExtensions, photoExtensions);
|
||||
Console.Clear();
|
||||
// Step 3: Use the results (e.g. print)
|
||||
//foreach (var music in musicFiles) Console.WriteLine(music);
|
||||
|
BIN
file finder test/bin/Debug/net8.0/FFMediaToolkit.dll
Normal file
BIN
file finder test/bin/Debug/net8.0/FFMediaToolkit.dll
Normal file
Binary file not shown.
BIN
file finder test/bin/Debug/net8.0/FFmpeg.AutoGen.dll
Normal file
BIN
file finder test/bin/Debug/net8.0/FFmpeg.AutoGen.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
file finder test/bin/Debug/net8.0/Newtonsoft.Json.dll
Normal file
BIN
file finder test/bin/Debug/net8.0/Newtonsoft.Json.dll
Normal file
Binary file not shown.
BIN
file finder test/bin/Debug/net8.0/System.Drawing.Common.dll
Normal file
BIN
file finder test/bin/Debug/net8.0/System.Drawing.Common.dll
Normal file
Binary file not shown.
@@ -7,9 +7,83 @@
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"file finder test/1.0.0": {
|
||||
"dependencies": {
|
||||
"FFMediaToolkit": "4.6.0",
|
||||
"FFmpeg.AutoGen": "7.1.1",
|
||||
"Newtonsoft.Json": "13.0.1",
|
||||
"System.Drawing.Common": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"file finder test.dll": {}
|
||||
}
|
||||
},
|
||||
"FFMediaToolkit/4.6.0": {
|
||||
"dependencies": {
|
||||
"FFmpeg.AutoGen": "7.1.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/FFMediaToolkit.dll": {
|
||||
"assemblyVersion": "4.0.0.0",
|
||||
"fileVersion": "4.6.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FFmpeg.AutoGen/7.1.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/FFmpeg.AutoGen.dll": {
|
||||
"assemblyVersion": "7.1.1.0",
|
||||
"fileVersion": "7.1.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents/6.0.0": {
|
||||
"runtime": {
|
||||
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Newtonsoft.Json.dll": {
|
||||
"assemblyVersion": "13.0.0.0",
|
||||
"fileVersion": "13.0.1.25517"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Drawing.Common/6.0.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.Win32.SystemEvents": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/System.Drawing.Common.dll": {
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/unix/lib/net6.0/System.Drawing.Common.dll": {
|
||||
"rid": "unix",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
},
|
||||
"runtimes/win/lib/net6.0/System.Drawing.Common.dll": {
|
||||
"rid": "win",
|
||||
"assetType": "runtime",
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -18,6 +92,41 @@
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"FFMediaToolkit/4.6.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-jbLcrLIEXc5jTOPu5ErsTonW/zO1auUkhWl8BksOsW58MXJRnYs1Qf7skFN8lwvFAKbd93E1+Mg3B1WtAIOHiw==",
|
||||
"path": "ffmediatoolkit/4.6.0",
|
||||
"hashPath": "ffmediatoolkit.4.6.0.nupkg.sha512"
|
||||
},
|
||||
"FFmpeg.AutoGen/7.1.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-p4FGdG654zut4Iseg7PeYo7sxFMOTuLTEKl/vX+44UQ6NmezF3wHcR6JzjH8xzK4VDPLJe5Xz563kXamMQj7Jg==",
|
||||
"path": "ffmpeg.autogen/7.1.1",
|
||||
"hashPath": "ffmpeg.autogen.7.1.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A==",
|
||||
"path": "microsoft.win32.systemevents/6.0.0",
|
||||
"hashPath": "microsoft.win32.systemevents.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"path": "newtonsoft.json/13.0.1",
|
||||
"hashPath": "newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
},
|
||||
"System.Drawing.Common/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
|
||||
"path": "system.drawing.common/6.0.0",
|
||||
"hashPath": "system.drawing.common.6.0.0.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,7 +9,10 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="FFMediaToolkit" Version="4.6.0" />
|
||||
<PackageReference Include="FFmpeg.AutoGen" Version="7.1.1" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
Binary file not shown.
@@ -13,7 +13,7 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("file finder test")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ff158be0c0c504655503c6be3f344f309a220247")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("file finder test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("file finder test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
@@ -1 +1 @@
|
||||
a8fa7ed7d042e7fb4f5d2918fa385e6ff28ee1e0399b3163d1f0d08015c36a87
|
||||
47e5f1d2af8f18fa8a11535b68ad38dbd2947ed97e6bffcefe76fd844e9440b2
|
||||
|
@@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = file_finder__test
|
||||
build_property.ProjectDir = C:\Users\Elias\Downloads\VPR_ShadowStream\VPR_ShadowStream\file finder test\
|
||||
build_property.ProjectDir = C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
|
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
||||
e71f97072287a58a080261ece6535e6469312148f17d38055a2d675a700c75f1
|
||||
f766a329a89a1fe00349eadd0eaff196dbea0e2a06c7754a447684d4f7057d88
|
||||
|
@@ -12,3 +12,28 @@ C:\Users\bib\Desktop\lea\c# code\file finder test\file finder test\obj\Debug\n
|
||||
C:\Users\bib\Desktop\lea\c# code\file finder test\file finder test\obj\Debug\net8.0\file finder test.pdb
|
||||
C:\Users\bib\Desktop\lea\c# code\file finder test\file finder test\obj\Debug\net8.0\file finder test.genruntimeconfig.cache
|
||||
C:\Users\bib\Desktop\lea\c# code\file finder test\file finder test\obj\Debug\net8.0\ref\file finder test.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\file finder test.exe
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\file finder test.deps.json
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\file finder test.runtimeconfig.json
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\file finder test.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\file finder test.pdb
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\Newtonsoft.Json.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.csproj.AssemblyReference.cache
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.AssemblyInfoInputs.cache
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.AssemblyInfo.cs
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.csproj.CoreCompileInputs.cache
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.sourcelink.json
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file fin.654EF635.Up2Date
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\refint\file finder test.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.pdb
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\file finder test.genruntimeconfig.cache
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\obj\Debug\net8.0\ref\file finder test.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\FFMediaToolkit.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\FFmpeg.AutoGen.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\Microsoft.Win32.SystemEvents.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\System.Drawing.Common.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\runtimes\win\lib\net6.0\Microsoft.Win32.SystemEvents.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\runtimes\unix\lib\net6.0\System.Drawing.Common.dll
|
||||
C:\Users\bib\Desktop\vpr\mediaverwaltung\file finder test\bin\Debug\net8.0\runtimes\win\lib\net6.0\System.Drawing.Common.dll
|
||||
|
Binary file not shown.
@@ -1 +1 @@
|
||||
6115aa85531941d9ae58608c9a9d5580805abc134e78bf45e30ba2c148dd972c
|
||||
ef99bd1acfd2190df72ec448ba2512817329f09b64d4b0d0eab6601066d8e487
|
||||
|
Binary file not shown.
@@ -0,0 +1 @@
|
||||
{"documents":{"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\*":"https://gitlab.com/NotMoReda1/mediaverwaltung/-/raw/ff158be0c0c504655503c6be3f344f309a220247/*"}}
|
Binary file not shown.
Binary file not shown.
@@ -1,23 +1,23 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj": {}
|
||||
"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj": {
|
||||
"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj",
|
||||
"projectUniqueName": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj",
|
||||
"projectName": "file finder test",
|
||||
"projectPath": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj",
|
||||
"packagesPath": "C:\\Users\\Elias\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\obj\\",
|
||||
"projectPath": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj",
|
||||
"packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Elias\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Users\\bib\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
@@ -49,9 +49,21 @@
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"dependencies": {
|
||||
"FFMediaToolkit": {
|
||||
"target": "Package",
|
||||
"version": "[4.6.0, )"
|
||||
},
|
||||
"FFmpeg.AutoGen": {
|
||||
"target": "Package",
|
||||
"version": "[7.1.1, )"
|
||||
},
|
||||
"Newtonsoft.Json": {
|
||||
"target": "Package",
|
||||
"version": "[13.0.1, )"
|
||||
},
|
||||
"System.Drawing.Common": {
|
||||
"target": "Package",
|
||||
"version": "[6.0.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
@@ -70,7 +82,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Users\\Elias\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Users\\bib\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -5,12 +5,12 @@
|
||||
<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\Elias\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\bib\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Elias\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Users\bib\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@@ -2,6 +2,57 @@
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {
|
||||
"FFMediaToolkit/4.6.0": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"FFmpeg.AutoGen": "7.1.1"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard2.1/FFMediaToolkit.dll": {
|
||||
"related": ".pdb;.xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/FFMediaToolkit.dll": {
|
||||
"related": ".pdb;.xml"
|
||||
}
|
||||
}
|
||||
},
|
||||
"FFmpeg.AutoGen/7.1.1": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/netstandard2.1/FFmpeg.AutoGen.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/FFmpeg.AutoGen.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents/6.0.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"buildTransitive/netcoreapp3.1/_._": {}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "win"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
@@ -14,10 +65,102 @@
|
||||
"related": ".xml"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Drawing.Common/6.0.0": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Microsoft.Win32.SystemEvents": "6.0.0"
|
||||
},
|
||||
"compile": {
|
||||
"lib/net6.0/System.Drawing.Common.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/System.Drawing.Common.dll": {
|
||||
"related": ".xml"
|
||||
}
|
||||
},
|
||||
"build": {
|
||||
"buildTransitive/netcoreapp3.1/_._": {}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/unix/lib/net6.0/System.Drawing.Common.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "unix"
|
||||
},
|
||||
"runtimes/win/lib/net6.0/System.Drawing.Common.dll": {
|
||||
"assetType": "runtime",
|
||||
"rid": "win"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"FFMediaToolkit/4.6.0": {
|
||||
"sha512": "jbLcrLIEXc5jTOPu5ErsTonW/zO1auUkhWl8BksOsW58MXJRnYs1Qf7skFN8lwvFAKbd93E1+Mg3B1WtAIOHiw==",
|
||||
"type": "package",
|
||||
"path": "ffmediatoolkit/4.6.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"ffmediatoolkit.4.6.0.nupkg.sha512",
|
||||
"ffmediatoolkit.nuspec",
|
||||
"lib/netstandard2.0/FFMediaToolkit.dll",
|
||||
"lib/netstandard2.0/FFMediaToolkit.pdb",
|
||||
"lib/netstandard2.0/FFMediaToolkit.xml",
|
||||
"lib/netstandard2.1/FFMediaToolkit.dll",
|
||||
"lib/netstandard2.1/FFMediaToolkit.pdb",
|
||||
"lib/netstandard2.1/FFMediaToolkit.xml"
|
||||
]
|
||||
},
|
||||
"FFmpeg.AutoGen/7.1.1": {
|
||||
"sha512": "p4FGdG654zut4Iseg7PeYo7sxFMOTuLTEKl/vX+44UQ6NmezF3wHcR6JzjH8xzK4VDPLJe5Xz563kXamMQj7Jg==",
|
||||
"type": "package",
|
||||
"path": "ffmpeg.autogen/7.1.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.txt",
|
||||
"README.md",
|
||||
"ffmpeg.autogen.7.1.1.nupkg.sha512",
|
||||
"ffmpeg.autogen.nuspec",
|
||||
"lib/netstandard2.0/FFmpeg.AutoGen.dll",
|
||||
"lib/netstandard2.0/FFmpeg.AutoGen.xml",
|
||||
"lib/netstandard2.1/FFmpeg.AutoGen.dll",
|
||||
"lib/netstandard2.1/FFmpeg.AutoGen.xml"
|
||||
]
|
||||
},
|
||||
"Microsoft.Win32.SystemEvents/6.0.0": {
|
||||
"sha512": "hqTM5628jSsQiv+HGpiq3WKBl2c8v1KZfby2J6Pr7pEPlK9waPdgEO6b8A/+/xn/yZ9ulv8HuqK71ONy2tg67A==",
|
||||
"type": "package",
|
||||
"path": "microsoft.win32.systemevents/6.0.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Icon.png",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"buildTransitive/netcoreapp2.0/Microsoft.Win32.SystemEvents.targets",
|
||||
"buildTransitive/netcoreapp3.1/_._",
|
||||
"lib/net461/Microsoft.Win32.SystemEvents.dll",
|
||||
"lib/net461/Microsoft.Win32.SystemEvents.xml",
|
||||
"lib/net6.0/Microsoft.Win32.SystemEvents.dll",
|
||||
"lib/net6.0/Microsoft.Win32.SystemEvents.xml",
|
||||
"lib/netcoreapp3.1/Microsoft.Win32.SystemEvents.dll",
|
||||
"lib/netcoreapp3.1/Microsoft.Win32.SystemEvents.xml",
|
||||
"lib/netstandard2.0/Microsoft.Win32.SystemEvents.dll",
|
||||
"lib/netstandard2.0/Microsoft.Win32.SystemEvents.xml",
|
||||
"microsoft.win32.systemevents.6.0.0.nupkg.sha512",
|
||||
"microsoft.win32.systemevents.nuspec",
|
||||
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.dll",
|
||||
"runtimes/win/lib/net6.0/Microsoft.Win32.SystemEvents.xml",
|
||||
"runtimes/win/lib/netcoreapp3.1/Microsoft.Win32.SystemEvents.dll",
|
||||
"runtimes/win/lib/netcoreapp3.1/Microsoft.Win32.SystemEvents.xml",
|
||||
"useSharedDesignerContext.txt"
|
||||
]
|
||||
},
|
||||
"Newtonsoft.Json/13.0.1": {
|
||||
"sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==",
|
||||
"type": "package",
|
||||
@@ -44,31 +187,73 @@
|
||||
"newtonsoft.json.nuspec",
|
||||
"packageIcon.png"
|
||||
]
|
||||
},
|
||||
"System.Drawing.Common/6.0.0": {
|
||||
"sha512": "NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
|
||||
"type": "package",
|
||||
"path": "system.drawing.common/6.0.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"Icon.png",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"buildTransitive/netcoreapp2.0/System.Drawing.Common.targets",
|
||||
"buildTransitive/netcoreapp3.1/_._",
|
||||
"lib/MonoAndroid10/_._",
|
||||
"lib/MonoTouch10/_._",
|
||||
"lib/net461/System.Drawing.Common.dll",
|
||||
"lib/net461/System.Drawing.Common.xml",
|
||||
"lib/net6.0/System.Drawing.Common.dll",
|
||||
"lib/net6.0/System.Drawing.Common.xml",
|
||||
"lib/netcoreapp3.1/System.Drawing.Common.dll",
|
||||
"lib/netcoreapp3.1/System.Drawing.Common.xml",
|
||||
"lib/netstandard2.0/System.Drawing.Common.dll",
|
||||
"lib/netstandard2.0/System.Drawing.Common.xml",
|
||||
"lib/xamarinios10/_._",
|
||||
"lib/xamarinmac20/_._",
|
||||
"lib/xamarintvos10/_._",
|
||||
"lib/xamarinwatchos10/_._",
|
||||
"runtimes/unix/lib/net6.0/System.Drawing.Common.dll",
|
||||
"runtimes/unix/lib/net6.0/System.Drawing.Common.xml",
|
||||
"runtimes/unix/lib/netcoreapp3.1/System.Drawing.Common.dll",
|
||||
"runtimes/unix/lib/netcoreapp3.1/System.Drawing.Common.xml",
|
||||
"runtimes/win/lib/net6.0/System.Drawing.Common.dll",
|
||||
"runtimes/win/lib/net6.0/System.Drawing.Common.xml",
|
||||
"runtimes/win/lib/netcoreapp3.1/System.Drawing.Common.dll",
|
||||
"runtimes/win/lib/netcoreapp3.1/System.Drawing.Common.xml",
|
||||
"system.drawing.common.6.0.0.nupkg.sha512",
|
||||
"system.drawing.common.nuspec",
|
||||
"useSharedDesignerContext.txt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": [
|
||||
"Newtonsoft.Json >= 13.0.1"
|
||||
"FFMediaToolkit >= 4.6.0",
|
||||
"FFmpeg.AutoGen >= 7.1.1",
|
||||
"Newtonsoft.Json >= 13.0.1",
|
||||
"System.Drawing.Common >= 6.0.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Elias\\.nuget\\packages\\": {},
|
||||
"C:\\Users\\bib\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj",
|
||||
"projectUniqueName": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj",
|
||||
"projectName": "file finder test",
|
||||
"projectPath": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj",
|
||||
"packagesPath": "C:\\Users\\Elias\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\obj\\",
|
||||
"projectPath": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj",
|
||||
"packagesPath": "C:\\Users\\bib\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Elias\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Users\\bib\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
@@ -100,9 +285,21 @@
|
||||
"net8.0": {
|
||||
"targetAlias": "net8.0",
|
||||
"dependencies": {
|
||||
"FFMediaToolkit": {
|
||||
"target": "Package",
|
||||
"version": "[4.6.0, )"
|
||||
},
|
||||
"FFmpeg.AutoGen": {
|
||||
"target": "Package",
|
||||
"version": "[7.1.1, )"
|
||||
},
|
||||
"Newtonsoft.Json": {
|
||||
"target": "Package",
|
||||
"version": "[13.0.1, )"
|
||||
},
|
||||
"System.Drawing.Common": {
|
||||
"target": "Package",
|
||||
"version": "[6.0.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
@@ -121,7 +318,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Users\\Elias\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Users\\bib\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -1,10 +1,14 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "prz0X75KDMs=",
|
||||
"dgSpecHash": "jBSb1NTebpU=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj",
|
||||
"projectFilePath": "C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Elias\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512"
|
||||
"C:\\Users\\bib\\.nuget\\packages\\ffmediatoolkit\\4.6.0\\ffmediatoolkit.4.6.0.nupkg.sha512",
|
||||
"C:\\Users\\bib\\.nuget\\packages\\ffmpeg.autogen\\7.1.1\\ffmpeg.autogen.7.1.1.nupkg.sha512",
|
||||
"C:\\Users\\bib\\.nuget\\packages\\microsoft.win32.systemevents\\6.0.0\\microsoft.win32.systemevents.6.0.0.nupkg.sha512",
|
||||
"C:\\Users\\bib\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512",
|
||||
"C:\\Users\\bib\\.nuget\\packages\\system.drawing.common\\6.0.0\\system.drawing.common.6.0.0.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
@@ -1 +1 @@
|
||||
"restore":{"projectUniqueName":"C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj","projectName":"file finder test","projectPath":"C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\file finder test.csproj","outputPath":"C:\\Users\\Elias\\Downloads\\VPR_ShadowStream\\VPR_ShadowStream\\file finder test\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net8.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Newtonsoft.Json":{"target":"Package","version":"[13.0.1, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Users\\Elias\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"}}
|
||||
"restore":{"projectUniqueName":"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj","projectName":"file finder test","projectPath":"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\file finder test.csproj","outputPath":"C:\\Users\\bib\\Desktop\\vpr\\mediaverwaltung\\file finder test\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net8.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"FFMediaToolkit":{"target":"Package","version":"[4.6.0, )"},"FFmpeg.AutoGen":{"target":"Package","version":"[7.1.1, )"},"Newtonsoft.Json":{"target":"Package","version":"[13.0.1, )"},"System.Drawing.Common":{"target":"Package","version":"[6.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Users\\bib\\.dotnet\\sdk\\8.0.406/PortableRuntimeIdentifierGraph.json"}}
|
@@ -1 +1 @@
|
||||
17480215477067295
|
||||
17492032581560652
|
@@ -1 +1 @@
|
||||
17480215477067295
|
||||
17492036620356235
|
Reference in New Issue
Block a user