1 2009-08-26 Ankit Jain <jankit@novell.com>
3 * xbuild/Microsoft.Common.targets: Remove dummy
4 @(_TargetPathItem), since we support item refs with transforms
7 2009-08-26 Ankit Jain <jankit@novell.com>
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.
15 2009-08-21 Ankit Jain <jankit@novell.com>
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.
24 2009-08-20 Ankit Jain <jankit@novell.com>
27 * Main.cs: Dont generate .sln.proj, project.Load can handle
28 .sln directly now. Show stack trace for exceptions if logger
30 * SolutionParser.cs (ParseSolution): Add a param for a raise
31 warning delegate. Use Dictionary.TryGetValue, key might not
34 2009-08-20 Ankit Jain <jankit@novell.com>
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)
42 2009-08-19 Ankit Jain <jankit@novell.com>
44 * xbuild/Microsoft.Common.targets (ResolveAssemblyReference):
45 Make SearchPaths get value from a property (AssemblySearchPaths)
46 to allow it to be overridden.
48 2009-08-18 Ankit Jain <jankit@novell.com>
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.
54 2009-08-14 Ankit Jain <jankit@novell.com>
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>".
61 2009-08-14 Ankit Jain <jankit@novell.com>
63 * xbuild/Microsoft.Common.targets (AllowUnsafeBlocks): Don't set any
65 (OutputPath): Set a default value.
66 (DeployOutputFiles): Copy only if something available to copy.
68 2009-08-14 Ankit Jain <jankit@novell.com>
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
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.
85 2009-08-14 Ankit Jain <jankit@novell.com>
87 * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add
88 '{PkgConfig}' to SearchPaths.
90 2009-07-31 Ankit Jain <jankit@novell.com>
92 * ErrorUtilities.cs (ShowUsage): Implement.
94 2009-07-30 Ankit Jain <jankit@novell.com>
97 * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Add support
100 2009-07-30 Ankit Jain <jankit@novell.com>
102 * ErrorUtilities.cs: Set version to Consts.MonoVersion .
104 2009-07-30 Ankit Jain <jankit@novell.com>
106 * xbuild/Microsoft.Common.targets (ResolveAssemblyReference): Output
107 ResolvedFiles to @(ReferencePath), required for IDE integration.
109 2009-07-30 Ankit Jain <jankit@novell.com>
111 * xbuild/Microsoft.Common.targets: Implement 'Clean' target. Currently
112 just handles clean for a full build.
114 2009-07-28 Ankit Jain <jankit@novell.com>
116 * xbuild/Microsoft.Common.targets: Add missing 'SkipUnchangedFiles=true'
118 (CopyDeployFiles*): Fix typos, Add inputs/outputs for the
119 PreserveNewest case and remove for copy always case.
121 2009-07-23 Ankit Jain <jankit@novell.com>
123 * xbuild/Microsoft.Common.targets: Oops, forgot to remove some
126 2009-07-23 Ankit Jain <jankit@novell.com>
128 * Makefile: Create a lib/mono/xbuild directory for xbuild
131 2009-07-23 Ankit Jain <jankit@novell.com>
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
137 * xbuild/Microsoft.Common.tasks: Add AssignProjectConfiguration .
139 2009-07-22 Ankit Jain <jankit@novell.com>
141 * xbuild/Microsoft.VisualBasic.targets (Vbc.References): Remove
142 "@(ChildProjectReferences)" as it gets resolved earlier
143 and is part of @(ResolvedFiles).
145 2009-07-22 Ankit Jain <jankit@novell.com>
147 * xbuild.Microsoft.CSharp.targets (Csc.References): Remove
148 "@(ChildProjectReferences)" as it gets resolved earlier
149 and is part of @(ResolvedFiles).
151 2009-06-12 Ankit Jain <jankit@novell.com>
153 * xbuild/Microsoft.Common.targets (ProjectDir): Fix typo.
155 2009-06-12 Ankit Jain <jankit@novell.com>
157 * xbuild/Microsoft.Common.targets (IntermediateAssembly): Change to
158 an Item list to match msbuild.
159 * xbuild/Microsoft.CSharp.targets (IntermediateAssembly): Update for
162 2009-06-12 Ankit Jain <jankit@novell.com>
164 * Parameters.cs (.ctor): Use assembly's location to build
165 path for the default response file.
167 2009-06-08 Ankit Jain <jankit@novell.com>
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.
176 2009-06-07 Ankit Jain <jankit@novell.com>
178 * Parameters.cs (ProcessProperty): Handle invalid syntax.
180 2009-06-07 Ankit Jain <jankit@novell.com>
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.
188 2009-05-20 Jonathan Chambers <joncham@gmail.com>
190 * SolutionParser.cs (ParseSolution): Ignore vcproj projects in solutions
193 2009-04-27 Ankit Jain <jankit@novell.com>
195 * xbuild/Microsoft.VisualBasic.targets: Update to use
196 CreateVisualBasicManifestResourceName task, and fix compiler params.
198 2009-04-25 Daniel Nauck <dna@mono-project.de>
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.
205 2009-03-19 Ankit Jain <jankit@novell.com>
208 * Main.cs (Execute): Check whether the project file exists or not.
209 * Parameters.cs (ParseArguments): Handle absolute paths too.
211 2009-03-13 Ankit Jain <jankit@novell.com>
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
218 2009-03-06 Ankit Jain <jankit@novell.com>
221 * SolutionParser.cs (AddWarningForMissingProjectConfiguration): New.
222 (AddProjectTargets): Emit warning for missing project configurations.
224 2009-02-26 Ankit Jain <jankit@novell.com>
226 * xbuild/Microsoft.CSharp.targets (Csc): Fix "Resources" argument to use
227 ManifestNonResxWithCultureOnDisk instead of ManifestResourceWithNoCultureOnDisk.
229 2009-02-26 Ankit Jain <jankit@novell.com>
231 * xbuild/Microsoft.Common.targets: Make targets extensible. Add
234 2009-02-25 Ankit Jain <jankit@novell.com>
236 * xbuild/Microsoft.Common.targets: Use obj/$(Config) as the default intermediate
237 output path, instead of just obj/
239 2009-02-25 Ankit Jain <jankit@novell.com>
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.
247 2009-02-25 Ankit Jain <jankit@novell.com>
249 * xbuild/Microsoft.Common.targets (GetTargetPath): Add a path separator.
251 2009-02-25 Ankit Jain <jankit@novell.com>
253 * SolutionParser.cs (ParseSolution): Report warning instead of error
254 for unknown global sections.
256 2009-02-21 Ankit Jain <jankit@novell.com>
258 * xbuild/xbuild.rsp: Add descriptive comments.
260 2009-02-21 Ankit Jain <jankit@novell.com>
262 * Parameters.cs (LoadResponseFile): Handle comments.
264 2009-02-20 Ankit Jain <jankit@novell.com>
266 * SolutionParser.cs (ParseSolution): Ignore solution folders.
268 2009-02-20 Ankit Jain <jankit@novell.com>
270 * SolutionParser.cs (ParseSolution): Ignore GlobalSection named
273 2009-02-20 Ankit Jain <jankit@novell.com>
275 * SolutionParser.cs (ParseProjectConfigurationPlatforms): Report missing
276 project guids as Warnings and not errors. Report every missing guid only
279 2009-02-20 Ankit Jain <jankit@novell.com>
281 * SolutionParser.cs (projectRegex): Use '\s' to match whitespace.
283 2009-02-19 Jonathan Chambers <joncham@gmail.com>
285 * xbuild.csproj: Add.
288 2009-02-13 Jonathan Chambers <joncham@gmail.com>
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).
295 2009-02-13 Jonathan Chambers <joncham@gmail.com>
297 * Main.cs: Add support for .sln files.
298 * SolutionParser.cs: Class for generating project file
300 * xbuild.exe.sources: Added SolutionParser.cs.
302 2009-02-02 Ankit Jain <jankit@novell.com>
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.
310 2008-12-12 Ankit Jain <jankit@novell.com>
312 * Microsoft.CSharp.targets: Add CreateCSharpManifestResourceName task.
314 2008-11-23 Ankit Jain <jankit@novell.com>
316 * xbuild/Microsoft.Common.tasks: Add AssignCulture task.
318 2008-10-01 Ankit Jain <jankit@novell.com>
320 * xbuild/Microsoft.Common.tasks: Add CallTarget and AssignTargetPath task.
322 2007-03-19 Marek Sieradzki <marek.sieradzki@gmail.com>
324 * xbuild/Microsoft.Common.tasks: Added CombinePath task.
326 2007-03-10 Marek Sieradzki <marek.sieradzki@gmail.com>
328 * xbuild/Microsoft.Common.tasks: Added Vbc task.
330 * xbuild/Microsoft.VisualBasic.targets: Added CoreCompile target for
333 2007-03-08 Marek Sieradzki <marek.sieradzki@gmail.com>
335 * Microsoft.CSharp.targets: Add @(ChildProjectReferences) to
338 * Microsoft.Common.targets: Add ResolveProjectReferences target.
340 2007-01-23 Marek Sieradzki <marek.sieradzki@gmail.com>
342 * Makefile: Removed hack.
344 2007-01-23 Marek Sieradzki <marek.sieradzki@gmail.com>
346 * Makefile: Fix Windows build.
348 2007-01-21 Marek Sieradzki <marek.sieradzki@gmail.com>
350 * xbuild/Microsoft.VisualBasic.targets: Added.
352 2007-01-09 Marek Sieradzki <marek.sieradzki@gmail.com>
354 * xbuild/Microsoft.Common.targets: Added $(ProjectDir).
356 2007-01-06 Marek Sieradzki <marek.sieradzki@gmail.com>
358 * Makefile, Main.cs: Moved XBuild files to lib/mono/2.0 from
361 2006-12-19 Marek Sieradzki <marek.sieradzki@gmail.com>
363 * Main.cs: Catch InvalidProjectFileException and
364 InternalLoggerException.
366 2006-12-16 Marek Sieradzki <marek.sieradzki@gmail.com>
368 * Parameters.cs (ProcessProperty): Use SetProperty () not
371 2006-12-12 Marek Sieradzki <marek.sieradzki@gmail.com>
373 * xbuild/Microsoft.Common.targets: Added.
375 * xbuild/Microsoft.CSharp.targets: Move common part to
376 Microsoft.Common.targets.
378 2006-12-11 Marek Sieradzki <marek.sieradzki@gmail.com>
380 * xbuild/Microsoft.Common.tasks: Fix a typo (GetFrameworkPath).
382 2006-10-10 Marek Sieradzki <marek.sieradzki@gmail.com>
384 * xbuild/Microsoft.CSharp.targets: Added empty SearchPaths to Csc.
386 2006-10-08 Marek Sieradzki <marek.sieradzki@gmail.com>
388 * xbuild/Microsoft.CSharp.targets: Added parameters that should be
391 2006-10-05 Marek Sieradzki <marek.sieradzki@gmail.com>
393 * xbuild/Microsoft.CSharp.targets: Make $(OutputPath) directory before
394 compiling and put output in this directory.
396 2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
398 * xbuild/Microsoft.CSharp.targets: Use new ResolveAssemblyReference
400 * xbuild/Microsoft.Common.tasks: Add new task (RAR).
402 2006-09-30 Marek Sieradzki <marek.sieradzki@gmail.com>
404 * xbuild/Microsoft.CSharp.targets: Set AllowUnsafeBlocks to false when it's
407 2006-09-29 Todd Berman <tberman@off.net>
409 * xbuild/Microsoft.CSharp.targets: Copy over the AllowUnsafeBlocks
412 2006-09-21 Marek Sieradzki <marek.sieradzki@gmail.com>
414 * xbuild/Microsoft.CSharp.targets: Simplify: use PropertyGroups
415 instead of Targets to set properties needed by Csc task.
417 2006-09-20 Marek Sieradzki <marek.sieradzki@gmail.com>
419 * Makefile: Fix broken build.
421 2006-09-20 Marek Sieradzki <marek.sieradzki@gmail.com>
423 * xbuild/Microsoft.CSharp.targets: Support AssemblyName and
426 2006-09-20 Marek Sieradzki <marek.sieradzki@gmail.com>
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
433 2006-06-25 Marek Sieradzki <marek.sieradzki@gmail.com>
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.
439 2006-06-22 Marek Sieradzki <marek.sieradzki@gmail.com>
442 * xbuild/Microsoft.CSharp.Targets: Added hacky implementation of this
445 2006-05-22 Marek Sieradzki <marek.sieradzki@gmail.com>
447 * Main.cs: Patch from Matthew Metnetsky.
449 2006-04-19 Marek Sieradzki <marek.sieradzki@gmail.com>
451 * XBuild.targets: Removed.
452 * xbuild/Microsoft.Build.xsd: Changed path separator.
454 2006-04-08 Marek Sieradzki <marek.sieradzki@gmail.com>
456 * Makefile, xbuild/MSBuild/Microsoft.Build.CommonTypes.xsd: Changed
457 name of Microsoft.Build.Commontypes.xsd to
458 Microsoft.Build.CommonTypes.xsd.
460 2006-04-07 Marek Sieradzki <marek.sieradzki@gmail.com>
462 * Makefile: Changed installation directory of schema files.
464 2006-03-11 Marek Sieradzki <marek.sieradzki@gmail.com>
466 * Main.cs: Updated for new API.
468 2005-12-14 Wade Berrier <wberrier@novell.com>
470 * Makefile: Add missing EXTRA_DISTFILES in order to 'make install'
472 2005-11-05 Kornél Pál <kornelpal@hotmail.com>
474 * AssemblyInfo.cs: Use Consts.MonoVersion as AssemblyVersion.
476 2005-09-22 Marek Sieradzki <marek.sieradzki@gmail.com>
478 * Main.cs: Changed binPath to directory where all files are stored.
479 * Makefile: Added installing of additional files.
481 2005-09-21 Marek Sieradzki <marek.sieradzki@gmail.com>
483 * LoggerInfo.cs: Changed public to internal.
484 * xbuild.exe.sources: Added reference to AssemblyLoadInfo.
486 2005-09-21 Marek Sieradzki <marek.sieradzki@gmail.com>
488 * Microsoft.Common.tasks, xbuild.rsp, Microsoft.Build.xsd, MSBuild:
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
495 2005-09-11 Marek Sieradzki <marek.sieradzki@gmail.com>
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
504 2005-09-09 Marek Sieradzki <marek.sieradzki@gmail.com>
506 * Main.cs: FxVersion.
507 * Makefile: Fixed Microsoft.Build.Utilities.dll name.
509 2005-09-05 Marek Sieradzki <marek.sieradzki@gmail.com>
511 * Microsoft.Build.xsd, MSBuild/Microsoft.Build.Core.xsd,
512 Microsoft.Build.Commontypes.xsd: Added schema files.
514 2005-08-30 Marek Sieradzki <marek.sieradzki@gmail.com>
516 * Main.cs, Parameters.cs: Added default target(s) handling.
518 2005-08-29 Marek Sieradzki <marek.sieradzki@gmail.com>
520 * LoggerInfo.cs: Removed AssemblyLoadInfo property, changed to inherit
522 * XBuild.targets: Updated.
523 * Parameters.cs: Removed debugging info and removed line producing
525 * Main.cs: Added check if engine is null.
527 2005-08-24 Marek Sieradzki <marek.sieradzki@gmail.com>
529 * Parameters.cs, Main.cs: Changed paths to absolute paths. They should be
530 separated to .in file probably when moving to autotools.
532 2005-08-12 Marek Sieradzki <marek.sieradzki@gmail.com>
534 * CommandLineException.cs, LoggerInfo.cs, Main.cs, Parameters.cs: