diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-08-13 16:23:20 +0400 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-08-13 16:23:20 +0400 |
commit | 9abb34de2c9d6bdbab51f74b2a997206adaa4d89 (patch) | |
tree | 9c32afb545ba1d7b019ae1e448895bb1a57d4f88 /main/src/addins/prj2make-sharp-lib | |
parent | 61401493fa75617de688a48473fc242a33b93d95 (diff) |
Use the new AssemblyContext class to query and resolve assemblies.
svn path=/trunk/monodevelop/; revision=139842
Diffstat (limited to 'main/src/addins/prj2make-sharp-lib')
-rw-r--r-- | main/src/addins/prj2make-sharp-lib/ChangeLog | 5 | ||||
-rw-r--r-- | main/src/addins/prj2make-sharp-lib/MsPrjHelper.cs | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/main/src/addins/prj2make-sharp-lib/ChangeLog b/main/src/addins/prj2make-sharp-lib/ChangeLog index e414131f51..c40d9538fb 100644 --- a/main/src/addins/prj2make-sharp-lib/ChangeLog +++ b/main/src/addins/prj2make-sharp-lib/ChangeLog @@ -1,3 +1,8 @@ +2009-08-13 Lluis Sanchez Gual <lluis@novell.com> + + * MsPrjHelper.cs: Use the new AssemblyContext class to query + and resolve assemblies. + 2009-08-11 Lluis Sanchez Gual <lluis@novell.com> * VS2003ProjectFileFormat.cs: Add support for reading vs2003 diff --git a/main/src/addins/prj2make-sharp-lib/MsPrjHelper.cs b/main/src/addins/prj2make-sharp-lib/MsPrjHelper.cs index 08cc9448ea..30e51a1b31 100644 --- a/main/src/addins/prj2make-sharp-lib/MsPrjHelper.cs +++ b/main/src/addins/prj2make-sharp-lib/MsPrjHelper.cs @@ -330,7 +330,7 @@ namespace MonoDevelop.Prj2Make if (rname == "System.XML") rname = "System.Xml"; - string oref = Runtime.SystemAssemblyService.DefaultRuntime.GetAssemblyFullName (rname, fx); + string oref = Runtime.SystemAssemblyService.DefaultAssemblyContext.GetAssemblyFullName (rname, fx); if (oref == null) { monitor.ReportWarning (GettextCatalog.GetString ("Assembly reference could not be imported: ") + rf.AssemblyName); continue; @@ -388,7 +388,7 @@ namespace MonoDevelop.Prj2Make // Test to see if file exist in GAC location if (System.IO.File.Exists (strRefFileName)) { - ProjectReference rfOut = new ProjectReference (MonoDevelop.Projects.ReferenceType.Gac, Runtime.SystemAssemblyService.DefaultRuntime.GetAssemblyFullName (strRefFileName, fx)); + ProjectReference rfOut = new ProjectReference (MonoDevelop.Projects.ReferenceType.Gac, Runtime.SystemAssemblyService.DefaultAssemblyContext.GetAssemblyFullName (strRefFileName, fx)); rfOut.LocalCopy = true; return rfOut; } |