~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/MonoDevelop.Core/MonoDevelop.Core.Assemblies/MonoFrameworkBackend.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
                        if (ref_assemblies_folder != null)
40
40
                                return ref_assemblies_folder;
41
41
                        var fxDir = framework.Id.GetAssemblyDirectoryName ();
42
 
                        foreach (var rootDir in runtime.GetReferenceFrameworkDirectories ()) {
 
42
                        foreach (var rootDir in ((MonoTargetRuntime)runtime).GetReferenceFrameworkDirectories (true)) {
43
43
                                var dir = rootDir.Combine (fxDir);
44
44
                                var frameworkList = dir.Combine ("RedistList", "FrameworkList.xml");
45
45
                                if (!File.Exists (frameworkList))
139
139
                public override string GetToolPath (string toolName)
140
140
                {
141
141
                        if (toolName == "csc" || toolName == "mcs") {
142
 
                                if (((MonoTargetRuntime)runtime).HasMultitargetingMcs) {
 
142
                                if (targetRuntime.HasMultitargetingMcs) {
143
143
                                        toolName = "mcs";
144
144
                                } else {
145
145
                                        toolName = GetOldMcsName (framework.Id);