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 authored and devlead committed Dec 18, 2017
1 parent bd3eae6 commit 48d28cf
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 48d28cf

Please sign in to comment.