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
AgeCommit message (Collapse)Author
2014-02-12[xbuild] Fix Tooltask.ToolPath behaviour to match .NETMichael Hutchinson
2014-02-12[xbuild] Make ToolLocationHelper work better for 2.0/3.5Michael Hutchinson
Mono keeps unversioned tools in the 4.5 directory, so look there for 2.0. Additionally, most 3.5 tools are in the 2.0 directory.
2014-02-11[xbuild] Fix mscorlib resolution for custom frameworksMichael Hutchinson
Now that mcs supports multi-targeting, we can use the MSBuild 4.0+ system of finding mscorlib.dll in the target framework folders and passing it to the compiler, along with the /nostdlib argument. Like MSBuild, the old NoStdLib property can be set to true to disable passing mscorlib.dll to the compiler, and the new NoCompilerStandardLib property can be set to false to disable passing /nostdlib to the compiler. This makes custom target frameworks work correctly without having to override CscExe with a wrapper script.
2014-01-29[xbuild] Rework escaping in TaskItem to be compatible with MSBuildMichael Hutchinson
The escaping/unescaping behaviour of TaskItem:ITaskItem was undocumented originally in MSBuild, so our implementation did not perform any. This caused issues with Tasks getting metadata and paths that were escaped, trying to use them as-is, and failing horribly. Fortunately the ITaskItem2 interface in .NET 4 provides complementary accessors with documentation that indicates that it stores values escaped internally, and the old accessors unescape the values. This commit implements ITaskItem2, fixes the escaping behavior of the old accessors, and removes some superluous uses of IDictionary.Contains.
2014-01-29[xbuild] Remove unnecessary/inconsistent path conversion hackMichael Hutchinson
Directory separators are automatically converted from Windows->Native when parsing MSBuild files, but any paths provided in code must already be native.
2014-01-29[Microsoft.Build.Utilities] Properly escape/unescape ItemSpecAlan McGovern
With tests.
2014-01-29[Microsoft.Build.Utilities] Fix the escaping/unescaping of ItemSpecAlan McGovern
This should hopefully fix compilation of projects using files with names like 'foo@2x.png' in various places like embedded resources or content items which must be copied to the output directory. With tests.
2014-01-24remove private msbuild hacking project files.Atsushi Eno
2014-01-24Merge branch 'msbuilddll2'Atsushi Eno
2014-01-16[Microsoft.Build.Engine] Fix the escaping/unescaping of FullPath metadataAlan McGovern
It is incorrect to escape the FullPath metadata for a build item when we invoke GetEvaluatedMetadata. If we do this we end up completely breaking every file with a special character in it as things like this would always fail as we'd pass an escaped path to the filesystem: File.Exists (item.GetEvaluatedMetadata ("FullPath")) The iOS designer encountered this issue when we added retina images called "foo@2x.png" to our solution. With tests.
2014-01-10[xbuild] The 4.0 toolset is in the 4.5 directoryMichael Hutchinson
2014-01-08[xbuild] Suppress new window for child processesMichael Hutchinson
BXC14584 - Console windows pop up during build with mono runtime
2014-01-08[xbuild] Fix the xbuild 12 testsMichael Hutchinson
2014-01-08[xbuild] Fix 12.0 toolset location and public APIMichael Hutchinson
2014-01-08[xbuild] Build & install MSBuild 12.0 assembliesMichael Hutchinson
2014-01-07Update .csproj (to add MSBuild.csproj).Atsushi Eno
2014-01-07Revert "Remove private sln/csproj files."Atsushi Eno
I need these projects while I'm hacking MSBuild. This reverts commit f188c158d4643804e1fbece996fe535344fe9450.
2013-12-03Remove private sln/csproj files.Atsushi Eno
2013-12-03make TaskItem available (as internal) in Microsft.Build.dll.Atsushi Eno
2013-12-03fix test csproj build.Atsushi Eno
2013-12-03ToolLocationHelper is now used in MS.Build.dll too (as internal).Atsushi Eno
2013-12-03Add hacking MSBuild solution for MSBuild libraries.Atsushi Eno
2013-10-18Merge pull request #767 from ovatsus/Bug14922Atsushi Eno
Fix for #14922
2013-10-09Adjust defines to check for 4_0 instead of 3_0Gustavo Guerra
2013-10-02[xBuild] Fix compilation for Mono 2.0Robin Neatherway
2013-09-30[xBuild] Support ToolsVersion 12Gustavo Guerra
From VS2013, MSBuild is now decouple from the .NET Framework and is a separate redistributable. This means it has a new location and version numbering scheme. There are also some addition MSBuild properties because of this
2013-09-25[System] Fix the CSharpCodeCompiler error parsing regex.Jonathan Pryor
Use the same regex as xbuild uses for error parsing; see 7a2d2c24.
2013-09-25[MSBuild] Fix the ${level} and ${number} capture.Jonathan Pryor
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=14767 Some people, when confronted with a problem, think “I know, I'll use regular expressions.” Now they have two problems. - http://regex.info/blog/2006-09-15/247 ToolTask uses a regular expression to extract various bits of information from the warning/error message. Unfortunately it was inadequate, and didn't correctly match on some errors. The error message in this case is: class1.cs(16,4): error CS0152: The label `case 1:' already occurs in this switch statement. The problem was that while the previous regular expression would succeed in matching the above string, it was horribly inaccurate in what it captured: ${file} = "error CS0152" ${line} = "16" ${column} = "4" ${level} = "The" ${number} = "label `case 1" ${message}= "' already occurs in this switch statement." Did I mention hilariously wrong? There were two problems with the previous pattern: 1. It allowed filename+(line,column) to be _repeated_, which is clearly insane. Filename/etc. shouldn't be repeated. 2. ${number} captured ".*\d", i.e. anything ending with a number, so when the message had a number embedded within it, it was captured. For good measure, use RegexOptions.IgnorePatternWhitespace so that we don't have a horrendously long regex pattern to compare for diffs the next time this needs fixing, and add NUnit tests.
2013-07-02Update csproj filesMarek Safar
2013-03-07[xbuild] Replace string.ToLower() comparison with OrdinalIgnoreCase comparisonJonathan Pryor
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=10946 The scenario is the "turkish-i problem": Have an MSBuild Task Assembly which calls ITaskItem.GetMetadata("Identity") (like, oh, the Xamarin.Android build system...). Run in a Turkish locale (tr-TR), and things fail badly: Error executing task AndroidComputeResPaths: System.ArgumentException: Invalid reserved metadata name at Mono.XBuild.Utilities.ReservedNameUtils.GetReservedMetadata (System.String itemSpec, System.String metadataName, IDictionary metadata) [0x00000] in <filename unknown>:0 at Microsoft.Build.Utilities.TaskItem.GetMetadata (System.String metadataName) [0x00000] in <filename unknown>:0 at Xamarin.Android.Tasks.AndroidComputeResPaths.Execute () [0x00000] in <filename unknown>:0 at Microsoft.Build.BuildEngine.TaskEngine.Execute () [0x00000] in <filename unknown>:0 at Microsoft.Build.BuildEngine.BuildTask.Execute () [0x00000] in <filename unknown>:0 Wat? Well, in tr-TR, "Identity".ToLower() is "ıdentity", which doesn't match match anything in GetReservedMetadata()'s `switch` statement, so it throws an ArgumentException. *BOOM*. So, if you need a culture-invariant comparison, USE IT. Related: We could have just s/ToLower/ToLowerInvariant/g, which would have fixed the problem, but would still result in lots of string temporaries that aren't really necessary. Use the appropriate string.Compare() or string.Equals() methods instead to avoid the string temporary as well.
2013-02-21Update 4.5 bcl solution filesMarek Safar
2013-02-07Update csproj filesMarek Safar
2012-09-15[xbuild] More NET_2_0 removalAndres G. Aragoneses
2012-06-26Fix System.Core reference in VS projectsMarek Safar
2012-06-05[xbuild] Fixed a typo in MSBuildUtils.csStephen Shaw
2012-04-17Add missing referencesMarek Safar
2012-04-06Add missing assembly references to test targetsMarek Safar
2012-04-05Update csproj filesMarek Safar
2012-02-17Cleanup some assembly attributesMarek Safar
2012-02-10Add VS project files for test projectMarek Safar
2012-02-09Update class library csproj filesMarek Safar
2011-09-27Add 4.5 profile support to xbuildMarek Safar
2011-09-27Use correct version of xbuild 4.0 targetsMarek Safar
2011-04-06Remove obsolete nunit syntax from tests except for Assertion usage.Atsushi Eno
2011-02-28[xbuild] ToolTask - make error column check a little non-specific.Ankit Jain
2011-02-28[xbuild] ToolTask - add missing apiAnkit Jain
* Microsoft.Build.Utilities/Microsoft.Build.Utilities/ToolTask.cs (GetProcessStartInfo): Add missing api. This allows more control over the execution of the tool.
2011-02-13Add solution filesMiguel de Icaza
2011-02-11Add Mono.XBuild.Utilities/MSBuildUtils.cs to the build.Zoltan Varga
2011-02-11[xbuild] Update Utilities.FromMSBuildPath from monodevelop.Ankit Jain
Updating FromMSBuildPath also fixes a bug on windows. * Microsoft.Build.Engine/Microsoft.Build.BuildEngine/Utilities.cs: Move to.. * Microsoft.Build.Utilities/Mono.XBuild.Utilities/MSBuildUtils.cs: .. this. Also, update FromMSBuildPath from monodevelop. * Update Engine/* and Tasks/* to track the new api.
2010-09-15[xbuild] Fix case sensitive environment variables for ToolTask.Ankit Jain
Use ProcessStringDictionary in ToolTask for EnvironmentVariables, as this retains the original case of the keys. Without this environment vars would all be passed as lowercase! This was removed in a previous patch by mistake.