Skip to content

Commit

Permalink
Update RZ.Base
Browse files Browse the repository at this point in the history
  • Loading branch information
rzander committed Oct 18, 2019
1 parent 840ed3e commit a58b004
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion RZ.Bot/App.config
Expand Up @@ -6,7 +6,7 @@
</sectionGroup>
</configSections>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/>
</startup>
<applicationSettings>
<RZ.Bot.Properties.Settings>
Expand Down
16 changes: 10 additions & 6 deletions RZ.Bot/Program.cs
Expand Up @@ -176,7 +176,7 @@ static void Main(string[] args)
{
Console.WriteLine("... Error. Installation failed.");
sLastPackage = oRZSW.SoftwareUpdate.SW.ShortName;
message.Abandon();
message.DeadLetter();
//return 1603;
}
Expand All @@ -185,23 +185,27 @@ static void Main(string[] args)
{
Console.WriteLine("... Error. Download failed.");
sLastPackage = oRZSW.SoftwareUpdate.SW.ShortName;
message.Abandon();
message.DeadLetter();
//return 1602;
}
}
}
else
{
Console.WriteLine("... retry later..");
//Console.WriteLine("... retry later..");
sLastPackage = oRZSW.SoftwareUpdate.SW.ShortName;
Thread.Sleep(3000);
message.Abandon(); // retry later....
Thread.Sleep(1000);
//message.Abandon(); // retry later....
message.DeadLetter();
return;
}
}
catch
catch(Exception ex)
{
Console.WriteLine("ERROR: " + ex.Message);
message.Abandon();
}
Expand Down
4 changes: 2 additions & 2 deletions RZ.Bot/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.7.*")]
[assembly: AssemblyFileVersion("1.0.7.5")]
[assembly: AssemblyVersion("1.7.1.*")]
[assembly: AssemblyFileVersion("1.7.1.0")]
6 changes: 3 additions & 3 deletions RZ.Bot/RZ.Bot.csproj
Expand Up @@ -9,7 +9,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>RZ.Bot</RootNamespace>
<AssemblyName>RZBot</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<TargetFrameworkProfile />
Expand Down Expand Up @@ -95,10 +95,10 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Costura.Fody">
<Version>4.0.0</Version>
<Version>4.1.0</Version>
</PackageReference>
<PackageReference Include="Fody">
<Version>4.2.1</Version>
<Version>6.0.1</Version>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down

0 comments on commit a58b004

Please sign in to comment.