X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=msvc%2Fscripts%2Fgenproj.cs;h=32d6d8574b31add493ef6ccdba2d132f41a86920;hb=438e3b5ac335f69a620d2db738626fca1d0c2980;hp=60b4036396213371311c9beeed78e78876abd830;hpb=dee36bfa52a83727ba934458a79d39cfb92d1bb9;p=mono.git diff --git a/msvc/scripts/genproj.cs b/msvc/scripts/genproj.cs index 60b40363962..32d6d8574b3 100644 --- a/msvc/scripts/genproj.cs +++ b/msvc/scripts/genproj.cs @@ -539,6 +539,9 @@ class MsbuildGenerator { case "/codepage": CodePage = value; return true; + + case "/-getresourcestrings": + return true; } Console.WriteLine ("Failing with : {0}", arg); @@ -688,8 +691,8 @@ class MsbuildGenerator { const string condition_unix = "Condition=\" '$(OS)' != 'Windows_NT' \""; const string condition_windows = "Condition=\" '$(OS)' == 'Windows_NT' \""; prebuild = - " \n" + prebuild_unix + "\n \n" + - " \n" + prebuild_windows + "\n \n"; + " " + NewLine + prebuild_unix + NewLine + " " + NewLine + + " " + NewLine + prebuild_windows + NewLine + " " + NewLine; var all_args = new Queue (); all_args.Enqueue (flags.Split ()); @@ -853,8 +856,8 @@ class MsbuildGenerator { string postbuild_windows = string.Empty; var postbuild = - " \n" + postbuild_unix + "\n \n" + - " \n" + postbuild_windows + "\n "; + " " + NewLine + postbuild_unix + NewLine + " " + NewLine + + " " + NewLine + postbuild_windows + NewLine + " "; bool basic_or_build = (library.Contains ("-basic") || library.Contains ("-build")); @@ -866,13 +869,13 @@ class MsbuildGenerator { string strongNameSection = ""; if (StrongNameKeyFile != null){ strongNameSection = String.Format ( - " \n" + - " true\n" + + " " + NewLine + + " true" + NewLine + "{1}" + - " \n" + - " \n" + - " {0}\n" + - " ", StrongNameKeyFile, StrongNameDelaySign ? " true\n" : ""); + " " + NewLine + + " " + NewLine + + " {0}" + NewLine + + " ", StrongNameKeyFile, StrongNameDelaySign ? " true" + NewLine : ""); } Csproj.output = template. Replace ("@SIGNATURE@", strongNameSection). @@ -1030,9 +1033,6 @@ public class Driver { var makefileDeps = (args.Length > 0 && args [0] == "deps"); var sln_gen = new SlnGenerator (slnVersion); - var two_sln_gen = new SlnGenerator (slnVersion); - var four_sln_gen = new SlnGenerator (slnVersion); - var three_five_sln_gen = new SlnGenerator (slnVersion); var four_five_sln_gen = new SlnGenerator (slnVersion); var projects = new Dictionary (); @@ -1061,10 +1061,7 @@ public class Driver { Func additionalFilter; additionalFilter = fullSolutions ? (Func)null : IsCommonLibrary; - FillSolution (two_sln_gen, MsbuildGenerator.profile_2_0, projects.Values, additionalFilter); FillSolution (four_five_sln_gen, MsbuildGenerator.profile_4_5, projects.Values, additionalFilter); - FillSolution (four_sln_gen, MsbuildGenerator.profile_4_0, projects.Values, additionalFilter); - FillSolution (three_five_sln_gen, MsbuildGenerator.profile_3_5, projects.Values, additionalFilter); var sb = new StringBuilder (); sb.AppendLine ("WARNING: Skipped some project references, apparent duplicates in order.xml:"); @@ -1073,9 +1070,6 @@ public class Driver { } Console.WriteLine (sb.ToString ()); - WriteSolution (two_sln_gen, MakeSolutionName (MsbuildGenerator.profile_2_0)); - WriteSolution (three_five_sln_gen, MakeSolutionName (MsbuildGenerator.profile_3_5)); - WriteSolution (four_sln_gen, MakeSolutionName (MsbuildGenerator.profile_4_0)); WriteSolution (four_five_sln_gen, MakeSolutionName (MsbuildGenerator.profile_4_5)); if (makefileDeps){