Fixed Service error

This commit is contained in:
Marc Rejohn Castillano 2025-10-19 18:01:23 +08:00
parent f15917c2c2
commit 99c4d44d4d
42 changed files with 15 additions and 95 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,16 +1,7 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\InventoryAgent\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{0079DEDD-4B78-4B0B-AD09-CDEF3BB92C6F}|Inventory.Core\\Inventory.Core.csproj|d:\\inventoryagent\\inventory.core\\inventory.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{0079DEDD-4B78-4B0B-AD09-CDEF3BB92C6F}|Inventory.Core\\Inventory.Core.csproj|solutionrelative:inventory.core\\inventory.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
},
{
"AbsoluteMoniker": "D:0:0:{B0F07931-1AEA-48D9-9E4A-A60F2506D2B4}|Inventory.Agent\\Inventory.Agent.csproj|d:\\inventoryagent\\inventory.agent\\inventory.agent.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{B0F07931-1AEA-48D9-9E4A-A60F2506D2B4}|Inventory.Agent\\Inventory.Agent.csproj|solutionrelative:inventory.agent\\inventory.agent.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
}
],
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 1,
@ -18,34 +9,8 @@
"DocumentGroups": [
{
"DockedHeight": 329,
"SelectedChildIndex": 0,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Inventory.Core",
"DocumentMoniker": "D:\\InventoryAgent\\Inventory.Core\\Inventory.Core.csproj",
"RelativeDocumentMoniker": "Inventory.Core\\Inventory.Core.csproj",
"ToolTip": "D:\\InventoryAgent\\Inventory.Core\\Inventory.Core.csproj*",
"RelativeToolTip": "Inventory.Core\\Inventory.Core.csproj*",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2025-10-19T09:04:25.493Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Inventory.Agent",
"DocumentMoniker": "D:\\InventoryAgent\\Inventory.Agent\\Inventory.Agent.csproj",
"RelativeDocumentMoniker": "Inventory.Agent\\Inventory.Agent.csproj",
"ToolTip": "D:\\InventoryAgent\\Inventory.Agent\\Inventory.Agent.csproj",
"RelativeToolTip": "Inventory.Agent\\Inventory.Agent.csproj",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2025-10-19T09:03:20.537Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:131:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"

View File

@ -1,16 +1,7 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\InventoryAgent\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{0079DEDD-4B78-4B0B-AD09-CDEF3BB92C6F}|Inventory.Core\\Inventory.Core.csproj|d:\\inventoryagent\\inventory.core\\inventory.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{0079DEDD-4B78-4B0B-AD09-CDEF3BB92C6F}|Inventory.Core\\Inventory.Core.csproj|solutionrelative:inventory.core\\inventory.core.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
},
{
"AbsoluteMoniker": "D:0:0:{B0F07931-1AEA-48D9-9E4A-A60F2506D2B4}|Inventory.Agent\\Inventory.Agent.csproj|d:\\inventoryagent\\inventory.agent\\inventory.agent.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{B0F07931-1AEA-48D9-9E4A-A60F2506D2B4}|Inventory.Agent\\Inventory.Agent.csproj|solutionrelative:inventory.agent\\inventory.agent.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
}
],
"Documents": [],
"DocumentGroupContainers": [
{
"Orientation": 1,
@ -18,34 +9,8 @@
"DocumentGroups": [
{
"DockedHeight": 329,
"SelectedChildIndex": 0,
"SelectedChildIndex": -1,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Inventory.Core",
"DocumentMoniker": "D:\\InventoryAgent\\Inventory.Core\\Inventory.Core.csproj",
"RelativeDocumentMoniker": "Inventory.Core\\Inventory.Core.csproj",
"ToolTip": "D:\\InventoryAgent\\Inventory.Core\\Inventory.Core.csproj",
"RelativeToolTip": "Inventory.Core\\Inventory.Core.csproj",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2025-10-19T09:04:25.493Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Inventory.Agent",
"DocumentMoniker": "D:\\InventoryAgent\\Inventory.Agent\\Inventory.Agent.csproj",
"RelativeDocumentMoniker": "Inventory.Agent\\Inventory.Agent.csproj",
"ToolTip": "D:\\InventoryAgent\\Inventory.Agent\\Inventory.Agent.csproj",
"RelativeToolTip": "Inventory.Agent\\Inventory.Agent.csproj",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2025-10-19T09:03:20.537Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:131:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <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.
@ -14,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Inventory.AdminTool")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6a756571edb809385bda8e0265fc2d41df1d01d7")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f15917c2c2347590911286236916777eb19539fb")]
[assembly: System.Reflection.AssemblyProductAttribute("Inventory.AdminTool")]
[assembly: System.Reflection.AssemblyTitleAttribute("Inventory.AdminTool")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
f074d16bf2d42fa8e2905eccff91c5ecbcb6afad5cab008e11860733e2fc4494
d2e237dda6fc65b7ad6fa5843400043b7136505203f6a495dba11f45a0a9d18a

View File

@ -29,6 +29,7 @@ namespace Inventory.Agent
services.AddHttpClient();
services.AddSingleton<SystemInfoCollector>();
services.AddScoped<DatabaseUpdater>();
services.AddScoped<HealthMonitor>();
services.AddScoped<SlurpitClient>();
services.AddScoped<UpdateWorkflow>();
services.AddHostedService<Worker>();

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <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.
@ -15,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Inventory.Agent")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6a756571edb809385bda8e0265fc2d41df1d01d7")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f15917c2c2347590911286236916777eb19539fb")]
[assembly: System.Reflection.AssemblyProductAttribute("Inventory.Agent")]
[assembly: System.Reflection.AssemblyTitleAttribute("Inventory.Agent")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
b8d94b51e211da19f90794f1f94559abba1f74da2507bd8936b1d3f6296b4528
7ac3e5efb50b88dc18f3bd776c01ce63701167451103a7d6d673495a2111f22b

View File

@ -199,6 +199,7 @@ namespace Inventory.Core
"doPDF",
"Foxit",
"PrimoPDF",
"PDF Architect",
// Other virtual/utility printers
"Snagit",

View File

@ -1,7 +1,6 @@
//------------------------------------------------------------------------------
// <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.
@ -14,7 +13,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Inventory.Core")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6a756571edb809385bda8e0265fc2d41df1d01d7")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f15917c2c2347590911286236916777eb19539fb")]
[assembly: System.Reflection.AssemblyProductAttribute("Inventory.Core")]
[assembly: System.Reflection.AssemblyTitleAttribute("Inventory.Core")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
04bcb48efd9f7de750f213e8ac2bfc250977593d2eefdc77dfa29debb253d1bb
b78b9e5ff9443ec07406462c01cf93867baf77a5cc8127a5e13a7c025119328e

View File

@ -55,20 +55,11 @@ Global
{A22DD7C8-9AF2-465B-BD48-850455AA1296}.Release|x64.Build.0 = Release|Any CPU
{A22DD7C8-9AF2-465B-BD48-850455AA1296}.Release|x86.ActiveCfg = Release|Any CPU
{A22DD7C8-9AF2-465B-BD48-850455AA1296}.Release|x86.Build.0 = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|x64.ActiveCfg = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|x64.Build.0 = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|x86.ActiveCfg = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Debug|x86.Build.0 = Debug|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|Any CPU.Build.0 = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|x64.ActiveCfg = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|x64.Build.0 = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|x86.ActiveCfg = Release|Any CPU
{BC79681E-61B4-455E-861C-917E46E6A1C9}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {A2B91857-A9C0-42F3-935F-9EE1916D6696}
EndGlobalSection
EndGlobal