projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2a9066
)
[xbuild] Ignore missing imports when parsing solution file.
author
Ankit Jain
<radical@corewars.org>
Wed, 4 Aug 2010 16:24:11 +0000
(21:54 +0530)
committer
Ankit Jain
<radical@corewars.org>
Wed, 4 Aug 2010 16:28:22 +0000
(21:58 +0530)
When loading projects specified in the solution file, to find
their dependencies, missing imports cause an exception to be
thrown and so the deps are not available in the project instance.
mcs/tools/xbuild/SolutionParser.cs
patch
|
blob
|
history
diff --git
a/mcs/tools/xbuild/SolutionParser.cs
b/mcs/tools/xbuild/SolutionParser.cs
index 552b2f306306d9956730d9dc2539f0607e4d3102..65bdb80294e483d6e9d937f95ec359556356260f 100644
(file)
--- a/
mcs/tools/xbuild/SolutionParser.cs
+++ b/
mcs/tools/xbuild/SolutionParser.cs
@@
-203,7
+203,7
@@
namespace Mono.XBuild.CommandLine {
Project currentProject = p.ParentEngine.CreateNewProject ();
try {
- currentProject.Load (filename);
+ currentProject.Load (filename
, ProjectLoadSettings.IgnoreMissingImports
);
} catch (InvalidProjectFileException e) {
RaiseWarning (0, e.Message);
continue;