Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Charm Tasker

Charm Tasker

Davide Ciarmiello

|
31 installs
| (0) | Free
Tools for automate operations on Visual Studio events

This is the first build, If there are any problems, contact me.

Tools for execute operations on Visual Studio command events and document events with a configuration GUI.

Triggers avaiables:

  • [Document] Opened
  • [Document] Closing
  • [Document] Saved -. [Command] Before Execute
  • [Command] After Execute
  • [Solution] Changed Active Configuration

Operations avaiables:

  • Remove File: allow to remove a files (by search patterns) from solution. There are several string match mode, with RegEx. I have used it to remove *.datasource files, generate automatically from Wcf ServiceReference.
  • Nuget Powershell Script: Execute a powershell script in a nuget console manager!!! There are several variables that we can include in script. Now i can execute a script in nuget console, with auto interaction with dte2.
  • ExecuteCommand: Execute a visual studio command, with a command name and a command arguments.
  • Start Process: Execute a Process Exe, with support of Output Window and variables usage.

After loaded solution, in tools menu bar you have access at Configuration GUI: p1.png

This is the GUI: image__10.png

At first save, it create a save configuration file, and add it at solution. Press the Save button to made modification effective.

You can Add/delete nodes with mouse right button:

image__1.png

This is an example with different tasks, with different triggers and operations: image__3.png

If in general section, you enable Debug Events, extension write in output window all command events, then you can find the Command Guid and Command Id desidered, to use in a Command trigger :)

image__4.png

In this case, i have operation cmd.exe executed after save all command :)

If i would execute a operation on Solution Active Configuration Switch, i click on it and view a debug output.

The output is this:

image__5.png

than, i create a trigger for operation with custom command, as this:

image__6.png

and this is the output when i switch configuration :)

image__7.png

You can execute in in a powershell nuget console, as this configuration:

image__8.png

and this is the output:

image__9.png

If this tool help you, please leave feedback for me :)

** PLEASE: Sorry for my english :) **

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft