Added .NET Framework 4 target for application

Update ErrorCodes.cs, NibblePoker.Application.ListComPort.csproj, and 2 more files...
This commit is contained in:
2024-05-24 16:49:02 +02:00
parent 6e4462c8fa
commit 60a7cb0f6b
4 changed files with 256 additions and 214 deletions
@@ -1,20 +1,20 @@
namespace NibblePoker.Application.ListComPort;
namespace NibblePoker.Application.ListComPort {
public static class ErrorCodes {
public const int NoError = 0;
public static class ErrorCodes {
public const int NoError = 0;
/* Fatal errors (1-9) */
// Not needed in C#
/* Internal argument parser errors (10-19) */
public const int ArgumentParsingFailure = 10;
// ArgumentDefinitionFailure = 11 => Cannot happen due to the way options are declared. (Caught in development)
// ArgumentInitFailure = 12 => Cannot happen with "NibblePoker.Library.Arguments".
/* External argument errors (20-29) */
public const int NoPaddingValue = 20;
/* Application & System errors (30-39) */
// NoFriendlyNames = 30 => Causes problems with broad-range exit code checks.
public const int NoComPorts = 31;
}
/* Fatal errors (1-9) */
// Not needed in C#
/* Internal argument parser errors (10-19) */
public const int ArgumentParsingFailure = 10;
// ArgumentDefinitionFailure = 11 => Cannot happen due to the way options are declared. (Caught in development)
// ArgumentInitFailure = 12 => Cannot happen with "NibblePoker.Library.Arguments".
/* External argument errors (20-29) */
public const int NoPaddingValue = 20;
/* Application & System errors (30-39) */
// NoFriendlyNames = 30 => Causes problems with broad-range exit code checks.
public const int NoComPorts = 31;
}
}