fix setup for TCPServer/Tcpclient / update prebuild.sh to generate VersionInfo.cs file/ add in PreBuildEvent running of prebuild.sh

This commit is contained in:
Laurențiu Constantin 2024-03-14 12:43:50 +02:00
parent 741a923c49
commit 2dc4a05cf2
37 changed files with 226 additions and 170 deletions

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -22,8 +22,6 @@ port = 17234
[Update] [Update]
Version = 1.0.0.2 Version = 1.0.0.2
Enable = true Enable = true
autoupdate = true
develop = true
[Config] [Config]
watchdog = false watchdog = false

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,10 +1,10 @@
// Generated on Wed, Feb 28, 2024 4:12:47 PM by prebuild script // Generated on Thu, Feb 29, 2024 8:11:01 PM by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
public string Version{ get; set; } = "8.1.0.10898-1-g07d6730"; public string Version{ get; set; } = "8.1.0.10898-2-g741a923";
} }
} }

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -107,6 +107,9 @@
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>$(ProjectDir)prebuild.sh</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
@ -114,5 +117,4 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
</Project> </Project>

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -313,6 +313,9 @@
</ItemGroup> </ItemGroup>
<Import Project="..\SharedUI\SharedUI.projitems" Label="Shared" /> <Import Project="..\SharedUI\SharedUI.projitems" Label="Shared" />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>$(ProjectDir)prebuild.sh</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.--> Other similar extension points exist, see Microsoft.Common.targets.-->
</Project> </Project>

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -87,6 +87,9 @@
<None Include="app.config" /> <None Include="app.config" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>$(ProjectDir)prebuild.sh</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">
@ -94,5 +97,4 @@
<Target Name="AfterBuild"> <Target Name="AfterBuild">
</Target> </Target>
--> -->
</Project> </Project>

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1172,6 +1172,9 @@
<None Include="app.config" /> <None Include="app.config" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PreBuildEvent>$(ProjectDir)prebuild.sh</PreBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. <!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets. Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild"> <Target Name="BeforeBuild">

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -201,7 +201,6 @@
</Target> </Target>
--> -->
<PropertyGroup> <PropertyGroup>
<PreBuildEvent> <PreBuildEvent>$(ProjectDir)prebuild.sh</PreBuildEvent>
</PreBuildEvent>
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -35,5 +35,4 @@ appServerPopUp = true
[Update] [Update]
Version = 1.0.0.2 Version = 1.0.0.2
Enable = true Enable = true
autoupdate = true
develop = true

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -357,7 +357,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }
@ -388,7 +388,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }
@ -501,7 +501,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }

View File

@ -363,7 +363,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }
@ -414,7 +414,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }
@ -527,7 +527,7 @@
"SharedLegacy" = "11:FALSE" "SharedLegacy" = "11:FALSE"
"PackageAs" = "3:1" "PackageAs" = "3:1"
"Register" = "3:1" "Register" = "3:1"
"Exclude" = "11:TRUE" "Exclude" = "11:FALSE"
"IsDependency" = "11:TRUE" "IsDependency" = "11:TRUE"
"IsolateTo" = "8:" "IsolateTo" = "8:"
} }

View File

@ -90,8 +90,8 @@ namespace SharedUI
public void CheckUpdate() public void CheckUpdate()
{ {
Thread t = new Thread(CheckUpdateThread); //Thread t = new Thread(CheckUpdateThread);
t.Start(); //t.Start();
} }

View File

@ -298,7 +298,7 @@ namespace SharedUI
else else
UpdateUIForStatus(CurrentStatus.CHECKING); UpdateUIForStatus(CurrentStatus.CHECKING);
updater.CheckUpdate(); // updater.CheckUpdate();
} }
else else
{ {

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var

View File

@ -1,14 +1,14 @@
#/!bin/bash #/!bin/bash
echo ................. echo .................
echo . Prebuild step . echo . Prebuild step $(pwd)
echo ................. echo .................
version=$(git describe) version=$(git describe)
# ( # (
# echo namespace GenericBridge # echo namespace SafeDispatch-git
# echo { # echo {
# echo public class VersionInfo # echo public class VersionInfo
# echo { # echo {
@ -17,11 +17,13 @@ version=$(git describe)
# echo } # echo }
# )> "$(ProjectDir)\Properties\VersionInfo.cs" # )> "$(ProjectDir)\Properties\VersionInfo.cs"
[ -f ../../Properties/VersionInfo.cs ] && rm ../../Properties/VersionInfo.cs
cat > ../../Properties/VersionInfo.cs << ENDOFFILE
[ -f ../../../Properties/VersionInfo.cs ] && rm ../../../Properties/VersionInfo.cs
cat > ../../../Properties/VersionInfo.cs << ENDOFFILE
// Generated on $(date) by prebuild script // Generated on $(date) by prebuild script
namespace GenericBridge namespace SafeDispatch-git
{ {
public class VersionInfo public class VersionInfo
{ {
@ -32,6 +34,6 @@ namespace GenericBridge
ENDOFFILE ENDOFFILE
echo Generated 'Properties/VersionInfo.cs' with the content below: echo Generated 'Properties/VersionInfo.cs' with the content below:
cat ../../Properties/VersionInfo.cs cat ../../../Properties/VersionInfo.cs
echo ............................ echo ............................
#read -p 'Press Enter to continue...' var #read -p 'Press Enter to continue...' var