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 CRuppert committed Jan 23, 2018
1 parent e880e9c commit b335342
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 b335342

Please sign in to comment.