From 4f5a8af24254d6d132e37c7792aabba7dffc55d6 Mon Sep 17 00:00:00 2001 From: buildbot121 Date: Thu, 30 Aug 2018 15:29:15 -0400 Subject: [PATCH 01/16] rn root --- .build/build.ps1 | 15 +++++---- .build/setup.ps1 | 2 +- README.md | 2 +- .../EventHook.ConsoleApp.Example/Capture.PNG | Bin .../EventHook.ConsoleApp.Example.csproj | 4 +-- .../EventHook.ConsoleApp.Example/Program.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../EventHook.ConsoleApp.Example/app.config | 0 .../EventHook.WPF.Example/App.config | 0 .../EventHook.WPF.Example/App.xaml | 0 .../EventHook.WPF.Example/App.xaml.cs | 0 .../EventHook.WPF.Example.csproj | 2 +- .../EventHook.WPF.Example/MainWindow.xaml | 0 .../EventHook.WPF.Example/MainWindow.xaml.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../Properties/Resources.Designer.cs | 0 .../Properties/Resources.resx | 0 .../Properties/Settings.Designer.cs | 0 .../Properties/Settings.settings | 0 .../EventHook.WinForms.Example/App.config | 0 .../EventHook.WinForms.Example.csproj | 2 +- .../MainForm.Designer.cs | 0 .../EventHook.WinForms.Example/MainForm.cs | 0 .../EventHook.WinForms.Example/Program.cs | 0 .../Properties/AssemblyInfo.cs | 0 .../Properties/Resources.Designer.cs | 0 .../Properties/Resources.resx | 0 .../Properties/Settings.Designer.cs | 0 .../Properties/Settings.settings | 0 EventHook.Docs.sln => src/EventHook.Docs.sln | 0 EventHook.sln => src/EventHook.sln | 30 +++++++++--------- .../EventHook}/ApplicationWatcher.cs | 0 .../EventHook}/ClipboardWatcher.cs | 0 .../EventHook}/EventHook.Docs.csproj | 0 {EventHook => src/EventHook}/EventHook.csproj | 6 ++-- {EventHook => src/EventHook}/EventHook.nuspec | 0 .../EventHook}/EventHookFactory.cs | 0 .../Helpers/AsyncConcurrentQueue.cs | 0 .../EventHook}/Helpers/SyncFactory.cs | 0 .../EventHook}/Helpers/WindowHelper.cs | 0 .../EventHook}/Hooks/ClipBoardHook.cs | 0 .../EventHook}/Hooks/KeyboardHook.cs | 0 .../EventHook}/Hooks/Library/Enum.cs | 0 .../EventHook}/Hooks/Library/Msgs.cs | 0 .../EventHook}/Hooks/Library/PrintSpoolAPI.cs | 0 .../EventHook}/Hooks/Library/Procs.cs | 0 .../EventHook}/Hooks/Library/Structs.cs | 0 .../EventHook}/Hooks/Library/User32.cs | 0 .../EventHook}/Hooks/MouseHook.cs | 0 .../EventHook}/Hooks/PrintQueueHook.cs | 0 .../EventHook}/Hooks/ShellHook.cs | 0 .../EventHook}/Hooks/WindowHook.cs | 0 .../EventHook}/Hooks/WindowHookEx.cs | 0 .../EventHook}/KeyboardWatcher.cs | 0 {EventHook => src/EventHook}/MouseWatcher.cs | 0 {EventHook => src/EventHook}/PrintWatcher.cs | 0 .../EventHook}/Properties/AssemblyInfo.cs | 0 {EventHook => src/EventHook}/app.config | 0 58 files changed, 33 insertions(+), 30 deletions(-) rename {EventHook.Examples => examples}/EventHook.ConsoleApp.Example/Capture.PNG (100%) rename {EventHook.Examples => examples}/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj (95%) rename {EventHook.Examples => examples}/EventHook.ConsoleApp.Example/Program.cs (100%) rename {EventHook.Examples => examples}/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs (100%) rename {EventHook.Examples => examples}/EventHook.ConsoleApp.Example/app.config (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/App.config (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/App.xaml (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/App.xaml.cs (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/EventHook.WPF.Example.csproj (98%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/MainWindow.xaml (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/MainWindow.xaml.cs (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/Properties/AssemblyInfo.cs (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/Properties/Resources.Designer.cs (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/Properties/Resources.resx (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/Properties/Settings.Designer.cs (100%) rename {EventHook.Examples => examples}/EventHook.WPF.Example/Properties/Settings.settings (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/App.config (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj (98%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/MainForm.Designer.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/MainForm.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Program.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Properties/AssemblyInfo.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Properties/Resources.Designer.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Properties/Resources.resx (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Properties/Settings.Designer.cs (100%) rename {EventHook.Examples => examples}/EventHook.WinForms.Example/Properties/Settings.settings (100%) rename EventHook.Docs.sln => src/EventHook.Docs.sln (100%) rename EventHook.sln => src/EventHook.sln (88%) rename {EventHook => src/EventHook}/ApplicationWatcher.cs (100%) rename {EventHook => src/EventHook}/ClipboardWatcher.cs (100%) rename {EventHook => src/EventHook}/EventHook.Docs.csproj (100%) rename {EventHook => src/EventHook}/EventHook.csproj (94%) rename {EventHook => src/EventHook}/EventHook.nuspec (100%) rename {EventHook => src/EventHook}/EventHookFactory.cs (100%) rename {EventHook => src/EventHook}/Helpers/AsyncConcurrentQueue.cs (100%) rename {EventHook => src/EventHook}/Helpers/SyncFactory.cs (100%) rename {EventHook => src/EventHook}/Helpers/WindowHelper.cs (100%) rename {EventHook => src/EventHook}/Hooks/ClipBoardHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/KeyboardHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/Enum.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/Msgs.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/PrintSpoolAPI.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/Procs.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/Structs.cs (100%) rename {EventHook => src/EventHook}/Hooks/Library/User32.cs (100%) rename {EventHook => src/EventHook}/Hooks/MouseHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/PrintQueueHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/ShellHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/WindowHook.cs (100%) rename {EventHook => src/EventHook}/Hooks/WindowHookEx.cs (100%) rename {EventHook => src/EventHook}/KeyboardWatcher.cs (100%) rename {EventHook => src/EventHook}/MouseWatcher.cs (100%) rename {EventHook => src/EventHook}/PrintWatcher.cs (100%) rename {EventHook => src/EventHook}/Properties/AssemblyInfo.cs (100%) rename {EventHook => src/EventHook}/app.config (100%) diff --git a/.build/build.ps1 b/.build/build.ps1 index 977c60b..96bdaaf 100644 --- a/.build/build.ps1 +++ b/.build/build.ps1 @@ -2,7 +2,8 @@ $PSake.use_exit_on_error = $true $Here = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$SolutionRoot = (Split-Path -parent $Here) +$RepoRoot = $(Split-Path -parent $Here) +$SolutionRoot = "$RepoRoot\src" $ProjectName = "EventHook" $GitHubProjectName = "Windows-User-Action-Hook" @@ -26,7 +27,7 @@ if(!$Branch) { $Branch = "local" } if($Branch -eq "beta" ) { $Version = "$Version-beta" } -$NuGet = Join-Path $SolutionRoot ".nuget\nuget.exe" +$NuGet = Join-Path $RepoRoot ".nuget\nuget.exe" $MSBuild = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\msbuild.exe" $MSBuild -replace ' ', '` ' @@ -65,12 +66,13 @@ Task Document -depends Build { if($Branch -eq "master") { + #use docfx to generate API documentation from source metadata docfx docfx.json #patch index.json so that it is always sorted #otherwise git will think file was changed - $IndexJsonFile = "$SolutionRoot\docs\index.json" + $IndexJsonFile = "$RepoRoot\docs\index.json" $unsorted = Get-Content $IndexJsonFile | Out-String [Reflection.Assembly]::LoadFile("$Here\lib\Newtonsoft.Json.dll") [System.Reflection.Assembly]::LoadWithPartialName("System") @@ -79,7 +81,7 @@ Task Document -depends Build { Set-Content -Path $IndexJsonFile -Value $obj #setup clone directory - $TEMP_REPO_DIR =(Split-Path -parent $SolutionRoot) + "\temp-repo-clone" + $TEMP_REPO_DIR =(Split-Path -parent $RepoRoot) + "\temp-repo-clone" If(test-path $TEMP_REPO_DIR) { @@ -101,7 +103,7 @@ Task Document -depends Build { cd "$TEMP_REPO_DIR\docs" #copy docs to clone directory\docs - Copy-Item -Path "$SolutionRoot\docs\*" -Destination "$TEMP_REPO_DIR\docs" -Recurse -Force + Copy-Item -Path "$RepoRoot\docs\*" -Destination "$TEMP_REPO_DIR\docs" -Recurse -Force #push changes to master git config --global credential.helper store @@ -119,5 +121,6 @@ Task Document -depends Build { #package nuget files Task Package -depends Document { - exec { . $NuGet pack "$SolutionRoot\$ProjectName\$ProjectName.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$SolutionRoot" -Version "$Version" } + exec { . $NuGet pack "$SolutionRoot\$ProjectName\$ProjectName.nuspec" -Properties Configuration=$Configuration -OutputDirectory "$RepoRoot" -Version "$Version" } } + diff --git a/.build/setup.ps1 b/.build/setup.ps1 index e07a784..a0ccb55 100644 --- a/.build/setup.ps1 +++ b/.build/setup.ps1 @@ -6,7 +6,7 @@ param ( function Install-Chocolatey() { - if(-not $env:ChocolateyInstall -or -not (Test-Path "$env:ChocolateyInstall")) + if(-not $env:ChocolateyInstall -or -not (Test-Path "$env:ChocolateyInstall\*")) { Write-Output "Chocolatey Not Found, Installing..." iex ((new-object net.webclient).DownloadString('http://chocolatey.org/install.ps1')) diff --git a/README.md b/README.md index 49fe370..0bfdbc6 100644 --- a/README.md +++ b/README.md @@ -75,4 +75,4 @@ using (var eventHookFactory = new EventHookFactory()) } ``` -![alt tag](https://raw.githubusercontent.com/justcoding121/Windows-User-Action-Hook/stable/EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG) +![alt tag](https://raw.githubusercontent.com/justcoding121/Windows-User-Action-Hook/master/examples/EventHook.ConsoleApp.Example/Capture.PNG) diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG b/examples/EventHook.ConsoleApp.Example/Capture.PNG similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Capture.PNG rename to examples/EventHook.ConsoleApp.Example/Capture.PNG diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj b/examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj similarity index 95% rename from EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj rename to examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj index d332e6c..4690a9f 100644 --- a/EventHook.Examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj +++ b/examples/EventHook.ConsoleApp.Example/EventHook.ConsoleApp.Example.csproj @@ -54,8 +54,8 @@ - - {4ff5e04f-3425-4f55-a50a-30ceba7c2b95} + + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Program.cs b/examples/EventHook.ConsoleApp.Example/Program.cs similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Program.cs rename to examples/EventHook.ConsoleApp.Example/Program.cs diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs b/examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.ConsoleApp.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.ConsoleApp.Example/app.config b/examples/EventHook.ConsoleApp.Example/app.config similarity index 100% rename from EventHook.Examples/EventHook.ConsoleApp.Example/app.config rename to examples/EventHook.ConsoleApp.Example/app.config diff --git a/EventHook.Examples/EventHook.WPF.Example/App.config b/examples/EventHook.WPF.Example/App.config similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.config rename to examples/EventHook.WPF.Example/App.config diff --git a/EventHook.Examples/EventHook.WPF.Example/App.xaml b/examples/EventHook.WPF.Example/App.xaml similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.xaml rename to examples/EventHook.WPF.Example/App.xaml diff --git a/EventHook.Examples/EventHook.WPF.Example/App.xaml.cs b/examples/EventHook.WPF.Example/App.xaml.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/App.xaml.cs rename to examples/EventHook.WPF.Example/App.xaml.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj b/examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj similarity index 98% rename from EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj rename to examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj index a2cf3d2..2b9bed6 100644 --- a/EventHook.Examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj +++ b/examples/EventHook.WPF.Example/EventHook.WPF.Example.csproj @@ -95,7 +95,7 @@ - + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml b/examples/EventHook.WPF.Example/MainWindow.xaml similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml rename to examples/EventHook.WPF.Example/MainWindow.xaml diff --git a/EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml.cs b/examples/EventHook.WPF.Example/MainWindow.xaml.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/MainWindow.xaml.cs rename to examples/EventHook.WPF.Example/MainWindow.xaml.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs b/examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.WPF.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Resources.Designer.cs b/examples/EventHook.WPF.Example/Properties/Resources.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Resources.Designer.cs rename to examples/EventHook.WPF.Example/Properties/Resources.Designer.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Resources.resx b/examples/EventHook.WPF.Example/Properties/Resources.resx similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Resources.resx rename to examples/EventHook.WPF.Example/Properties/Resources.resx diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Settings.Designer.cs b/examples/EventHook.WPF.Example/Properties/Settings.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Settings.Designer.cs rename to examples/EventHook.WPF.Example/Properties/Settings.Designer.cs diff --git a/EventHook.Examples/EventHook.WPF.Example/Properties/Settings.settings b/examples/EventHook.WPF.Example/Properties/Settings.settings similarity index 100% rename from EventHook.Examples/EventHook.WPF.Example/Properties/Settings.settings rename to examples/EventHook.WPF.Example/Properties/Settings.settings diff --git a/EventHook.Examples/EventHook.WinForms.Example/App.config b/examples/EventHook.WinForms.Example/App.config similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/App.config rename to examples/EventHook.WinForms.Example/App.config diff --git a/EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj b/examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj similarity index 98% rename from EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj rename to examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj index a4bf716..7b6fe46 100644 --- a/EventHook.Examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj +++ b/examples/EventHook.WinForms.Example/EventHook.WinForms.Example.csproj @@ -78,7 +78,7 @@ - + {3847a7f4-3f6b-4626-af4c-8fdfba6165f2} EventHook diff --git a/EventHook.Examples/EventHook.WinForms.Example/MainForm.Designer.cs b/examples/EventHook.WinForms.Example/MainForm.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/MainForm.Designer.cs rename to examples/EventHook.WinForms.Example/MainForm.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/MainForm.cs b/examples/EventHook.WinForms.Example/MainForm.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/MainForm.cs rename to examples/EventHook.WinForms.Example/MainForm.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Program.cs b/examples/EventHook.WinForms.Example/Program.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Program.cs rename to examples/EventHook.WinForms.Example/Program.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs b/examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs rename to examples/EventHook.WinForms.Example/Properties/AssemblyInfo.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs b/examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs rename to examples/EventHook.WinForms.Example/Properties/Resources.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.resx b/examples/EventHook.WinForms.Example/Properties/Resources.resx similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Resources.resx rename to examples/EventHook.WinForms.Example/Properties/Resources.resx diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs b/examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs rename to examples/EventHook.WinForms.Example/Properties/Settings.Designer.cs diff --git a/EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.settings b/examples/EventHook.WinForms.Example/Properties/Settings.settings similarity index 100% rename from EventHook.Examples/EventHook.WinForms.Example/Properties/Settings.settings rename to examples/EventHook.WinForms.Example/Properties/Settings.settings diff --git a/EventHook.Docs.sln b/src/EventHook.Docs.sln similarity index 100% rename from EventHook.Docs.sln rename to src/EventHook.Docs.sln diff --git a/EventHook.sln b/src/EventHook.sln similarity index 88% rename from EventHook.sln rename to src/EventHook.sln index d0746fa..942f6ab 100644 --- a/EventHook.sln +++ b/src/EventHook.sln @@ -12,12 +12,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{44D5BA .nuget\NuGet.targets = .nuget\NuGet.targets EndProjectSection EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WinForms.Example", "EventHook.Examples\EventHook.WinForms.Example\EventHook.WinForms.Example.csproj", "{17264D8C-CF5A-4032-9E70-090525D574F2}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.ConsoleApp.Example", "EventHook.Examples\EventHook.ConsoleApp.Example\EventHook.ConsoleApp.Example.csproj", "{0075830E-89B6-4E6B-9C49-CA377746AB4C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WPF.Example", "EventHook.Examples\EventHook.WPF.Example\EventHook.WPF.Example.csproj", "{41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook", "EventHook\EventHook.csproj", "{3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{FC2A6986-DC6C-4ABF-8BA5-FAF29CD15507}" @@ -26,35 +20,41 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{FC2A6986-D README.md = README.md EndProjectSection EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.ConsoleApp.Example", "..\examples\EventHook.ConsoleApp.Example\EventHook.ConsoleApp.Example.csproj", "{0075830E-89B6-4E6B-9C49-CA377746AB4C}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WinForms.Example", "..\examples\EventHook.WinForms.Example\EventHook.WinForms.Example.csproj", "{17264D8C-CF5A-4032-9E70-090525D574F2}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EventHook.WPF.Example", "..\examples\EventHook.WPF.Example\EventHook.WPF.Example.csproj", "{41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.Build.0 = Release|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.Build.0 = Release|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Debug|Any CPU.Build.0 = Debug|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Release|Any CPU.ActiveCfg = Release|Any CPU {0075830E-89B6-4E6B-9C49-CA377746AB4C}.Release|Any CPU.Build.0 = Release|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Debug|Any CPU.Build.0 = Debug|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.ActiveCfg = Release|Any CPU + {17264D8C-CF5A-4032-9E70-090525D574F2}.Release|Any CPU.Build.0 = Release|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Debug|Any CPU.Build.0 = Debug|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Release|Any CPU.ActiveCfg = Release|Any CPU {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0}.Release|Any CPU.Build.0 = Release|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Debug|Any CPU.Build.0 = Debug|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.ActiveCfg = Release|Any CPU - {3847A7F4-3F6B-4626-AF4C-8FDFBA6165F2}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection GlobalSection(NestedProjects) = preSolution - {17264D8C-CF5A-4032-9E70-090525D574F2} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} {0075830E-89B6-4E6B-9C49-CA377746AB4C} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} + {17264D8C-CF5A-4032-9E70-090525D574F2} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} {41F4FF6F-0E65-439C-9091-BA2C8E25BAE0} = {C622ACD2-76FB-4B6D-844D-C0C406C73214} EndGlobalSection GlobalSection(ExtensibilityGlobals) = postSolution diff --git a/EventHook/ApplicationWatcher.cs b/src/EventHook/ApplicationWatcher.cs similarity index 100% rename from EventHook/ApplicationWatcher.cs rename to src/EventHook/ApplicationWatcher.cs diff --git a/EventHook/ClipboardWatcher.cs b/src/EventHook/ClipboardWatcher.cs similarity index 100% rename from EventHook/ClipboardWatcher.cs rename to src/EventHook/ClipboardWatcher.cs diff --git a/EventHook/EventHook.Docs.csproj b/src/EventHook/EventHook.Docs.csproj similarity index 100% rename from EventHook/EventHook.Docs.csproj rename to src/EventHook/EventHook.Docs.csproj diff --git a/EventHook/EventHook.csproj b/src/EventHook/EventHook.csproj similarity index 94% rename from EventHook/EventHook.csproj rename to src/EventHook/EventHook.csproj index 32bbd3f..a041e43 100644 --- a/EventHook/EventHook.csproj +++ b/src/EventHook/EventHook.csproj @@ -14,7 +14,7 @@ ..\ true - ..\.nuget + ..\..\.nuget .. @@ -94,12 +94,12 @@ - + This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - +