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
2017-11-26[msvc] Update csproj files (#6100)monojenkins
2017-08-07[msvc] Update csproj filesAlexander Köplinger
2017-08-07[bcl] Specify the name of the key file on the command line instead of using ↵Zoltan Varga
the AssemblyKeyFile attribute for consistency and to make it easier to do path name manipulation on the file name. (#5316)
2017-05-15[msvc] Update csproj files (#4846)monojenkins
2017-05-09[bcl] Cleanup outdated csproj/sln files (#4806)Alexander Köplinger
They were either replaced by the autogenerated csproj files or just completely broken for years.
2017-04-18[msvc] Update csproj files (#4711)monojenkins
2017-03-16[Microsoft.Build.Engine] Rename method parameters to match .NET contractAlexander Köplinger
2017-01-10[msvc] Update csproj files (#4221)monojenkins
2016-12-06Fix Microsoft.Build.Engine fail when built with mcsNiklas Therning
Fixes the Makefile to not fail if the compiler hasn't generated a pdb file for the TestTasks dll.
2016-11-28[build] Roslyn switchMarek Safar
2016-11-17[xbuild] Handle a repeat build of a target, when building through ..Ankit Jain
.. `Project.Build(..)`. For example, in: ``` <MSBuild Projects="bar.proj" Targets="foo;foo" /> ``` The second invocation of `foo`, in the *same* `Project.Build(..)` call, would get skipped, but BuildTarget assumed that no previous `outputs` entry existed in the `targetOutputs` dictionary. System.Exception: MSBuild operation failed ---> System.ArgumentException: Item has already been added. Key in dictionary: 'foo' Key being added: 'foo' at System.Collections.Hashtable.Insert (System.Object key, System.Object nvalue, System.Boolean add) [0x00200] in <94fd79a3b7144c54b4cb162b50fc7761>:0 at System.Collections.Hashtable.Add (System.Object key, System.Object value) [0x00000] in <94fd79a3b7144c54b4cb162b50fc7761>:0 at Microsoft.Build.BuildEngine.Project.BuildTarget (System.String target_name, System.Collections.IDictionary targetOutputs) [0x0007e] in <b1524340ac7e4c06b22fac1b2db62c08>:0 at Microsoft.Build.BuildEngine.Project.BuildInternal (System.String[] targetNames, System.Collections.IDictionary targetOutputs, Microsoft.Build.BuildEngine.BuildSettings buildFlags) [0x00134] in <b1524340ac7e4c06b22fac1b2db62c08>:0 at Microsoft.Build.BuildEngine.Project.Build (System.String[] targetNames, System.Collections.IDictionary targetOutputs, Microsoft.Build.BuildEngine.BuildSettings buildFlags) [0x0004b] in <b1524340ac7e4c06b22fac1b2db62c08>:0 Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=44549
2016-11-14[msvc] Update .csproj filesAlexander Köplinger
2016-11-11[xbuild] Don't reevaluate project when setting metadata in a dynamic ..Ankit Jain
.. item. If we have a project, that sets some properties or items at runtime, like in a target: ``` <Target Name="Build"> <PropertyGroup> <Bar>Bar01</Bar> </PropertyGroup> ``` .. such a property can be accessed as `$(Bar)` subsequently. Then at later point, a target tries to update metadata on an item group with existing items, like: ``` <ItemGroup> <FooItem Include="xyz" /> </ItemGroup> <Target Name="Foo"> <ItemGroup> <FooItem> <SomeMetadata>MetadataValue</SomeMetadata> </FooItem> </ItemGroup> ``` .. then it is seen that the value for the earlier created `$(Bar)` disappears! So, if we try to print the value of `$(Bar)` right after that item group, it would appear as `''`! The issue is that the metadata update in target `Foo` caused the project to get re-evaluated, which meant that items/properites created after the project load were lost! We should not be reevaluating the project when setting metadata on the basis of dynamic items, like in the target `Foo`. These dynamic item groups in a target are represented as `BuildItemTask`, and these create BuildItems which have their `IsDynamic` property set. And this is used to avoid re-evaluating the project in `BuildItem.SetMetadata`. But when updating metadata (`BuildItem.UpdateMetadata`), we need to update metadata on the *existing* items, which might not have been created from such dynamic item groups! So, their `IsDynamic==false`. Hence, trying to `SetMetadata` on such items would cause the project to be reevaluated, and thus properties/items like `$(Bar)` would be lost! Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=45137 In this particular case, `Bar` was the `DesignTimeBuild` property, which was losing it's value when `ProjectReference`'s `AdditionalProperties` metadata was set in: ``` <Target Name="BclBuildAddProjectReferenceProperties" <ItemGroup> <ProjectReference> <AdditionalProperties>$(_BclBuildProjectReferenceProperties);%(ProjectReference.AdditionalProperties)</AdditionalProperties> </ProjectReference> </ItemGroup> ```
2016-10-29[bcl] Add patching of nunit-lite-console.exe.config fileAlexander Köplinger
Because nunit-lite runs everything in the same AppDomain, we can't use dll.config files for settings anymore. Since a few test suites rely on being able to read those settings we need to patch them into the main nunit-lite-console.exe.config file instead before the test. Remove all _test.dll.config files and replace with nunit-lite patcher equivalent
2016-10-17[build] Regenerate .csproj filesAlexander Köplinger
Note: DISABLE_CAS_USE was removed in ed989a8e9e5c170b6d19edc60bb80e8a4e6d5cc0
2016-10-07Fix failures in MSBuild tests on WindowsNiklas Therning
2016-08-04[xbuild] Use the xbuild ToolsVersion even if another one is specified in the ↵Alexander Köplinger
csproj This is the recent behavior in .NET/MSBuild as well [1]: > Starting in Visual Studio 2013, the MSBuild Toolset version is the same > as the Visual Studio version number. MSBuild defaults to this Toolset > within Visual Studio and on the command line, regardless of the > toolset version specified in project file. With this change xbuild will always use its own version instead of the one specified in the project, unlessa ToolsVersion is forced via the /tv switch on the command line. Fixes https://bugzilla.xamarin.com/show_bug.cgi?id=42938 [1] https://msdn.microsoft.com/en-us/library/bb383796.aspx#Anchor_1
2016-05-27[genproj] Do not use \r on the Unix parts of the build hook, add RabbitMQ hooksMiguel de Icaza
2016-05-21[xbuild] Make sure MSBuildFrameworkToolsPath is set for xbuild 14Alexander Köplinger
2016-05-19[msbuild projects] Use newlines without a carriage return for Unix targets ↵Miguel de Icaza
to appease MS msbuild
2016-05-19[genproj] Use an explicit IntermediateOutputPath to prevent rebuilds on ↵Miguel de Icaza
cyclic assemblies
2016-05-18genproj: Improve handling of executables and projects with build dependenciesMiguel de Icaza
2016-05-18[genproj] Updates to project generator and csproj files.Miguel de Icaza
* Adds support for a handful of new command line arguments that we now use in the build. * Always attempts to match to a project name, to get the proper project dependency. * Update to support .exe and .dll in the generation. * Remove warnings and some dead code * Update the resulting csproj files based on running: make update-csproj make package-inputs mono genproj.exe
2016-04-04[Microsoft.Build.Engine] Update test filesMarek Safar
2016-04-04[Microsoft.Build.Engine] Simplify bd70a55ec7aaeb40b2b0054e0f162c709085842fMarek Safar
2016-04-04[Microsoft.Build.Engine] clean/copy mdb files as wellMarek Safar
2016-04-04[build] Change the way how mcs references are passed to compiler to always ↵Marek Safar
use full path. One of csc prerequisites because csc uses -lib as path which is considered after RuntimeEnvironment.GetRuntimeDirectory which makes -lib useless
2016-01-29Remove ChangeLog files from the repoAlexander Köplinger
They weren't updated in the last 6 years and aren't helpful anymore (e.g. by causing unrelated matches during git grep searches).
2015-12-20[XBuild] Fixed method invocation with string argument containing ",` or 'David Karlaš
Before this commit string value starting or ending with this char was malformed because Trim removed also part of string value Also fixed recent regression from 42c0a94445 which failed to split arguments if doubleQuote was inside singleQuoute
2015-12-14Merge pull request #2334 from iainx/handle-commaMarek Safar
[mcs] Handle commas inside quotes correctly
2015-12-13[mcs] Handle commas inside quotes correctlyiain holmes
OpenLiveWriter's build files break due to incorrectly parsing (".",",") as three arguments: a . and two " instead of two: a . and a , This is the error: OpenLiveWriter/writer.build.targets: error : Error executing task WriteLinesToFile: Error converting Property named 'Lines' with value '#define FILE_VERSION $(BuildVersion.Replace(".",","));#define PRODUCT_VERSION $(BuildVersion)' to type Microsoft.Build.Framework.ITaskItem[]: Method 'Replace(., , )' arguments cannot be evaluated' This patch ignores , as a separator character if it is inside ""
2015-12-13Microsoft.Build.Engine] Implement ConvertToITaskItemArrayiain holmes
Create a TaskItem containing the result of the invocation
2015-12-02[csproj] Remove *net_4_5.csproj files from the class libsAlexander Köplinger
We only use the net_4_x profile now so those csproj's don't make sense anymore.
2015-11-10[bcl] Add versioning to the TestTasks.dll file name used by the ↵Zoltan Varga
Microsoft.Build.Engine tests since it needs to be compiled against the same xbuild version as the rest of the tests.
2015-09-21[XBuild] Ignoring paths of .csproj, .targets and .sln file paths so in case ↵David Karlaš
of missmatch between values in <ProjectReference> or .sln and actual file system continue matching project file path and project
2015-09-14[build] Generated up-to-date net_4_x MSBuild projects.João Matos
2015-08-01Revert "[Microsoft.Build.Engine] Fix bug with escaped semicolon and spaces"Alexander Köplinger
This reverts commit 51297ed7ab06480df84520c758639b6cef0790d9. It caused a regression for escaped quotes (%22) in msbuild properties. See https://github.com/mono/mono/commit/51297ed7ab06480df84520c758639b6cef0790d9#commitcomment-11827605. Disable test that now fails again after the revert. Add new test that verifies the behavior originally broken by the change.
2015-07-26[bcl] Remove NET_4_0 defines from class libsAlexander Köplinger
NET_4_0 is always defined now, so the ifdefs are redundant. I verified the libs are exactly the same after this change, so this is effectively a no-op.
2015-07-22[xbuild] Add 14.0 toolsets pathMarek Safar
2015-07-22[xbuild] Update tests default profileMarek Safar
2015-03-17[genproj] Re-generated the class library projects.João Matos
2015-03-13Fix spelling.Rolf Bjarne Kvinge
2015-03-11[Microsoft.Build.Engine] Fix invocation flags not to contain both ↵Marek Safar
CreateInstance and Invoke
2015-03-05[Microsoft.Build.Enginge] Fix race in ConsoleLoggerAlexander Köplinger
This occasionally made the BasicManualParallelBuilds test fail on Jenkins.
2015-02-27[Microsoft.Build.Engine] Update missing method exception typeMarek Safar
2015-02-27[build] Add dependency information for class libraries using a LIB_REFS ↵Zoltan Varga
variable which lists the assemblies a given assembly depends on to build.
2015-02-23Merge pull request #1580 from akoeplinger/msbuild-3B-escapeMarek Safar
[Microsoft.Build.Engine] Fix bug with escaped semicolon and spaces
2015-02-22Ensure MakeRelative() works even when basePath doesn't end in slashAlexander Köplinger
2015-02-22[Microsoft.Build.Engine] Implement MakeRelative() predefined property functionAlexander Köplinger
2015-02-19[Microsoft.Build.Engine] Fix bug with escaped semicolon and spacesAlexander Köplinger