Copy DeviceSettings.config to the build output directory

Ensure DeviceSettings.config is deployed next to the service executable with serviceconfig.json.
main
SYED MUSTUFA AHMED NAQVI 2026-08-05 15:35:38 +05:00
parent f8c6a060d8
commit 3bc691933a
1 changed files with 2 additions and 1 deletions

View File

@ -29,8 +29,9 @@
</ItemGroup>
<ItemGroup>
<!-- Ensure serviceconfig is copied next to the exe -->
<!-- Ensure serviceconfig / device settings are copied next to the exe -->
<None Include="serviceconfig.json" CopyToOutputDirectory="PreserveNewest" />
<None Include="DeviceSettings.config" CopyToOutputDirectory="PreserveNewest" />
<None Include="appsettings.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>