Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Terminal opens in Solution, not Project #61

Open
RedWingBB opened this issue Sep 14, 2018 · 5 comments
Open

Terminal opens in Solution, not Project #61

RedWingBB opened this issue Sep 14, 2018 · 5 comments

Comments

@RedWingBB
Copy link

Visual Studio Pro
When the terminal opens its in the Solution folder, not the Project folder
Tried adding a startup command
cd $(ProjectDir)
But that did not work

@ZoeyR
Copy link
Contributor

ZoeyR commented Sep 15, 2018

I don't think there is a good way to open up in a project folder. Many solutions will have multiple projects and there is no clear choice of a best project. If you have an idea on how to choose let me know!

@nitimmerman
Copy link

Would the start-up project not be a good option? It would be really helpful to be able to control the directory. I saw that for the relative clickable links you rely on the solutiondir as well, however this doesn't work for me, because webpack runs in a subdirectory of the solutiondir so I can't click on links to navigate to a file with an error.

@ZoeyR
Copy link
Contributor

ZoeyR commented Oct 15, 2018

That may be one option. I'll have to see what APIs are available to get the startup project. @nitimmerman is your webpack project an actual solution with project files or is it an open folder situation?

@nitimmerman
Copy link

Hi @dgriffen,
Thanks for looking into this. Actually the project where we are using webpack in, is part of a bigger solution containing different projects like some class librararies, a windows service, a database project and multiple web projects. So in our set-up there's even one extra folder between the folder where the solution lives and the folder where the web project file and the webpack.config file are living. However the last two are in the same folder so being able to set this folder as startup path would sort it for us.

@iwhp
Copy link

iwhp commented Feb 16, 2019

WhackWhackTerminal could look at the current selected project in solution explorer, even at the current selected folder and open that path.
If Visual Studio starts and WhackWhackTerminal is initialized, it could just look at the startup project (as mentioned before), or even better, it could look at a configuration file, and open the previous opened terminal for the solution.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants