Git Product home page Git Product logo

gitextensions.solutionrunner's Introduction

GitExtensions.SolutionRunner

A Visual Studio solution runner plugin for Git Extensions

Preview

gitextensions.solutionrunner's People

Contributors

angiekadnar avatar ievin avatar maraf avatar mistikus avatar pmiossec avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

gitextensions.solutionrunner's Issues

Optimize search time

Optimize search time with configuration to search in top level only and if, add menu item "search whole tree".

VS2022 does not open solutions with whitespace in file path

Versions:

  • GitExtensions.SolutionRunner 7.1.0
  • Git Extensions 4.2.1.17611
  • Visual Studio 2022 17.9.6

When the path to the .sln file contains whitespace (e.g., C:\MyCode\My Solution Directory\MySolution.sln), Visual Studio 2022 displays an error window instead of opening the file.

Whitespace in directory:
image

Whitespace in file name:
image

Plugin not working - Error in newest GitExtension Version (v4)

I installed the latest version of GitExtension yesterday (V4). Unfortunately an error is thrown as soon as I clicked the dropdown from SolutionRunner Plugin.

Installed GitExtension Version:
https://github.com/gitextensions/gitextensions/releases/tag/v4

Error Scenario:
SolutionRunner_GitExtensionV4_Error

Error Detail:

  • Git Extensions 4.0.0.15569
  • Build cba315df5366fca01240d93b6e5a5077fd5e6630
  • Git 2.38.1.windows.1
  • Microsoft Windows NT 10.0.19042.0
  • .NET 6.0.10
  • DPI 96dpi (no scaling)
System.MissingMethodException: Method not found: '!!0 GitUIPluginInterfaces.ISettingsSource.GetValue(System.String, !!0, System.Func`2<System.String,!!0>)'.
   at GitExtensions.SolutionRunner.PluginSettings.get_IsTopLevelSearchedOnly()
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.OnDropDownOpening(Object sender, EventArgs e) in D:\Development\Maraf\GitExtensions.SolutionRunner\src\GitExtensions.SolutionRunner\UI\SolutionListMenuItem.cs:line 40
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

image
image
image

Feature Request: VSCode workspaces

It would be great if this plugin also could run *.code-workspace files using VSCode (or default program), maybe optional, according plugin settings...
This files are VSCode solution analogue.

For now, I'm using hotkey Ctrl+O to open this files, but to open i has to locate file manually...

*I've created PR: #21

Optimize loading time

The loading time can be quite long for a large project (~2-3 sec). To reduce this I suggest:

  1. Use git index instead of directy searching for sln files in file system.
    For example: git ls-files -cmo | grep \.sln$ or filter this on C# code.

  2. Cache the previous result and update it in the background.

Feature Request: Run as Administrator

There are cases where a Solution must be opened as an Administrator in order to debug.
Examples include Projects that require Azure Service Fabric or Azure Storage/Compute Emulator.

Crush after update to GitEx v4.2

After update, menu crushes with error:

System.MissingMethodException: Method not found: 'GitUIPluginInterfaces.IProcess GitUIPluginInterfaces.IExecutable.Start(GitCommands.ArgumentString, Boolean, Boolean, Boolean, System.Text.Encoding)'.
   at GitExtensions.SolutionRunner.Services.GitSolutionFileProvider.<GetListAsync>d__3.MoveNext()
   at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1.Start[TStateMachine](TStateMachine& stateMachine)
   at GitExtensions.SolutionRunner.Services.GitSolutionFileProvider.GetListAsync(Boolean isTopLevelSearchOnly, Boolean includeWorkspaces)
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.<>c__DisplayClass4_0.<<CreateBundleItemsAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.<CreateBundleItemsAsync>d__4.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.<OnDropDownOpening>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

Current version - 6.0.2

Plugin crashes by click on dropdown after GitExtension update 4.2.0.17591

System.MissingMethodException: Method not found: 'GitUIPluginInterfaces.IProcess GitUIPluginInterfaces.IExecutable.Start(GitExtUtils.ArgumentString, Boolean, Boolean, Boolean, System.Text.Encoding, Boolean, Boolean)'.
   at GitExtensions.SolutionRunner.Services.GitSolutionFileProvider.GetListAsync(Boolean isTopLevelSearchOnly, Boolean includeWorkspaces)
   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
   at GitExtensions.SolutionRunner.Services.GitSolutionFileProvider.GetListAsync(Boolean isTopLevelSearchOnly, Boolean includeWorkspaces)
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.<>c__DisplayClass4_0.<<CreateBundleItemsAsync>b__0>d.MoveNext() in D:\Development\Maraf\GitExtensions.SolutionRunner\src\GitExtensions.SolutionRunner\UI\SolutionListMenuItem.cs:line 65
--- End of stack trace from previous location ---
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.CreateBundleItemsAsync(Boolean isTopLevelSearchedOnly, Boolean includeWorkspaces, HashSet`1 solutions) in D:\Development\Maraf\GitExtensions.SolutionRunner\src\GitExtensions.SolutionRunner\UI\SolutionListMenuItem.cs:line 61
   at GitExtensions.SolutionRunner.UI.SolutionListMenuItem.OnDropDownOpening(Object sender, EventArgs e) in D:\Development\Maraf\GitExtensions.SolutionRunner\src\GitExtensions.SolutionRunner\UI\SolutionListMenuItem.cs:line 37
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)

Error happens when you click on the dropdown of SolutionRunner

image

  • Git Extensions 4.2.0.17591
  • Build bf814d4f1c6f178eacef38d592b700f9f2519dcb
  • Git 2.42.0.windows.1
  • Microsoft Windows NT 10.0.19042.0
  • .NET 6.0.24
  • DPI 96dpi (no scaling)
  • Portable: False
  • Microsoft.WindowsDesktop.App Versions

Crash on GitEx v3.5

After update to GitExtensions v3.5, hover on SolutionRunner menu crashes the app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.