From 77b8454297a4bf4f00dd9080007d1f4c4da2c982 Mon Sep 17 00:00:00 2001 From: Matt Everson Date: Sat, 16 Aug 2008 02:36:18 +0000 Subject: [PATCH] StyleCop Addin: Moved Settings.SourceAnalysis into assembly as embedded resource. During runtime the file will be extracted to PropertyService.ConfigDirectory. git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@3374 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61 --- .../{ => Resources}/Settings.SourceAnalysis | 0 .../Misc/SourceAnalysis/SourceAnalysis.csproj | 6 +++--- .../Misc/SourceAnalysis/SourceAnalysis.sln | 2 +- .../Src/AnalysisIdeOptionsPanel.cs | 4 +++- .../Src/AnalysisProjectOptionsPanel.cs | 10 ++++------ .../Misc/SourceAnalysis/Src/StyleCopWrapper.cs | 16 ++++++++++++++++ 6 files changed, 27 insertions(+), 11 deletions(-) rename src/AddIns/Misc/SourceAnalysis/{ => Resources}/Settings.SourceAnalysis (100%) diff --git a/src/AddIns/Misc/SourceAnalysis/Settings.SourceAnalysis b/src/AddIns/Misc/SourceAnalysis/Resources/Settings.SourceAnalysis similarity index 100% rename from src/AddIns/Misc/SourceAnalysis/Settings.SourceAnalysis rename to src/AddIns/Misc/SourceAnalysis/Resources/Settings.SourceAnalysis diff --git a/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.csproj b/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.csproj index 40930869e1..87e0a68dac 100644 --- a/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.csproj +++ b/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.csproj @@ -44,9 +44,9 @@ - - Always - + + Never + Always diff --git a/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.sln b/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.sln index 9f0d44d85a..7d2c67a680 100644 --- a/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.sln +++ b/src/AddIns/Misc/SourceAnalysis/SourceAnalysis.sln @@ -1,7 +1,7 @@  Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 -# SharpDevelop 3.0.0.3280 +# SharpDevelop 3.0.0.3047 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SourceAnalysis", "SourceAnalysis.csproj", "{3EAA45A9-735C-4AC7-A799-947B93EA449D}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ICSharpCode.SharpDevelop", "..\..\..\Main\Base\Project\ICSharpCode.SharpDevelop.csproj", "{2748AD25-9C63-4E12-877B-4DCE96FBED54}" diff --git a/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs b/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs index 5f89ba39b3..bb543c17eb 100644 --- a/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs +++ b/src/AddIns/Misc/SourceAnalysis/Src/AnalysisIdeOptionsPanel.cs @@ -34,9 +34,11 @@ namespace MattEverson.SourceAnalysis string path = StyleCopWrapper.FindStyleCopPath(); if (path == null) { Get