projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
785905d
)
[xbuild] Fix a string format issue with guid.
author
Ankit Jain
<radical@corewars.org>
Fri, 13 Aug 2010 16:07:24 +0000
(21:37 +0530)
committer
Ankit Jain
<radical@corewars.org>
Fri, 13 Aug 2010 16:14:10 +0000
(21:44 +0530)
Make sure that the format string doesn't have guid in
"{...}" format or String.Format gets confused.
mcs/tools/xbuild/SolutionParser.cs
patch
|
blob
|
history
diff --git
a/mcs/tools/xbuild/SolutionParser.cs
b/mcs/tools/xbuild/SolutionParser.cs
index d17a67f8f34bbcafea13041284d908806cd3bc62..1d4dea8938053bb97c5a802cc62915f803e9347a 100644
(file)
--- a/
mcs/tools/xbuild/SolutionParser.cs
+++ b/
mcs/tools/xbuild/SolutionParser.cs
@@
-246,7
+246,7
@@
namespace Mono.XBuild.CommandLine {
else
RaiseWarning (0, String.Format (
"{0}: ProjectReference '{1}' not found, neither by guid '{2}' nor by project file name '{3}'.",
- filename, bi.Include, projectReferenceGuid, fullpath));
+ filename, bi.Include, projectReferenceGuid
.Replace ("{", "").Replace ("}", "")
, fullpath));
}
}