From 2538a79ef01ed4bf038f033422f86dadd5070433 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Fri, 30 Oct 2015 19:44:41 +0000 Subject: [PATCH] Remove unused reference System.xaml also removed because .net 3.5 doesn't has this dll, and it resolve the issue when using code metrics --- Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj | 1 - .../Wox.Plugin.Caculator.csproj | 210 +++++++++--------- .../Wox.Plugin.Color/Wox.Plugin.Color.csproj | 6 - .../Wox.Plugin.ControlPanel.csproj | 5 - .../Wox.Plugin.Everything.csproj | 5 - .../Wox.Plugin.Folder.csproj | 1 - .../Wox.Plugin.PluginIndicator.csproj | 6 - .../Wox.Plugin.PluginManagement.csproj | 5 - Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj | 1 - Plugins/Wox.Plugin.Url/UrlPlugin.cs | 1 - Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj | 8 - .../Wox.Plugin.WebSearch.csproj | 1 - Wox.Core/Wox.Core.csproj | 4 - Wox.CrashReporter/ReportWindow.xaml.cs | 2 - Wox.CrashReporter/Wox.CrashReporter.csproj | 12 - Wox.Infrastructure/Http/HttpRequest.cs | 1 - Wox.Infrastructure/Storage/BaseStorage.cs | 1 - Wox.Infrastructure/Wox.Infrastructure.csproj | 9 - Wox.Plugin/Wox.Plugin.csproj | 6 - Wox.Test/Plugins/PluginInitTest.cs | 1 - Wox.Test/UrlPluginTest.cs | 1 - Wox.Test/Wox.Test.csproj | 9 - Wox/Wox.csproj | 15 -- 23 files changed, 101 insertions(+), 210 deletions(-) diff --git a/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj b/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj index b64f79fc27..6f6765299c 100644 --- a/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj +++ b/Plugins/Wox.Plugin.CMD/Wox.Plugin.CMD.csproj @@ -44,7 +44,6 @@ - diff --git a/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj b/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj index f564925281..63d5cf4402 100644 --- a/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj +++ b/Plugins/Wox.Plugin.Caculator/Wox.Plugin.Caculator.csproj @@ -1,116 +1,108 @@ - - - - - Debug - AnyCPU - {59BD9891-3837-438A-958D-ADC7F91F6F7E} - Library - Properties - Wox.Plugin.Caculator - Wox.Plugin.Caculator - v3.5 - 512 - ..\..\ - true - - - - true - full - false - ..\..\Output\Debug\Plugins\Wox.Plugin.Caculator\ - DEBUG;TRACE - prompt - 4 - false - - - pdbonly - true - ..\..\Output\Release\Plugins\Wox.Plugin.Caculator\ - TRACE - prompt - 4 - false - - - - - - - - - - - - False - ..\..\packages\YAMP.1.4.0\lib\net35\YAMP.dll - - - - - - - - - - PreserveNewest - - - - - {4fd29318-a8ab-4d8f-aa47-60bc241b8da3} - Wox.Infrastructure - - - {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} - Wox.Plugin - - - - - PreserveNewest - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - MSBuild:Compile - Designer - PreserveNewest - - - - - - - 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 - - - - - - - + + + + + Debug + AnyCPU + {59BD9891-3837-438A-958D-ADC7F91F6F7E} + Library + Properties + Wox.Plugin.Caculator + Wox.Plugin.Caculator + v3.5 + 512 + ..\..\ + true + + + + true + full + false + ..\..\Output\Debug\Plugins\Wox.Plugin.Caculator\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + ..\..\Output\Release\Plugins\Wox.Plugin.Caculator\ + TRACE + prompt + 4 + false + + + + + + + + False + ..\..\packages\YAMP.1.4.0\lib\net35\YAMP.dll + + + + + + + + + + PreserveNewest + + + + + {8451ecdd-2ea4-4966-bb0a-7bbc40138e80} + Wox.Plugin + + + + + PreserveNewest + + + + + MSBuild:Compile + Designer + PreserveNewest + + + + + MSBuild:Compile + Designer + PreserveNewest + + + + + MSBuild:Compile + Designer + PreserveNewest + + + + + + + 这台计算机上缺少此项目引用的 NuGet 程序包。启用“NuGet 程序包还原”可下载这些程序包。有关详细信息,请参阅 http://go.microsoft.com/fwlink/?LinkID=322105。缺少的文件是 {0}。 + + + + + + + + --> \ No newline at end of file diff --git a/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj b/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj index 8a0428fad2..847df6d016 100644 --- a/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj +++ b/Plugins/Wox.Plugin.Color/Wox.Plugin.Color.csproj @@ -34,14 +34,8 @@ - - - - - - diff --git a/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj b/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj index 9d4cb13c89..86f8a2c2a8 100644 --- a/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj +++ b/Plugins/Wox.Plugin.ControlPanel/Wox.Plugin.ControlPanel.csproj @@ -33,14 +33,9 @@ false - - - - - diff --git a/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj b/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj index 3617934043..e4c42144e0 100644 --- a/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj +++ b/Plugins/Wox.Plugin.Everything/Wox.Plugin.Everything.csproj @@ -41,14 +41,9 @@ ..\..\packages\Newtonsoft.Json.6.0.8\lib\net35\Newtonsoft.Json.dll - - - - - diff --git a/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj b/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj index 60d98225c4..ab9bcb3338 100644 --- a/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj +++ b/Plugins/Wox.Plugin.Folder/Wox.Plugin.Folder.csproj @@ -44,7 +44,6 @@ - diff --git a/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj b/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj index b0b463c006..e57ab20a8d 100644 --- a/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj +++ b/Plugins/Wox.Plugin.PluginIndicator/Wox.Plugin.PluginIndicator.csproj @@ -33,13 +33,7 @@ false - - - - - - diff --git a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj index cc1174c98f..31e19d2f77 100644 --- a/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj +++ b/Plugins/Wox.Plugin.PluginManagement/Wox.Plugin.PluginManagement.csproj @@ -39,14 +39,9 @@ ..\..\packages\Newtonsoft.Json.6.0.8\lib\net35\Newtonsoft.Json.dll True - - - - - diff --git a/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj b/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj index d40486dbe5..99cf44b067 100644 --- a/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj +++ b/Plugins/Wox.Plugin.Sys/Wox.Plugin.Sys.csproj @@ -40,7 +40,6 @@ - diff --git a/Plugins/Wox.Plugin.Url/UrlPlugin.cs b/Plugins/Wox.Plugin.Url/UrlPlugin.cs index ae871d2b23..51c8f2ed95 100644 --- a/Plugins/Wox.Plugin.Url/UrlPlugin.cs +++ b/Plugins/Wox.Plugin.Url/UrlPlugin.cs @@ -4,7 +4,6 @@ using System.Diagnostics; using System.IO; using System.Reflection; using System.Text.RegularExpressions; -using System.Windows; namespace Wox.Plugin.Url { diff --git a/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj b/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj index aabcb45255..23e5ac1a8f 100644 --- a/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj +++ b/Plugins/Wox.Plugin.Url/Wox.Plugin.Url.csproj @@ -33,16 +33,8 @@ false - - - - - - - - diff --git a/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj b/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj index b4751d37bb..acf918a8a8 100644 --- a/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj +++ b/Plugins/Wox.Plugin.WebSearch/Wox.Plugin.WebSearch.csproj @@ -43,7 +43,6 @@ - diff --git a/Wox.Core/Wox.Core.csproj b/Wox.Core/Wox.Core.csproj index fa06e3840f..e49ed8d903 100644 --- a/Wox.Core/Wox.Core.csproj +++ b/Wox.Core/Wox.Core.csproj @@ -53,10 +53,6 @@ - - - - diff --git a/Wox.CrashReporter/ReportWindow.xaml.cs b/Wox.CrashReporter/ReportWindow.xaml.cs index ff948f7955..f2d408368f 100644 --- a/Wox.CrashReporter/ReportWindow.xaml.cs +++ b/Wox.CrashReporter/ReportWindow.xaml.cs @@ -19,8 +19,6 @@ using Wox.Core.i18n; using Wox.Core.UI; using Wox.Core.Updater; using Wox.Core.UserSettings; -using Wox.Infrastructure.Http; -using Wox.Infrastructure.Logger; namespace Wox.CrashReporter { diff --git a/Wox.CrashReporter/Wox.CrashReporter.csproj b/Wox.CrashReporter/Wox.CrashReporter.csproj index d8c5620504..bb1afc0654 100644 --- a/Wox.CrashReporter/Wox.CrashReporter.csproj +++ b/Wox.CrashReporter/Wox.CrashReporter.csproj @@ -38,14 +38,10 @@ ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.dll - - ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.Models.dll - - @@ -70,14 +66,6 @@ {B749F0DB-8E75-47DB-9E5E-265D16D0C0D2} Wox.Core - - {4FD29318-A8AB-4D8F-AA47-60BC241B8DA3} - Wox.Infrastructure - - - {8451ECDD-2EA4-4966-BB0A-7BBC40138E80} - Wox.Plugin - diff --git a/Wox.Infrastructure/Http/HttpRequest.cs b/Wox.Infrastructure/Http/HttpRequest.cs index e80501936f..c979cca6d1 100644 --- a/Wox.Infrastructure/Http/HttpRequest.cs +++ b/Wox.Infrastructure/Http/HttpRequest.cs @@ -1,5 +1,4 @@ using System; -using System.Drawing; using System.IO; using System.Net; using System.Text; diff --git a/Wox.Infrastructure/Storage/BaseStorage.cs b/Wox.Infrastructure/Storage/BaseStorage.cs index 3db9bfee70..a8443b0b08 100644 --- a/Wox.Infrastructure/Storage/BaseStorage.cs +++ b/Wox.Infrastructure/Storage/BaseStorage.cs @@ -5,7 +5,6 @@ using System.Linq; using System.Reflection; using System.Runtime.InteropServices.ComTypes; using System.Text; -using System.Windows.Forms; using Newtonsoft.Json; namespace Wox.Infrastructure.Storage diff --git a/Wox.Infrastructure/Wox.Infrastructure.csproj b/Wox.Infrastructure/Wox.Infrastructure.csproj index 80a96bc322..7d5db6eeb5 100644 --- a/Wox.Infrastructure/Wox.Infrastructure.csproj +++ b/Wox.Infrastructure/Wox.Infrastructure.csproj @@ -37,7 +37,6 @@ false - False ..\packages\Newtonsoft.Json.6.0.8\lib\net35\Newtonsoft.Json.dll @@ -45,16 +44,8 @@ ..\packages\NLog.3.2.0.0\lib\net35\NLog.dll - - - - - - - - diff --git a/Wox.Plugin/Wox.Plugin.csproj b/Wox.Plugin/Wox.Plugin.csproj index 25c14f4bd9..7f75332bd9 100644 --- a/Wox.Plugin/Wox.Plugin.csproj +++ b/Wox.Plugin/Wox.Plugin.csproj @@ -35,13 +35,7 @@ - - - - - - diff --git a/Wox.Test/Plugins/PluginInitTest.cs b/Wox.Test/Plugins/PluginInitTest.cs index 4c3b026c08..47c5928fea 100644 --- a/Wox.Test/Plugins/PluginInitTest.cs +++ b/Wox.Test/Plugins/PluginInitTest.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using Moq; using NUnit.Framework; using Wox.Core.Exception; using Wox.Core.Plugin; diff --git a/Wox.Test/UrlPluginTest.cs b/Wox.Test/UrlPluginTest.cs index daaa9641cb..754bf41c92 100644 --- a/Wox.Test/UrlPluginTest.cs +++ b/Wox.Test/UrlPluginTest.cs @@ -2,7 +2,6 @@ using System.Collections.Generic; using System.Linq; using System.Text; -using System.Text.RegularExpressions; using NUnit.Framework; using Wox.Plugin.Url; diff --git a/Wox.Test/Wox.Test.csproj b/Wox.Test/Wox.Test.csproj index 8ddecc0bac..06d8021304 100644 --- a/Wox.Test/Wox.Test.csproj +++ b/Wox.Test/Wox.Test.csproj @@ -35,20 +35,11 @@ false - - ..\packages\Moq.4.2.1409.1722\lib\net35\Moq.dll - True - False ..\packages\NUnit.2.6.4\lib\nunit.framework.dll - - - - - diff --git a/Wox/Wox.csproj b/Wox/Wox.csproj index 3a83ac2cf4..5221f7090b 100644 --- a/Wox/Wox.csproj +++ b/Wox/Wox.csproj @@ -61,19 +61,10 @@ Wox.App - False ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.dll - - False - ..\packages\Exceptionless.1.5.2121\lib\net35\Exceptionless.Models.dll - - - False - ..\packages\SharpZipLib.0.86.0\lib\20\ICSharpCode.SharpZipLib.dll - ..\packages\MarkdownSharp.1.13.0.0\lib\35\MarkdownSharp.dll @@ -89,7 +80,6 @@ ..\packages\NHotkey.Wpf.1.2.1\lib\net35\NHotkey.Wpf.dll True - @@ -100,7 +90,6 @@ - @@ -110,10 +99,6 @@ - - False - ..\packages\InputSimulator.1.0.4.0\lib\net20\WindowsInput.dll -