diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-02-11 16:28:11 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-02-11 16:28:11 +0300 |
commit | 27ef3532883a08b24142dcd61925ec396cd7de8b (patch) | |
tree | 81524d538f3a92b419b1b73242e2c486742a65a7 /main/src/addins/ILAsmBinding | |
parent | abf369a50b7711ae384a046c6f8892fc47579d37 (diff) |
* ILAsmLanguageBinding.cs:
* ILAsmCompilerManager.cs: Track API changes. Use the new ProjectItem
collection.
svn path=/trunk/monodevelop/; revision=126589
Diffstat (limited to 'main/src/addins/ILAsmBinding')
-rw-r--r-- | main/src/addins/ILAsmBinding/ChangeLog | 6 | ||||
-rw-r--r-- | main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs | 4 | ||||
-rw-r--r-- | main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs | 4 |
3 files changed, 10 insertions, 4 deletions
diff --git a/main/src/addins/ILAsmBinding/ChangeLog b/main/src/addins/ILAsmBinding/ChangeLog index f58679fc9f..68798b74ac 100644 --- a/main/src/addins/ILAsmBinding/ChangeLog +++ b/main/src/addins/ILAsmBinding/ChangeLog @@ -1,3 +1,9 @@ +2009-02-11 Lluis Sanchez Gual <lluis@novell.com> + + * ILAsmLanguageBinding.cs: + * ILAsmCompilerManager.cs: Track API changes. Use the new + ProjectItem collection. + 2009-02-07 Michael Hutchinson <mhutchinson@novell.com> * Makefile.am: diff --git a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs index 2c7e62a10b..77e9d12389 100644 --- a/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs +++ b/main/src/addins/ILAsmBinding/ILAsmCompilerManager.cs @@ -44,11 +44,11 @@ namespace ILAsmBinding return Path.GetExtension (fileName).ToLower () == ".il"; } - public BuildResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection references, DotNetProjectConfiguration configuration, IProgressMonitor monitor) + public BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, IProgressMonitor monitor) { // FIXME: response file? StringBuilder parameters = new StringBuilder(); - foreach (ProjectFile finfo in projectFiles) { + foreach (ProjectFile finfo in projectItems.GetAll<ProjectFile> ()) { if (finfo.Subtype != Subtype.Directory) { if (finfo.BuildAction == "Compile" && CanCompile (finfo.Name)) { parameters.Append (finfo.Name); diff --git a/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs b/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs index e5707792c4..f79a3b2b21 100644 --- a/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs +++ b/main/src/addins/ILAsmBinding/ILAsmLanguageBinding.cs @@ -55,10 +55,10 @@ namespace ILAsmBinding return compilerManager.CanCompile(fileName); } - public BuildResult Compile (ProjectFileCollection projectFiles, ProjectReferenceCollection references, DotNetProjectConfiguration configuration, IProgressMonitor monitor) + public BuildResult Compile (ProjectItemCollection projectItems, DotNetProjectConfiguration configuration, IProgressMonitor monitor) { Debug.Assert(compilerManager != null); - return compilerManager.Compile (projectFiles, references, configuration, monitor); + return compilerManager.Compile (projectItems, configuration, monitor); } public void GenerateMakefile (Project project, SolutionFolder parentCombine) |