Skip to content

Commit 826c46d

Browse files
committed
update nuget package
1 parent 6c0a1ad commit 826c46d

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# FileWatcherEx for Windows
2-
A wrapper of C# `FileSystemWatcher` for Windows, used in [ImageGlass](https://github.com/d2phap/ImageGlass) project.
2+
A wrapper of `System.IO.FileSystemWatcher` to standardize the events and avoid false change notifications, used in [ImageGlass](https://github.com/d2phap/ImageGlass) project.
33

44
This project is based on the *VSCode FileWatcher*: https://github.com/Microsoft/vscode-filewatcher-windows
55

@@ -12,7 +12,7 @@ This project is based on the *VSCode FileWatcher*: https://github.com/Microsoft/
1212
- Nuget package: [https://www.nuget.org/packages/FileWatcherEx](https://www.nuget.org/packages/FileWatcherEx/)
1313

1414
## Features
15-
- Standardize the events of C# `FileSystemWatcher`.
15+
- Standardize the events of `System.IO.FileSystemWatcher`.
1616
- No false change notifications when a file system item is created, deleted, changed or renamed.
1717
- Support .NET 6.0.
1818

Source/FileWatcherEx/FileSystemWatcherEx.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace FileWatcherEx;
1010
/// </summary>
1111
public class FileSystemWatcherEx : IDisposable
1212
{
13-
13+
1414
#region Private Properties
1515

1616
private Thread? _thread;

Source/FileWatcherEx/FileWatcherEx.csproj

+5-3
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
<RepositoryUrl>https://github.com/d2phap/FileWatcherEx</RepositoryUrl>
1111
<RepositoryType>git</RepositoryType>
1212
<PackageTags>filewatcher, filesystemwatcher, io, filesystemevent, monitor, file-watcher, file-monitoring, realtime, file-systems, file-system-events, monitor-file-system, fs, fsevents</PackageTags>
13-
<Description>A file system watcher, used in ImageGlass project (https://imageglass.org). This project is based on the VSCode FileWatcher: https://github.com/Microsoft/vscode-filewatcher-windows.</Description>
13+
<Description>A wrapper of FileSystemWatcher to standardize the events and avoid false change notifications, used in ImageGlass project (https://imageglass.org). This project is based on the VSCode FileWatcher: https://github.com/Microsoft/vscode-filewatcher-windows.</Description>
1414
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
1515
<FileVersion>$(Version)</FileVersion>
16-
<VersionPrefix>2.0.0</VersionPrefix>
16+
<VersionPrefix>2.1.0</VersionPrefix>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
18-
<PackageReleaseNotes>Supports for normalizing RENAMED events and .NET 6.0</PackageReleaseNotes>
18+
<PackageReleaseNotes>Expose FileSystemWatcher.Filters property in .NET 6</PackageReleaseNotes>
1919
<Authors>$(Authors)</Authors>
20+
<SignAssembly>False</SignAssembly>
21+
<AssemblyOriginatorKeyFile>C:\Users\d2pha\Desktop\pk.pfx</AssemblyOriginatorKeyFile>
2022
</PropertyGroup>
2123

2224
<ItemGroup>

nuget.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
dotnet nuget push "Source\FileWatcherEx\bin\Release\FileWatcherEx.2.0.0.nupkg" --api-key YOUR_GITHUB_PAT --source "github"
2+
dotnet nuget push "Source\FileWatcherEx\bin\Release\FileWatcherEx.2.1.0.nupkg" --api-key YOUR_GITHUB_PAT --source "github"
33

44

55
PAUSE

0 commit comments

Comments
 (0)