You've already forked linux-packaging-mono
Imported Upstream version 3.8.0
Former-commit-id: 6a76a29bd07d86e57c6c8da45c65ed5447d38a61
This commit is contained in:
@@ -328,8 +328,13 @@ namespace Microsoft.Build.Utilities
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void AppendTextUnquoted (string textToAppend)
|
||||
|
||||
#if NET_4_0
|
||||
public
|
||||
#else
|
||||
protected
|
||||
#endif
|
||||
void AppendTextUnquoted (string textToAppend)
|
||||
{
|
||||
commandLine.Append (textToAppend);
|
||||
}
|
||||
|
||||
@@ -190,9 +190,9 @@ namespace Microsoft.Build.Utilities
|
||||
string targetFrameworkProfile)
|
||||
{
|
||||
var path = Path.Combine (xbuildFxDir, targetFrameworkIdentifier);
|
||||
if (targetFrameworkVersion != null) {
|
||||
if (!string.IsNullOrEmpty (targetFrameworkVersion)) {
|
||||
path = Path.Combine (path, targetFrameworkVersion);
|
||||
if (targetFrameworkProfile != null)
|
||||
if (!string.IsNullOrEmpty (targetFrameworkProfile))
|
||||
path = Path.Combine (path, "Profile", targetFrameworkProfile);
|
||||
}
|
||||
if (!Directory.Exists (path))
|
||||
@@ -200,7 +200,6 @@ namespace Microsoft.Build.Utilities
|
||||
var flist = Path.Combine (path, "RedistList", "FrameworkList.xml");
|
||||
if (!File.Exists (flist))
|
||||
return null;
|
||||
|
||||
var xml = XmlReader.Create (flist);
|
||||
xml.MoveToContent ();
|
||||
var targetFxDir = xml.GetAttribute ("TargetFrameworkDirectory");
|
||||
|
||||
Reference in New Issue
Block a user