install.ps1 now stops right away with a clear message when it does not run as administrator or SYSTEM, instead of failing with "access denied" while copying. Copying retries while agent.exe is briefly locked, e.g. by an antivirus scan. Co-Authored-By: Claude Opus 5.5 <[email protected]>
16 lines
466 B
XML
16 lines
466 B
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net8.0-windows</TargetFramework>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<Nullable>enable</Nullable>
|
|
<AssemblyName>agent</AssemblyName>
|
|
<RootNamespace>NetBoxWindowsAgent</RootNamespace>
|
|
<Version>0.2.1</Version>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="System.Management" Version="8.0.0" />
|
|
</ItemGroup>
|
|
</Project>
|
|
|