Code inspections

This commit is contained in:
2019-10-01 18:55:20 +01:00
parent 9969fce375
commit 12e46edc74
4 changed files with 7 additions and 5 deletions
+2
View File
@@ -175,6 +175,8 @@ namespace ASCOM.Meade.net
// put everything into one folder, the same as the server.
string assyPath = Assembly.GetEntryAssembly().Location;
assyPath = Path.GetDirectoryName(assyPath);
if (assyPath == null)
throw new System.InvalidOperationException();
DirectoryInfo d = new DirectoryInfo(assyPath);
foreach (FileInfo fi in d.GetFiles("*.dll"))