configuration.json added to the publish directory

This commit is contained in:
Stoyan Zlatev 2026-02-12 14:42:11 +01:00
parent 59af18c90b
commit 9205b61947
3 changed files with 26 additions and 5 deletions

View File

@ -192,6 +192,14 @@
<bindings>
<binding protocol="http" bindingInformation="*:50075:localhost" />
</bindings>
</site>
<site name="MeterProcessState(4)" id="7">
<application path="/" applicationPool="Clr4IntegratedAppPool">
<virtualDirectory path="/" physicalPath="C:\Users\SZLATEV\source\repos\laa_production\Common\Service\MeterProcessState" />
</application>
<bindings>
<binding protocol="http" bindingInformation="*:50076:localhost" />
</bindings>
</site>
<siteDefaults>
<!-- To enable logging, please change the below attribute "enabled" to "true" -->

View File

@ -16,22 +16,22 @@
<Deterministic>true</Deterministic>
<IsWebBootstrapper>false</IsWebBootstrapper>
<TargetFrameworkProfile />
<PublishUrl>Z:\Aktuelle Anwendungen\Publish\Cordonel Assembly Line\</PublishUrl>
<PublishUrl>C:\Users\SZLATEV\Desktop\sdfgsdfg\</PublishUrl>
<Install>true</Install>
<InstallFrom>Unc</InstallFrom>
<UpdateEnabled>true</UpdateEnabled>
<InstallFrom>Disk</InstallFrom>
<UpdateEnabled>false</UpdateEnabled>
<UpdateMode>Foreground</UpdateMode>
<UpdateInterval>7</UpdateInterval>
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<InstallUrl>\\sla12file\auftrag\Aktuelle Anwendungen\Publish\Cordonel Assembly Line\</InstallUrl>
<ProductName>Cordonel Assembly Line</ProductName>
<PublisherName>Xylem Sensus Laatzen</PublisherName>
<SuiteName>Cordonel Assembly Line</SuiteName>
<WebPage>publish.htm</WebPage>
<ApplicationRevision>15</ApplicationRevision>
<AutorunEnabled>true</AutorunEnabled>
<ApplicationRevision>22</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
@ -306,6 +306,12 @@
<ItemGroup>
<Resource Include="sensus.ico" />
</ItemGroup>
<ItemGroup>
<Content Include="bin/debug/configuration.json">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<CopyToPublishDirectory>Always</CopyToPublishDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>del /Q /S *.xml *.pdb</PostBuildEvent>

View File

@ -1188,6 +1188,11 @@ namespace CordonelAssemblyLine.Model
}
}
}
else
{
_state = PickingStateMachine.GetOrderDetails;
break;
}
break;
}
@ -1203,6 +1208,7 @@ namespace CordonelAssemblyLine.Model
}
else
{
_state = PickingStateMachine.MeterError;
Slot = $"Keine Konnektivität EP {_slotNr}";
lblS02Text = Slot;
Log($"No Meter found");
@ -1211,6 +1217,7 @@ namespace CordonelAssemblyLine.Model
catch (Exception e)
{
Log($"Error occur.{Environment.NewLine} {e.Message}");
_state = PickingStateMachine.MeterError;
}
}
}