madskristensen / WebEssentials2017

A Visual Studio extension
Other
90 stars 17 forks source link

Feature request: task runner for csproj/msbuild #17

Open grokky1 opened 7 years ago

grokky1 commented 7 years ago

@madskristensen Didn't know where else to put this, sorry...

You've written many VS task runners. Now we're back to csproj, so maybe we need a csproj task runner?

Something very simple:

If the solution has multiple projects, then list looks like this:

What do you think? This task runner is really needed for VS2017.

madskristensen commented 7 years ago

It's on my backlog and has been for a very long time. Issue is that the Task Runner Explorer API requires me to know the .csproj file name in advance and not just its file extension

grokky1 commented 7 years ago

Do you mean that you want to use the "Task Runner Explorer" extension as the base for the new runner extension? If so please consider showing the results in the output window, more friendly that way (see comments above).

Maybe it's possible to scan two directories deep inside the solution directory for csproj files. Many modern solutions are structured that way according to Microsoft's recommendations:

SolutionFoo\
  .vs
  src\
    ProjectA\
        ProjectA.csproj
    ProjectB\
        ProjectB.csproj
  test\
    ProjectATests\
        ProjectATests.csproj
    ProjectBTests\
        ProjectBTests.csproj
  SolutionFoo.sln