summaryrefslogtreecommitdiff
path: root/writer/Program.cs
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-09-09 17:28:10 -0400
committera1xd <[email protected]>2021-09-09 17:28:10 -0400
commit1964548acbc56edb346d2e396eb0108010d869e1 (patch)
tree1f709352d4ff564df385afd3cb8a341d52134644 /writer/Program.cs
parentrename driver_settings (diff)
downloadrawaccel-1964548acbc56edb346d2e396eb0108010d869e1.tar.xz
rawaccel-1964548acbc56edb346d2e396eb0108010d869e1.zip
port to .NET 5
dependency changes - Newtonsoft.JSON + System.Windows.Forms.DataVisualization + System.Data.SqlClient (indirect, but was not added automatically by NuGet) added ARM64 target
Diffstat (limited to 'writer/Program.cs')
-rw-r--r--writer/Program.cs9
1 files changed, 3 insertions, 6 deletions
diff --git a/writer/Program.cs b/writer/Program.cs
index 83daed1..1a27a11 100644
--- a/writer/Program.cs
+++ b/writer/Program.cs
@@ -1,9 +1,6 @@
-using Newtonsoft.Json;
-
-using System;
-using System.Collections.Generic;
+using System;
using System.IO;
-using System.Linq;
+using System.Text.Json;
using System.Windows.Forms;
namespace writer
@@ -12,7 +9,7 @@ namespace writer
class Program
{
static readonly string DefaultPath = "settings.json";
- static readonly string Usage =
+ static readonly string Usage =
$"Usage: {AppDomain.CurrentDomain.FriendlyName} <settings file path>\n";
static void Exit(string msg)