Skip to content

Commit 5668f50

Browse files
committed
v8.4.27341.0
1 parent 58973af commit 5668f50

File tree

13 files changed

+46
-222
lines changed

13 files changed

+46
-222
lines changed

Common/Common.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<Platforms>AnyCPU;x64</Platforms>
1111
</PropertyGroup>
1212
<ItemGroup>
13-
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
14-
<PackageReference Include="ITHit.FileSystem" Version="8.3.27213.0" />
13+
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.4.27341.0" />
14+
<PackageReference Include="ITHit.FileSystem" Version="8.4.27341.0" />
1515
</ItemGroup>
1616
</Project>

Windows/Common/Core/Commands.cs

-21
Original file line numberDiff line numberDiff line change
@@ -199,26 +199,5 @@ public void ShowTestEnvironment(string userFileSystemWindowName, bool openRemote
199199
}
200200

201201
#endif
202-
203-
public void Test()
204-
{
205-
string name = "Notes.txt";
206-
string filePath = Path.Combine(Engine.Path, name);
207-
//FileInfo fi = new FileInfo(filePath);
208-
//fi.IsReadOnly = true;
209-
210-
var n = Engine.ServerNotifications(filePath);
211-
IFileMetadata metadata = new FileMetadata();
212-
metadata.Attributes = FileAttributes.Normal;
213-
metadata.CreationTime = DateTimeOffset.Now;
214-
metadata.LastWriteTime = DateTimeOffset.Now;
215-
metadata.ChangeTime = DateTimeOffset.Now;
216-
metadata.LastAccessTime = DateTimeOffset.Now;
217-
metadata.Name = name;
218-
metadata.MetadataETag = DateTimeOffset.Now.Ticks.ToString();
219-
metadata.ContentETag = null;//"etag1";
220-
n.UpdateAsync(metadata);
221-
}
222-
223202
}
224203
}

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

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0-windows10.0.19041.0;net48</TargetFrameworks>
3+
<TargetFrameworks>net9.0-windows10.0.19041.0;net48</TargetFrameworks>
44
<UseWindowsForms>True</UseWindowsForms>
55
<Description>Contains functionality common for all Windows Virtual Drive samples.</Description>
66
<Authors>IT Hit LTD.</Authors>
@@ -16,15 +16,15 @@
1616
<Compile Remove="Logger.cs" />
1717
</ItemGroup>
1818
<ItemGroup>
19-
<PackageReference Include="log4net" Version="2.0.13" />
20-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="5.0.0" />
19+
<PackageReference Include="log4net" Version="3.0.3" />
20+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
2121
</ItemGroup>
2222
<ItemGroup Condition=" '$(TargetFramework)' == 'net48' ">
23-
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.19041.1" />
23+
<PackageReference Include="Microsoft.Windows.SDK.Contracts" Version="10.0.26100.1742" />
2424
</ItemGroup>
2525
<ItemGroup>
26-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.3.27213.0" />
27-
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
26+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.4.27341.0" />
27+
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.4.27341.0" />
2828
<ProjectReference Include="..\..\..\Common\Common.csproj" />
2929
</ItemGroup>
3030
</Project>

Windows/Common/Core/LogFormatter.cs

