diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-12-01 12:47:55 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-12-01 12:47:55 +0300 |
commit | ab32048dab6d3167129a819e1dbb2a88e6216a78 (patch) | |
tree | 1d60673cbcf5bf6cf7ff4b4cb25632a4815916bc /main/src/addins/ILAsmBinding | |
parent | bf6f75cb0e4366365dad6d1a037fb1aabc34ac66 (diff) |
Introduced the ConfigurationSelector class to all methods that
previously took a configuration name as string. This eliminates the
ambiguity between solution configuration names and project
configuration names.
svn path=/trunk/monodevelop/; revision=147198
Diffstat (limited to 'main/src/addins/ILAsmBinding')
-rw-r--r-- | main/src/addins/ILAsmBinding/ChangeLog | 9 | ||||
-rw-r--r-- | main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs | 2 | ||||
-rw-r--r-- | main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs | 4 |
3 files changed, 12 insertions, 3 deletions
diff --git a/main/src/addins/ILAsmBinding/ChangeLog b/main/src/addins/ILAsmBinding/ChangeLog index cb2be7ba9f..79d682cb9a 100644 --- a/main/src/addins/ILAsmBinding/ChangeLog +++ b/main/src/addins/ILAsmBinding/ChangeLog @@ -1,3 +1,12 @@ +2009-12-01 Lluis Sanchez Gual <lluis@novell.com> + + * ILAsmLanguageBinding.cs: + * ILAsmCompilerManager.cs: Introduced the + ConfigurationSelector class to all methods that previously + took a configuration name as string. This eliminates the + ambiguity between solution configuration names and project + configuration names. + 2009-11-10 Lluis Sanchez Gual <lluis@novell.com> * ILAsmCompilerManager.cs: Minor fix in error parsing. diff --git a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs index 7abe23c349..2857d5e0a9 100644 --- a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs +++ b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs @@ -47,7 +47,7 @@ namespace ILAsmBinding sb.Append ("\" "); } - public static BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, IProgressMonitor monitor) + public static BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, ConfigurationSelector configSelector, IProgressMonitor monitor) { // ILAsmCompilerParameters compilerParameters = (ILAsmCompilerParameters)configuration.CompilationParameters ?? new ILAsmCompilerParameters (); string outputName = configuration.CompiledOutputName; diff --git a/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs b/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs index 2e8c165652..4438437aff 100644 --- a/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs +++ b/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs @@ -54,9 +54,9 @@ namespace ILAsmBinding return string.Compare (Path.GetExtension (fileName), ".il", true) == 0; } - public BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, IProgressMonitor monitor) + public BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, ConfigurationSelector configSelector, IProgressMonitor monitor) { - return ILAsmCompilerManager.Compile (projectItems, configuration, monitor); + return ILAsmCompilerManager.Compile (projectItems, configuration, configSelector, monitor); } public ConfigurationParameters CreateCompilationParameters (XmlElement projectOptions) |