Skip to content

Commit

Permalink
update nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
d2phap committed Jun 8, 2022
1 parent 6c0a1ad commit 826c46d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# FileWatcherEx for Windows
A wrapper of C# `FileSystemWatcher` for Windows, used in [ImageGlass](https://github.com/d2phap/ImageGlass) project.
A wrapper of `System.IO.FileSystemWatcher` to standardize the events and avoid false change notifications, used in [ImageGlass](https://github.com/d2phap/ImageGlass) project.

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

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

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

Expand Down
2 changes: 1 addition & 1 deletion Source/FileWatcherEx/FileSystemWatcherEx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace FileWatcherEx;
/// </summary>
public class FileSystemWatcherEx : IDisposable
{

#region Private Properties

private Thread? _thread;
Expand Down
8 changes: 5 additions & 3 deletions Source/FileWatcherEx/FileWatcherEx.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
<RepositoryUrl>https://github.com/d2phap/FileWatcherEx</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageTags>filewatcher, filesystemwatcher, io, filesystemevent, monitor, file-watcher, file-monitoring, realtime, file-systems, file-system-events, monitor-file-system, fs, fsevents</PackageTags>
<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>
<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>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<FileVersion>$(Version)</FileVersion>
<VersionPrefix>2.0.0</VersionPrefix>
<VersionPrefix>2.1.0</VersionPrefix>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageReleaseNotes>Supports for normalizing RENAMED events and .NET 6.0</PackageReleaseNotes>
<PackageReleaseNotes>Expose FileSystemWatcher.Filters property in .NET 6</PackageReleaseNotes>
<Authors>$(Authors)</Authors>
<SignAssembly>False</SignAssembly>
<AssemblyOriginatorKeyFile>C:\Users\d2pha\Desktop\pk.pfx</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion nuget.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

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


PAUSE

0 comments on commit 826c46d

Please sign in to comment.