+1
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@ public async Task PrintEngineDescriptionAsync(EngineWindows engine, string remot
141141
Log.Info($"\n{"Shell extensions RPC enabled:",indent} {engine.ShellExtensionsComServerRpcEnabled}");
142142
Log.Info($"\n{"Max create/read/write concurrent requests:",indent} {engine.MaxTransferConcurrentRequests}");
143143
Log.Info($"\n{"Max list/move/delete concurrent requests:",indent} {engine.MaxOperationsConcurrentRequests}");
144+
Log.Info($"\n{"Folder invalidation interval, ms:",indent} {engine.FolderInvalidationIntervalMs}");
144145

145146
// Log indexing state. Sync root must be indexed.
146147
await PrintIndexingStateAsync(engine.Path);

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>net8.0-windows10.0.19041.0</TargetFrameworks>
3+
<TargetFrameworks>net9.0-windows10.0.19041.0</TargetFrameworks>
44
<Description>Contains functionality common for all Windows Virtual Drive samples.</Description>
55
<Authors>IT Hit LTD.</Authors>
66
<Product>IT Hit User File System</Product>
@@ -13,8 +13,8 @@
1313
<Compile Remove="IVirtualFolder.cs" />
1414
</ItemGroup>
1515
<ItemGroup>
16-
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.3.27213.0" />
17-
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.3.27213.0" />
16+
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.4.27341.0" />
17+
<PackageReference Include="ITHit.FileSystem.Windows" Version="8.4.27341.0" />
1818
<ProjectReference Include="..\..\..\Common\Common.csproj" />
1919
<ProjectReference Include="..\Core\Common.Windows.Core.csproj" />
2020
</ItemGroup>

Windows/VirtualDrive/VirtualDrive.Package/VirtualDrive.Package.wapproj

+2-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@
6565
</ItemGroup>
6666
<Import Project="$(WapProjPath)\Microsoft.DesktopBridge.targets" />
6767
<ItemGroup>
68-
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.22000.197" PrivateAssets="all" />
68+
<PackageReference Include="Microsoft.Windows.SDK.BuildTools" Version="10.0.26100.1742" PrivateAssets="all" />
69+
<PackageReference Include="System.Private.Uri" Version="4.3.2" />
6970
</ItemGroup>
7071
<ItemGroup>
7172
<ProjectReference Include="..\VirtualDrive\VirtualDrive.csproj">

Windows/VirtualDrive/VirtualDrive/VirtualDrive.csproj

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFramework>net8.0-windows10.0.19041.0</TargetFramework>
4+
<TargetFramework>net9.0-windows10.0.19041.0</TargetFramework>
55
<Authors>IT Hit LTD.</Authors>
66
<Company>IT Hit LTD.</Company>
77
<Product>Virtual Drive</Product>
@@ -35,12 +35,12 @@ This is an advanced project with ETags support, Microsoft Office documents editi
3535
<Compile Remove="SyncService.cs" />
3636
</ItemGroup>
3737
<ItemGroup>
38-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="6.0.0" />
39-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="6.0.0" />
40-
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
38+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
39+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="9.0.0" />
40+
<PackageReference Include="System.Drawing.Common" Version="9.0.0" />
4141
</ItemGroup>
4242
<ItemGroup>
43-
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.3.27213.0" />
43+
<PackageReference Include="ITHit.FileSystem.Windows.Package" Version="8.4.27341.0" />
4444
<ProjectReference Include="..\..\..\Common\Common.csproj" />
4545
<ProjectReference Include="..\..\Common\VirtualDrive\Common.Windows.VirtualDrive.csproj" />
4646
</ItemGroup>
@@ -83,6 +83,6 @@ This is an advanced project with ETags support, Microsoft Office documents editi
8383
</None>
8484
</ItemGroup>
8585
<Target Name="PreBuild" BeforeTargets="PreBuildEvent">
86-
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\makeappx&quot; pack /d &quot;$(ProjectDir)SparsePackage&quot; /p &quot;$(OutDir)$(ProjectName).msix&quot; /nv /o&#xD;&#xA;&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool&quot; sign /fd SHA256 /a /f &quot;$(ProjectDir)$(ProjectName)_TemporaryKey.pfx&quot; /p &quot;ccaZD9HZ5ueFAYfaTtoN&quot; &quot;$(OutDir)$(ProjectName).msix&quot;&#xD;&#xA;taskkill /f /fi &quot;imagename eq VirtualDrive.ShellExtension.exe&quot;" />
86+
<Exec Command="&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\makeappx&quot; pack /d &quot;$(ProjectDir)SparsePackage&quot; /p &quot;$(OutDir)$(ProjectName).msix&quot; /nv /o&#xD;&#xA;&quot;C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\signtool&quot; sign /fd SHA256 /a /f &quot;$(ProjectDir)$(ProjectName)_TemporaryKey.pfx&quot; /p &quot;ccaZD9HZ5ueFAYfaTtoN&quot; &quot;$(OutDir)$(ProjectName).msix&quot;" />
8787
</Target>
8888
</Project>

Windows/VirtualFileSystem/VirtualFileSystem.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
4-
<TargetFrameworks>net8.0-windows10.0.19041.0</TargetFrameworks>
4+
<TargetFrameworks>net9.0-windows10.0.19041.0</TargetFrameworks>
55
<Authors>IT Hit LTD.</Authors>
66
<Company>IT Hit LTD.</Company>
77
<Product>Virtual File System</Product>
@@ -32,10 +32,10 @@ This project does not support ETags, locking, Microsoft Office documents editing
3232
<Compile Remove="SyncService.cs" />
3333
</ItemGroup>
3434
<ItemGroup>
35-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="3.1.7" />
35+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="9.0.0" />
3636
</ItemGroup>
3737
<ItemGroup>
38-
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.3.27213.0" />
38+
<PackageReference Include="ITHit.FileSystem.Windows.AppHelper" Version="8.4.27341.0" />
3939
<ProjectReference Include="..\Common\Core\Common.Windows.Core.csproj" />
4040
</ItemGroup>
4141
<ItemGroup>

Windows/WebDAVDrive/WebDAVDrive/Pages/MountNewDrivePage.xaml.cs

+11-7
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ namespace WebDAVDrive;
66

77
public partial class MountNewDrivePage : ContentPage
88
{
9-
public MountNewDrivePage()
10-
{
11-
InitializeComponent();
12-
}
9+
public MountNewDrivePage()
10+
{
11+
InitializeComponent();
12+
}
1313

1414
private async void OnValidateClicked(object sender, EventArgs e)
1515
{
@@ -34,14 +34,18 @@ private async void OnValidateClicked(object sender, EventArgs e)
3434
btnAddDrive.IsEnabled = false;
3535

3636
// Mount new domain.
37-
await ServiceProviderUtil.GetService<IDomainsService>().MountNewAsync([url]);
37+
_ = Task.Run(async () =>
38+
{
39+
await ServiceProviderUtil.GetService<IDomainsService>().MountNewAsync([url]);
40+
41+
});
3842
Application.Current.CloseWindow(Window);
3943
}
4044
else
41-
{
45+
{
4246
ValidationMessage.Text = "Invalid URL. Please enter a valid URL.";
4347
ValidationMessage.IsVisible = true;
44-
}
48+
}
4549
}
4650
}
4751

