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