Skip to content

Commit c0983a8

Browse files
committed
v5.6.16427.0
1 parent abf8f9d commit c0983a8

File tree

20 files changed

+249
-178
lines changed

20 files changed

+249
-178
lines changed

Common/Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
<Platforms>AnyCPU;x64</Platforms>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="ITHit.FileSystem" Version="5.6.16415.0" />
13+
<PackageReference Include="ITHit.FileSystem" Version="5.6.16427.0" />
1414
</ItemGroup>
1515
</Project>

Windows/Common/Core/Common.Windows.Core.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
2121
</ItemGroup>
2222
<ItemGroup>
23-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="5.6.16415.0" />
24-
<PackageReference Include="ITHit.FileSystem.Windows" Version="5.6.16415.0" />
23+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="5.6.16427.0" />
24+
<PackageReference Include="ITHit.FileSystem.Windows" Version="5.6.16427.0" />
2525
<ProjectReference Include="..\..\..\Common\Common.csproj" />
2626
</ItemGroup>
2727
</Project>

Windows/Common/VirtualDrive/Common.Windows.VirtualDrive.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<Platforms>AnyCPU;x64</Platforms>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<PackageReference Include="ITHit.FileSystem.Windows" Version="5.6.16415.0" />
12+
<PackageReference Include="ITHit.FileSystem.Windows" Version="5.6.16427.0" />
1313
<ProjectReference Include="..\..\..\Common\Common.csproj" />
1414
<ProjectReference Include="..\Core\Common.Windows.Core.csproj" />
1515
</ItemGroup>

Windows/Common/VirtualDrive/VirtualEngineBase.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ public VirtualEngineBase(
4747
LogFormatter logFormatter)
4848
: base(license, userFileSystemRootPath)
4949
{
50-
this.iconsFolderPath = iconsFolderPath ?? throw new NullReferenceException(nameof(iconsFolderPath));
50+
this.iconsFolderPath = iconsFolderPath ?? throw new ArgumentNullException(nameof(iconsFolderPath));
51+
_ = logFormatter ?? throw new ArgumentNullException(nameof(logFormatter));
5152

5253
// We want our file system to run regardless of any errors.
5354
// If any request to file system fails in user code or in Engine itself we continue processing.

Windows/VirtualDrive/VirtualDrive.ShellExtension/VirtualDrive.ShellExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
2020
</ItemGroup>
2121
<ItemGroup>
22-
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16415.0" />
22+
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16427.0" />
2323
</ItemGroup>
2424
<ItemGroup>
2525
<None Update="log4net.config">

Windows/VirtualDrive/VirtualDrive/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ await Registrar.RegisterAsync(SyncRootId, Settings.UserFileSystemRootPath, Setti
325325
}
326326
else
327327
{
328-
log.Info($"\n{Settings.UserFileSystemRootPath} sync root already registered.");
328+
log.Info($"\n\n{Settings.UserFileSystemRootPath} sync root already registered.");
329329
}
330330
}
331331

Windows/VirtualDrive/VirtualDrive/VirtualDrive.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ This is an advanced project with ETags support, Microsoft Office documents editi
4040
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
4141
</ItemGroup>
4242
<ItemGroup>
43-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="5.6.16415.0" />
44-
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16415.0" />
43+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="5.6.16427.0" />
44+
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16427.0" />
4545
<ProjectReference Include="..\..\..\Common\Common.csproj" />
4646
<ProjectReference Include="..\..\Common\VirtualDrive\Common.Windows.VirtualDrive.csproj" />
4747
<ProjectReference Include="..\VirtualDrive.ShellExtension\VirtualDrive.ShellExtension.csproj" />

Windows/VirtualFileSystem/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ await Registrar.RegisterAsync(SyncRootId, Settings.UserFileSystemRootPath, Setti
217217
}
218218
else
219219
{
220-
log.Info($"\n{Settings.UserFileSystemRootPath} sync root already registered.");
220+
log.Info($"\n\n{Settings.UserFileSystemRootPath} sync root already registered.");
221221
}
222222
}
223223

Windows/WebDAVDrive/WebDAVDrive.ShellExtension/WebDAVDrive.ShellExtension.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Copyright>IT HIT LTD.</Copyright>
1313
</PropertyGroup>
1414
<ItemGroup>
15-
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16415.0" />
15+
<PackageReference Include="ITHit.FileSystem.Windows.ShellExtension" Version="5.6.16427.0" />
1616
</ItemGroup>
1717
<ItemGroup>
1818
<None Update="log4net.config">

Windows/WebDAVDrive/WebDAVDrive.UI/ConsoleManager.cs

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,36 @@ namespace WebDAVDrive.UI
99
/// <summary>
1010
/// Console helper methods.
1111
/// </summary>
12-
public class ConsoleManager
12+
public static class ConsoleManager
1313
{
1414
[DllImport("user32.dll")]
1515
private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
1616

1717
[DllImport("user32.dll")]
1818
private static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
1919

20+
21+
/// <summary>
22+
/// Console visibility.
23+
/// </summary>
24+
public static bool ConsoleVisible { get; private set; }
25+
#if !DEBUG
26+
= false;
27+
#else
28+
= true;
29+
#endif
30+
2031
/// <summary>
2132
/// Hides or hides console window.
2233
/// </summary>
2334
/// <param name="visible">Console visibility.</param>
24-
public static void SetConsoleWindowVisibility(bool visible)
35+
public static void SetConsoleWindowVisibility(bool setVisible)
2536
{
2637
IntPtr hWnd = FindWindow(null, Console.Title);
2738
if (hWnd != IntPtr.Zero)
2839
{
29-
if (visible) ShowWindow(hWnd, 1);
30-
else ShowWindow(hWnd, 0);
40+
ShowWindow(hWnd, setVisible ? 1 : 0);
41+
ConsoleVisible = setVisible;
3142
}
3243
}
3344
}

0 commit comments

Comments
 (0)