Skip to content
This repository has been archived by the owner on Jan 11, 2024. It is now read-only.

Commit

Permalink
Add a LaunchDebugger task
Browse files Browse the repository at this point in the history
  • Loading branch information
dagood committed Dec 21, 2017
1 parent 79e2b44 commit fef5345
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/Microsoft.DotNet.Build.Tasks/LaunchDebugger.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

using Microsoft.Build.Utilities;
using System.Diagnostics;

namespace Microsoft.DotNet.Build.Tasks
{
public class LaunchDebugger : Task
{
public override bool Execute()
{
Debugger.Launch();
return true;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
<Compile Include="GetTargetMachineInfo.cs" />
<Compile Include="GetNetCoreAppVersionsFromFile.cs" />
<Compile Include="InstallPackageFromFile.cs" />
<Compile Include="LaunchDebugger.cs" />
<Compile Include="LocatePreviousContract.cs" />
<Compile Include="NormalizePaths.cs" />
<Compile Include="NormalizeAssemblyName.cs" />
Expand Down

0 comments on commit fef5345

Please sign in to comment.