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
diff options
context:
space:
mode:
authorjaredpar <jaredpar@microsoft.com>2015-04-20 18:35:07 +0300
committerjaredpar <jaredpar@microsoft.com>2015-04-21 19:47:59 +0300
commit43af8d475d853c8408ddaddbed4cfd61d2919780 (patch)
tree7f7955540edb1cb104b4c3a46b0e0ec54fedcf7b /mcs/class/Microsoft.Build.Tasks
parenta801b374eff09285119ad957dbc82f7cb368b2d6 (diff)
Improve Visual Basic build support
This fixes a couple of small issues with the Visual Basic build support: - The VBC task now respects the $(NoStdLib) MSBuild option. - The field @(ReferencePath) should be used for References in the VBC target as it is for the CSC target. - The CreateVisualBasicManifestResourceNames task is compiled and used in the same manner as CreateCSharpManifestResourceNames hence it should be loaded via UsingTask in the same manner as well. - Include the VisualBasic Portable targets files.
Diffstat (limited to 'mcs/class/Microsoft.Build.Tasks')
-rw-r--r--mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Vbc.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Vbc.cs b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Vbc.cs
index c81a12d6e77..cf56b148f11 100644
--- a/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Vbc.cs
+++ b/mcs/class/Microsoft.Build.Tasks/Microsoft.Build.Tasks/Vbc.cs
@@ -73,6 +73,8 @@ namespace Microsoft.Build.Tasks {
commandLine.AppendSwitchIfNotNull ("/main:", MainEntryPoint);
// NoStandardLib
+ if (Bag ["NoStandardLib"] != null && NoStandardLib)
+ commandLine.AppendSwitch ("/nostdlib");
if (NoWarnings)
commandLine.AppendSwitch ("/nowarn");