Skip to content

Commit

Permalink
(cake-buildGH-1796) Obsolete DotNet aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorkstromm committed Dec 17, 2017
1 parent e6452fb commit fb2a561
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Cake.Common/Tools/DotNetBuildAliases.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public static class DotNetBuildAliases
/// <param name="context">The context.</param>
/// <param name="solution">The solution.</param>
[CakeMethodAlias]
[Obsolete("Use MSBuild or XBuild instead.")]
public static void DotNetBuild(this ICakeContext context, FilePath solution)
{
DotNetBuild(context, solution, settings => { });
Expand All @@ -49,6 +50,7 @@ public static void DotNetBuild(this ICakeContext context, FilePath solution)
/// <param name="solution">The solution.</param>
/// <param name="configurator">The configurator.</param>
[CakeMethodAlias]
[Obsolete("Use MSBuild or XBuild instead.")]
public static void DotNetBuild(this ICakeContext context, FilePath solution, Action<DotNetBuildSettings> configurator)
{
if (context == null)
Expand Down

0 comments on commit fb2a561

Please sign in to comment.