diff --git a/src/BreCalClient/BreCalClient.csproj b/src/BreCalClient/BreCalClient.csproj
index 3333e8e..825a7a8 100644
--- a/src/BreCalClient/BreCalClient.csproj
+++ b/src/BreCalClient/BreCalClient.csproj
@@ -13,6 +13,7 @@
Bremen calling client
A Windows WPF client for the Bremen calling API.
containership.ico
+ BreCalTestClient
diff --git a/src/BreCalClient/Properties/PublishProfiles/ClickOnceTestProfile.pubxml b/src/BreCalClient/Properties/PublishProfiles/ClickOnceTestProfile.pubxml
index 7bd5924..db801ad 100644
--- a/src/BreCalClient/Properties/PublishProfiles/ClickOnceTestProfile.pubxml
+++ b/src/BreCalClient/Properties/PublishProfiles/ClickOnceTestProfile.pubxml
@@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
0
- 0.6.0.0
+ 0.6.1.0
False
Debug
True
@@ -21,9 +21,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
Any CPU
bin\publish.test\
ClickOnce
- False
- False
- False
+ True
+ True
+ True
(none)
False
net6.0-windows
@@ -37,14 +37,9 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
Informatikbüro Daniel Schick
Bremen Calling
http://www.textbausteine.net/
- bin\Debug\net6.0-windows\app.publish\
+ bin\Debug\net6.0-windows\win-x64\app.publish\
+ win-x64
-
-
- true
- .NET Desktop Runtime 6.0.16 (x64)
-
-
diff --git a/src/BreCalClient/ReadMe.md b/src/BreCalClient/ReadMe.md
index bcf3b10..be89e46 100644
--- a/src/BreCalClient/ReadMe.md
+++ b/src/BreCalClient/ReadMe.md
@@ -16,3 +16,25 @@ If code generation is not working please have a look in the output pane and sele
## Installation
The client is deployed via ClickOnce.
+
+To deploy the test client, leave everything as it is in develop branch and publish using the profile [ClickOnceTestProfile.pubxml](./Properties/PublishProfiles/ClickOnceTestProfile.pubxml).
+To deploy the productive version, use the profile [ClickOnceProfile.pubxml](./Properties/PublishProfiles/ClickOnceProfile.pubxml).
+You will also need to change the AssemblyName in BreCalClient.csproj back to BreCalClient.
+
+```xml
+BreCalClient
+```
+
+Resources are embedded in the assembly. Therefore wherever Resources are referenced via assembly name this name has to be adjusted as well. For example:
+
+```C++
+this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalClient;component/Resources/arrow_right_green.png"));
+```
+
+It is debatable if the single contained file deployment makes sense at this point. Installation file size
+is at about 150MB which takes a long time to upload however it should run on any current windows installation.
+Theoretically it should also work on Linux.
+
+### Signing
+
+Currently neither assemblies nor the installation is signed. This probably only makes sense with a paid public code signing certificate.
diff --git a/src/BreCalClient/ShipcallControl.xaml.cs b/src/BreCalClient/ShipcallControl.xaml.cs
index 9778f86..868b1b7 100644
--- a/src/BreCalClient/ShipcallControl.xaml.cs
+++ b/src/BreCalClient/ShipcallControl.xaml.cs
@@ -116,13 +116,13 @@ namespace BreCalClient
switch(this.ShipcallControlModel?.Shipcall?.Type)
{
case 1: // incoming
- this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalClient;component/Resources/arrow_down_red.png"));
+ this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalTestClient;component/Resources/arrow_down_red.png"));
break;
case 2: // outgoing
- this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalClient;component/Resources/arrow_up_blue.png"));
+ this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalTestClient;component/Resources/arrow_up_blue.png"));
break;
case 3: // shifting
- this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalClient;component/Resources/arrow_right_green.png"));
+ this.imageShipcallType.Source = new BitmapImage(new Uri("pack://application:,,,/BreCalTestClient;component/Resources/arrow_right_green.png"));
break;
default:
break;