* xbuild/Microsoft.Common.targets: Remove dummy
[mono.git] / mcs / tools / xbuild / ChangeLog
1 2009-08-26  Ankit Jain  <jankit@novell.com>
2
3         * xbuild/Microsoft.Common.targets: Remove dummy
4         @(_TargetPathItem), since we support item refs with transforms
5         as a property value.
6
7 2009-08-26  Ankit Jain  <jankit@novell.com>
8
9         Fix bug #533903.
10         * xbuild/Microsoft.Common.targets: Support building projects
11         directly from command line. Builds referenced projects. Honors
12         $(BuildingSolutionFile) and $(BuildingInsideVisualStudio) now.
13         Also, clean referenced projects.
14
15 2009-08-21  Ankit Jain  <jankit@novell.com>
16
17         Fix bug #531926
18         * xbuild/Microsoft.Common.targets: Add $(ConfigurationName)
19         and $(PlatformName) default values.
20         Move CoreCompile to a Compile target with corresponding
21         Before/After hooks and *DependsOn.
22         Add Pre/PostBuildEvents handling.
23
24 2009-08-20  Ankit Jain  <jankit@novell.com>
25
26         Fix bug #532264.
27         * Main.cs: Dont generate .sln.proj, project.Load can handle
28         .sln directly now. Show stack trace for exceptions if logger
29         verbosity is > normal
30         * SolutionParser.cs (ParseSolution): Add a param for a raise
31         warning delegate. Use Dictionary.TryGetValue, key might not
32         be present.
33
34 2009-08-20  Ankit Jain  <jankit@novell.com>
35
36         * xbuild/Microsoft.Common.targets (ResolveReferences*): Add
37         a *DependsOn property and Before/After hooks. Change output
38         of ResolvedFiles to @(ReferencePath).
39         * xbuild/Microsoft.CSharp.targets (Csc): Use @(ReferencePath)
40         for references.
41
42 2009-08-19  Ankit Jain  <jankit@novell.com>
43
44         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference):
45         Make SearchPaths get value from a property (AssemblySearchPaths)
46         to allow it to be overridden.
47
48 2009-08-18  Ankit Jain  <jankit@novell.com>
49
50         * SolutionParser.cs (ParseSolution): Project reference in a project
51         file, but not found in .sln file is ignored. Also, add dependencies
52         specified in the .sln file.
53
54 2009-08-14  Ankit Jain  <jankit@novell.com>
55
56         Fix bug #530368.
57         * SolutionParser.cs (AddProjectTargets): If a project name matches one
58         of the targets that we emit (Build/Clean etc), then rename to
59         "Solution:<project name>".
60
61 2009-08-14  Ankit Jain  <jankit@novell.com>
62
63         * xbuild/Microsoft.Common.targets (AllowUnsafeBlocks): Don't set any
64         default value.
65         (OutputPath): Set a default value.
66         (DeployOutputFiles): Copy only if something available to copy.
67
68 2009-08-14  Ankit Jain  <jankit@novell.com>
69
70         * SolutionParser.cs (ProjectInfo.Dependencies): Change to a dictionary
71         to keep track of corresponding ProjectInfo objects.
72         (ParseSolution): Refactor to populate the ProjectInfo.Dependencies
73         dictionary. Use AddBuildLevels to emit build levels to allow
74         parallel builds.
75         (AddProjectTargets): Dependency's projectInfo is directly available now.
76         (AddBuildLevels): New. Emit items named BuildLevelN, where each level
77         has projects that can be built in parallel. Lower levels represent
78         dependencies for higher levels.
79         (AddSolutionTargets): Instead of using CallTarget, directly use MSBuild
80         task with the new BuildLevelN stuff. Also tell the user about disabled
81         projects or missing project configs.
82         (TopologicalSort): New.
83         (Insert): New. Based on code from monodevelop.
84
85 2009-08-14  Ankit Jain  <jankit@novell.com>
86
87         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add
88         '{PkgConfig}' to SearchPaths.
89
90 2009-07-31  Ankit Jain  <jankit@novell.com>
91
92         * ErrorUtilities.cs (ShowUsage): Implement.
93
94 2009-07-30  Ankit Jain  <jankit@novell.com>
95
96         Fix bug #484771.
97         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add support
98         for $(OutDir).
99
100 2009-07-30  Ankit Jain  <jankit@novell.com>
101
102         * ErrorUtilities.cs: Set version to Consts.MonoVersion .
103
104 2009-07-30  Ankit Jain  <jankit@novell.com>
105
106         * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Output
107         ResolvedFiles to @(ReferencePath), required for IDE integration.
108
109 2009-07-30  Ankit Jain  <jankit@novell.com>
110
111         * xbuild/Microsoft.Common.targets: Implement 'Clean' target. Currently
112         just handles clean for a full build.
113
114 2009-07-28  Ankit Jain  <jankit@novell.com>
115
116         * xbuild/Microsoft.Common.targets: Add missing 'SkipUnchangedFiles=true'
117         for the Copy tasks.
118         (CopyDeployFiles*): Fix typos, Add inputs/outputs for the
119         PreserveNewest case and remove for copy always case.
120
121 2009-07-23  Ankit Jain  <jankit@novell.com>
122
123         * xbuild/Microsoft.Common.targets: Oops, forgot to remove some
124         debug stuff.
125
126 2009-07-23  Ankit Jain  <jankit@novell.com>
127
128         * Makefile: Create a lib/mono/xbuild directory for xbuild
129         extensions.
130
131 2009-07-23  Ankit Jain  <jankit@novell.com>
132
133         * xbuild/Microsoft.Common.targets (AssignProjectConfigurations): New.
134         (ResolveProjectReferences): Add dependency on AssignProjectConfigurations
135         target. Also, set the config and platform properties for the msbuild task
136         being invoked.
137         * xbuild/Microsoft.Common.tasks: Add AssignProjectConfiguration .
138
139 2009-07-22  Ankit Jain  <jankit@novell.com>
140
141         * xbuild/Microsoft.VisualBasic.targets (Vbc.References): Remove
142         "@(ChildProjectReferences)" as it gets resolved earlier
143         and is part of @(ResolvedFiles).
144
145 2009-07-22  Ankit Jain  <jankit@novell.com>
146
147         * xbuild.Microsoft.CSharp.targets (Csc.References): Remove
148         "@(ChildProjectReferences)" as it gets resolved earlier
149         and is part of @(ResolvedFiles).
150
151 2009-06-12  Ankit Jain  <jankit@novell.com>
152
153         * xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.
154
155 2009-06-12  Ankit Jain  <jankit@novell.com>
156
157         * xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
158         an Item list to match msbuild.
159         * xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
160         above changes.
161
162 2009-06-12  Ankit Jain  <jankit@novell.com>
163
164         * Parameters.cs (.ctor): Use assembly's location to build
165         path for the default response file.
166
167 2009-06-08  Ankit Jain  <jankit@novell.com>
168
169         * xbuild/Microsoft.Common.targets: Use ResolveAssemblyReference
170         to find satellite assemblies, dependent assemblies, dependent
171         files, copy local files etc.
172         Add targets to fetch all this info for all referenced projects,
173         and copy them to the target locations. Also, copy the debug (.mdb)
174         files. Honor, "CopyToOutputDirectory" metadata.
175
176 2009-06-07  Ankit Jain  <jankit@novell.com>
177
178         * Parameters.cs (ProcessProperty): Handle invalid syntax.
179
180 2009-06-07  Ankit Jain  <jankit@novell.com>
181
182         * SolutionParser.cs (AddGeneralSettings): Don't hardcode the default
183         config/platform. Move to ..
184         (AddDefaultSolutionConfiguration): .. here.
185         (AddCurrentSolutionConfigurationContents): Use the first solution target
186         as the default config/platform or use Debug/anycpu if no config is available.
187
188 2009-05-20  Jonathan Chambers  <joncham@gmail.com>
189
190         * SolutionParser.cs (ParseSolution): Ignore vcproj projects in solutions 
191         and issue warning. 
192
193 2009-04-27  Ankit Jain  <jankit@novell.com>
194
195         * xbuild/Microsoft.VisualBasic.targets: Update to use
196         CreateVisualBasicManifestResourceName task, and fix compiler params.
197
198 2009-04-25 Daniel Nauck <dna@mono-project.de>
199
200         Fix bug #484649:
201         * LoggerInfo.cs: fixed the parsing of the /logger: argument as described in
202         http://msdn.microsoft.com/en-us/library/ms164311.aspx
203         Added logger class detection if it's not explicit specified in the argument.
204
205 2009-03-19  Ankit Jain  <jankit@novell.com>
206
207         Fix bug #484773.
208         * Main.cs (Execute): Check whether the project file exists or not.
209         * Parameters.cs (ParseArguments): Handle absolute paths too.
210
211 2009-03-13  Ankit Jain  <jankit@novell.com>
212
213         * Main.cs (Execute): Build the project/sln with current directory set to
214         the project file's dir.
215         * SolutionParser.cs (ParseSolution): Project paths are relative to
216         solution directory.
217
218 2009-03-06  Ankit Jain  <jankit@novell.com>
219
220         Fix bug #481336.
221         * SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
222         (AddProjectTargets): Emit warning for missing project configurations.
223
224 2009-02-26  Ankit Jain  <jankit@novell.com>
225
226         * xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
227         ManifestNonResxWithCultureOnDisk instead of ManifestResourceWithNoCultureOnDisk.
228
229 2009-02-26  Ankit Jain  <jankit@novell.com>
230
231         * xbuild/Microsoft.Common.targets: Make targets extensible. Add
232         before/after hooks.
233
234 2009-02-25  Ankit Jain  <jankit@novell.com>
235
236         * xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
237         output path, instead of just obj/
238
239 2009-02-25  Ankit Jain  <jankit@novell.com>
240
241         * xbuild/Microsoft.Common.targets (CopyNonResxEmbeddedResources): New.
242         (GenerateSatelliteAssemblies): Update to use the new ManifestNonResxWithCultureOnDisk
243         instead of NonResxWithCulture.
244         * xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
245         the new on disk file names instead of original filenames.
246
247 2009-02-25  Ankit Jain  <jankit@novell.com>
248
249         * xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.
250
251 2009-02-25  Ankit Jain  <jankit@novell.com>
252
253         * SolutionParser.cs (ParseSolution): Report warning instead of error
254         for unknown global sections.
255
256 2009-02-21  Ankit Jain  <jankit@novell.com>
257
258         * xbuild/xbuild.rsp: Add descriptive comments.
259
260 2009-02-21  Ankit Jain  <jankit@novell.com>
261
262         * Parameters.cs (LoadResponseFile): Handle comments.
263
264 2009-02-20  Ankit Jain  <jankit@novell.com>
265
266         * SolutionParser.cs (ParseSolution): Ignore solution folders.
267
268 2009-02-20  Ankit Jain  <jankit@novell.com>
269
270         * SolutionParser.cs (ParseSolution): Ignore GlobalSection named
271         'NestedProjects'.
272
273 2009-02-20  Ankit Jain  <jankit@novell.com>
274
275         * SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
276         project guids as Warnings and not errors. Report every missing guid only
277         once.
278
279 2009-02-20  Ankit Jain  <jankit@novell.com>
280
281         * SolutionParser.cs (projectRegex): Use '\s' to match whitespace.
282
283 2009-02-19  Jonathan Chambers  <joncham@gmail.com>
284
285         * xbuild.csproj: Add.
286         * xbuild.sln: Add.
287
288 2009-02-13  Jonathan Chambers  <joncham@gmail.com>
289
290         * SolutionParser.cs: Make Guid Regex case insensitive.
291         Handle project dependencies. The solution has explicit
292         dependencies, but we have to open projects for implicit
293         dependencies (via ProjectReferences).
294
295 2009-02-13  Jonathan Chambers  <joncham@gmail.com>
296
297         * Main.cs: Add support for .sln files.
298         * SolutionParser.cs: Class for generating project file
299         from solution file.
300         * xbuild.exe.sources: Added SolutionParser.cs.
301
302 2009-02-02  Ankit Jain  <jankit@novell.com>
303
304         * Microsoft.CSharp.targets: Add targets to generate resource ids.
305         * Microsoft.Common.targets: Add targets for generating resources,
306         generate and deploy satellite assemblies, resolve project and assembly
307         references. All intermediate build output goes into a 'obj/' dir by
308         default. 'Clean' target enabled.
309
310 2008-12-12  Ankit Jain  <jankit@novell.com>
311
312         * Microsoft.CSharp.targets: Add CreateCSharpManifestResourceName task.
313
314 2008-11-23  Ankit Jain  <jankit@novell.com>
315
316         * xbuild/Microsoft.Common.tasks: Add AssignCulture task.
317
318 2008-10-01  Ankit Jain  <jankit@novell.com>
319
320         * xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.
321
322 2007-03-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
323
324         * xbuild/Microsoft.Common.tasks: Added CombinePath task.
325
326 2007-03-10  Marek Sieradzki  <marek.sieradzki@gmail.com>
327
328         * xbuild/Microsoft.Common.tasks: Added Vbc task.
329
330         * xbuild/Microsoft.VisualBasic.targets: Added CoreCompile target for
331         VB.
332
333 2007-03-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
334
335         * Microsoft.CSharp.targets: Add @(ChildProjectReferences) to
336         References.
337
338         * Microsoft.Common.targets: Add ResolveProjectReferences target.
339
340 2007-01-23  Marek Sieradzki  <marek.sieradzki@gmail.com>
341
342         * Makefile: Removed hack.
343
344 2007-01-23  Marek Sieradzki  <marek.sieradzki@gmail.com>
345
346         * Makefile: Fix Windows build.
347
348 2007-01-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
349
350         * xbuild/Microsoft.VisualBasic.targets: Added.
351
352 2007-01-09  Marek Sieradzki  <marek.sieradzki@gmail.com>
353
354         * xbuild/Microsoft.Common.targets: Added $(ProjectDir).
355
356 2007-01-06  Marek Sieradzki  <marek.sieradzki@gmail.com>
357
358         * Makefile, Main.cs: Moved XBuild files to lib/mono/2.0 from
359         lib/mono/xbuild.
360
361 2006-12-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
362
363         * Main.cs: Catch InvalidProjectFileException and
364         InternalLoggerException.
365
366 2006-12-16  Marek Sieradzki  <marek.sieradzki@gmail.com>
367
368         * Parameters.cs (ProcessProperty): Use SetProperty () not
369         AddNewProperty ().
370
371 2006-12-12  Marek Sieradzki  <marek.sieradzki@gmail.com>
372
373         * xbuild/Microsoft.Common.targets: Added.
374
375         * xbuild/Microsoft.CSharp.targets: Move common part to
376         Microsoft.Common.targets.
377
378 2006-12-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
379
380         * xbuild/Microsoft.Common.tasks: Fix a typo (GetFrameworkPath).
381
382 2006-10-10  Marek Sieradzki  <marek.sieradzki@gmail.com>
383
384         * xbuild/Microsoft.CSharp.targets: Added empty SearchPaths to Csc.
385
386 2006-10-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
387
388         * xbuild/Microsoft.CSharp.targets: Added parameters that should be
389         passed to Csc.
390
391 2006-10-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
392
393         * xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
394         compiling and put output in this directory.
395
396 2006-09-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
397
398         * xbuild/Microsoft.CSharp.targets: Use new ResolveAssemblyReference
399         task.
400         * xbuild/Microsoft.Common.tasks: Add new task (RAR).
401
402 2006-09-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
403
404         * xbuild/Microsoft.CSharp.targets: Set AllowUnsafeBlocks to false when it's
405         equal to ''.
406
407 2006-09-29  Todd Berman  <tberman@off.net>
408
409         * xbuild/Microsoft.CSharp.targets: Copy over the AllowUnsafeBlocks
410         property definition.
411
412 2006-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
413
414         * xbuild/Microsoft.CSharp.targets: Simplify: use PropertyGroups
415         instead of Targets to set properties needed by Csc task.
416
417 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
418
419         * Makefile: Fix broken build.
420
421 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
422
423         * xbuild/Microsoft.CSharp.targets: Support AssemblyName and
424         WarningLevel.
425
426 2006-09-20  Marek Sieradzki  <marek.sieradzki@gmail.com>
427
428         * Parameters.cs, Main.cs, ErrorUtilities.cs: Moved error handling to
429         new file and started to use ErrorUtilities.ReportError ()
430         instead of throw and catch. (In cases where xbuild should quit
431         instantly)
432
433 2006-06-25  Marek Sieradzki  <marek.sieradzki@gmail.com>
434
435         * Makefile, xbuild/Microsoft.CSharp.Targets: Renamed to
436         Microsoft.CSharp.targets. On make install it should be linked or
437         copied to another name.
438
439 2006-06-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
440
441         * Makefile: Updated.
442         * xbuild/Microsoft.CSharp.Targets: Added hacky implementation of this
443         targets file.
444
445 2006-05-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
446
447         * Main.cs: Patch from Matthew Metnetsky.
448
449 2006-04-19  Marek Sieradzki  <marek.sieradzki@gmail.com>
450
451         * XBuild.targets: Removed.
452         * xbuild/Microsoft.Build.xsd: Changed path separator.
453
454 2006-04-08  Marek Sieradzki  <marek.sieradzki@gmail.com>
455
456         * Makefile, xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd: Changed
457         name of Microsoft.Build.Commontypes.xsd to
458         Microsoft.Build.CommonTypes.xsd.
459
460 2006-04-07  Marek Sieradzki  <marek.sieradzki@gmail.com>
461
462         * Makefile: Changed installation directory of schema files.
463
464 2006-03-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
465
466         * Main.cs: Updated for new API.
467
468 2005-12-14  Wade Berrier <wberrier@novell.com>
469
470         * Makefile: Add missing EXTRA_DISTFILES in order to 'make install'
471
472 2005-11-05  Kornél Pál  <kornelpal@hotmail.com>
473
474         * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
475
476 2005-09-22  Marek Sieradzki  <marek.sieradzki@gmail.com>
477
478         * Main.cs: Changed binPath to directory where all files are stored.
479         * Makefile: Added installing of additional files.
480
481 2005-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
482
483         * LoggerInfo.cs: Changed public to internal.
484         * xbuild.exe.sources: Added reference to AssemblyLoadInfo.
485
486 2005-09-21  Marek Sieradzki  <marek.sieradzki@gmail.com>
487
488         * Microsoft.Common.tasks, xbuild.rsp, Microsoft.Build.xsd, MSBuild:
489         Moved to xbuild/.
490         * Main.cs, Pararameters.cs: Changed to use Mono.XBuild.Framework and
491         Mono.XBuild.Utilities.
492         * CommandLineException.cs, LoggerInfo.cs: Added #if NET_2_0
493         
494
495 2005-09-11  Marek Sieradzki  <marek.sieradzki@gmail.com>
496
497         * xbuild.exe.sources: Added Consts.cs from common build files.
498         * LoggerInfo.cs: Public key token update.
499         * Parameters.cs, Main.cs: Changed to use BinPath instead of hard-coded path.
500         * Makefile: Added installing of xbuild's files.
501         * Microsoft.Common.tasks: Moved from main directory and changed to use
502         assemblies from GAC.
503
504 2005-09-09  Marek Sieradzki  <marek.sieradzki@gmail.com>
505
506         * Main.cs: FxVersion.
507         * Makefile: Fixed Microsoft.Build.Utilities.dll name.
508
509 2005-09-05  Marek Sieradzki  <marek.sieradzki@gmail.com>
510
511         * Microsoft.Build.xsd, MSBuild/Microsoft.Build.Core.xsd,
512         Microsoft.Build.Commontypes.xsd: Added schema files.
513
514 2005-08-30  Marek Sieradzki  <marek.sieradzki@gmail.com>
515
516         * Main.cs, Parameters.cs: Added default target(s) handling.
517
518 2005-08-29  Marek Sieradzki  <marek.sieradzki@gmail.com>
519
520         * LoggerInfo.cs: Removed AssemblyLoadInfo property, changed to inherit
521         AssemblyLoadInfo.
522         * XBuild.targets: Updated.
523         * Parameters.cs: Removed debugging info and removed line producing
524         errors.
525         * Main.cs: Added check if engine is null.
526
527 2005-08-24  Marek Sieradzki  <marek.sieradzki@gmail.com>
528
529         * Parameters.cs, Main.cs: Changed paths to absolute paths. They should be
530         separated to .in file probably when moving to autotools.
531
532 2005-08-12  Marek Sieradzki  <marek.sieradzki@gmail.com>
533
534         * CommandLineException.cs, LoggerInfo.cs, Main.cs, Parameters.cs:
535         Added.