diff options
author | Levi Bard <levibard@mono-cvs.ximian.com> | 2010-02-18 23:48:57 +0300 |
---|---|---|
committer | Levi Bard <levibard@mono-cvs.ximian.com> | 2010-02-18 23:48:57 +0300 |
commit | 35814462fff49e16ddc62eb5166cade6f00ab316 (patch) | |
tree | 57e00c6d1f286dea2dc4a51e16e4b6e98d2bad0d /extras/ValaBinding | |
parent | 974a4e99dac8f70c0376a9e2c9794b560963c97d (diff) |
* Project/ValaProject.cs: Add project packages to parse list.
svn path=/trunk/monodevelop/; revision=152023
Diffstat (limited to 'extras/ValaBinding')
-rw-r--r-- | extras/ValaBinding/Project/ValaProject.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/extras/ValaBinding/Project/ValaProject.cs b/extras/ValaBinding/Project/ValaProject.cs index 421be9b30b..60b8254deb 100644 --- a/extras/ValaBinding/Project/ValaProject.cs +++ b/extras/ValaBinding/Project/ValaProject.cs @@ -384,8 +384,16 @@ namespace MonoDevelop.ValaBinding packages = value; packages.Project = this; ProjectInformation pi = ProjectInformationManager.Instance.Get (this); + ValaProjectConfiguration configuration = (ValaProjectConfiguration)DefaultConfiguration; + foreach(ProjectPackage p in packages) { - if (!p.IsProject){ pi.AddPackage (p.Name); } + if (p.IsProject) { + string file = Path.GetFullPath (Path.Combine (configuration.OutputDirectory, p.File)); + LoggingService.LogDebug ("Adding {0} for project package {1}", file, p.Name); + pi.AddFile (file); + } else { + pi.AddPackage (p.Name); + } } } } |