diff --git a/SabreTools.Reports/Formats/Html.cs b/SabreTools.Reports/Formats/Html.cs
index e714ca64..35703138 100644
--- a/SabreTools.Reports/Formats/Html.cs
+++ b/SabreTools.Reports/Formats/Html.cs
@@ -1,7 +1,9 @@
using System;
using System.Collections.Generic;
using System.IO;
+#if NET40_OR_GREATER || NETCOREAPP
using System.Net;
+#endif
using System.Text;
using System.Xml;
using SabreTools.DatFiles;