Windows/WebDAVDrive/WebDAVDrive/RemoteStorageMonitor/RemoteStorageMonitorCRUDE.cs

-161
This file was deleted.

Windows/WebDAVDrive/WebDAVDrive/Services/DomainsService.cs

+1
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ private async Task<bool> TryCreateEngineAsync(string webDAVServerUrl, string use
304304
engine.AutoLock = Settings.AutoLock;
305305
engine.MaxTransferConcurrentRequests = Settings.MaxTransferConcurrentRequests.Value;
306306
engine.MaxOperationsConcurrentRequests = Settings.MaxOperationsConcurrentRequests.Value;
307+
engine.FolderInvalidationIntervalMs = Settings.FolderInvalidationIntervalMs;
307308

308309
// Print Engine config, settings, logging headers.
309310
await LogFormatter.PrintEngineStartInfoAsync(engine, webDAVServerUrl);

Windows/WebDAVDrive/WebDAVDrive/Utils/ProtocolParametersUtil.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public static ProtocolParameters Parse(Uri uri)
4545
{
4646
ItemUrls = GetItemUrls(parameters),
4747
MountUrl = new Uri(HttpUtility.UrlDecode(parameters["MountUrl"])),
48-
Command = Enum.TryParse(HttpUtility.UrlDecode(parameters["Command"]), true, out CommandType command)
48+
Command = parameters.ContainsKey("Command") && Enum.TryParse(HttpUtility.UrlDecode(parameters["Command"]), true, out CommandType command)
4949
? command
5050
: CommandType.Open // Default if parsing fails
5151
};

0 commit comments

Comments
 (0)