Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/mcs
diff options
context:
space:
mode:
authorAndi McClure <andi.mcclure@xamarin.com>2015-12-16 01:23:31 +0300
committerAndi McClure <andi.mcclure@xamarin.com>2015-12-16 01:23:31 +0300
commit2cb0c1ed7bb03dbaea626021ca5f4df5b6edfb6c (patch)
tree3a48d797d7e78d035ce6df58baab6c32027b47de /mcs
parent564fe71fa8cccb5a6cdbeaf713a2f1eaa7729593 (diff)
Fix Microsoft.Build.Tasks make check on OS X
The mcs/class/Microsoft.Build.Tasks make check contains a test whose goal is to verify that Microsoft.Build.Evaluation.Project can run a MSBuild code fragment which has an assembly reference. The assembly referenced in the test is System.Drawing. However on many systems System.Drawing does not work without special setup. The test should reference a different assembly (I picked System.Runtime.Serialization) because ensuring System.Drawing is working isn't relevant to the test.
Diffstat (limited to 'mcs')
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks/CodeTaskFactoryTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/mcs/class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks/CodeTaskFactoryTest.cs b/mcs/class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks/CodeTaskFactoryTest.cs
index e665a41cebf..2b83e4dc555 100644
--- a/mcs/class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks/CodeTaskFactoryTest.cs
+++ b/mcs/class/Microsoft.Build.Tasks/Test/Microsoft.Build.Tasks/CodeTaskFactoryTest.cs
@@ -115,10 +115,10 @@ Log.LogWarning(""Message: "" + Message);
AssemblyFile='$(MSBuildToolsPath)\Microsoft.Build.Tasks.v4.0.dll' >
<ParameterGroup />
<Task>
- <Reference Include='System.Drawing' />
+ <Reference Include='System.Runtime.Serialization' />
<Code Type='Fragment' Language='cs'>
<![CDATA[
-Log.LogWarning(""Color: "" + System.Drawing.Color.CornflowerBlue);
+Log.LogWarning(""A GUID generated by System.Xml: "" + new System.Xml.UniqueId());
]]> </Code>
</Task>
</UsingTask>