I'm just getting started in Visual Studio 2010 and I'm coming from Delphi 7.
In Visual Studio 2010, what is the equivalent to Delphi's Object TreeView?
Or to ask it another way, in Visual Studio 2010, during WinForm Gui development, how do you navigate your Gui hierarchically? If I have, say, a bunch of Panels with some of them inside of others and some Docked to Client, how can I directly select a specific Panel?
There's something similar called Document outline, you can get it from
View Menu > Other Windows > Document Outline
Related
I've used lots of other versions of Visual Studio. Currently, I work with Visual Studio 2019.
I always PIN the Solution Explorer window open, like so:
However, whenever I re-open a solution or after debugging a solution, the Solution Explorer window is always closed, like shown below:
Why does my Solution Explorer window keep closing, and how to I stop this behavior?
Following the suggestion by dxiv in a comment, I solved this by the Visual Studio 2019 menu:
Help
Visual Studio Performance Manager
Tool Windows
Disable Auto Hide
After I disabled Auto Hide, it no longer appears in the dialog box on my PC.
I have installed Visual Studio 2019 to do some testing on our code base ready for migrating from Visual Studio 2017, I am also testing to ensure it plays nicely with our TFS system (currently TFS 2018 on premises).
It looks as though the Visual Studio Work Item Form is back! (VS 2017 dropped support for this in favour of opening Work Items in a web browser). I've not managed to find any information on this. I like the fact that we might have the option to work with Work Items in the VS IDE as well as the web browser, however its return introduces a few issues:
We use a custom MultiValue control that does have support for the VS 2019 Team Explorer (it last worked in VS 2015). Do you know where I can get hold of a MultiValue control that will work on the Work Item form in the VS 2019 Team Explorer?
Given that the MultiValue control isn't working I would like to continue working with Work Items in a browser. The VS 2019 Team Explorer seems to favour opening Work Items within the IDE, how can I open them in a browser from within the VS 2019 Team Explorer? Better still, how can I configure it to open in a browser by default?
Is there a better place for me to ask these questions?
Work Items should default to opening in the web in Visual Studio 2019. That behavior has not changed from Visual Studio 2017.
There is an option under "Tools->Options->Work Items" to enable the "Legacy experience (compatibility mode)". It sounds like that option has somehow gotten enabled in your installation. If you switch that back to "Default experience", work items should open in the web.
Hope this helps.
Sorry for the inconvenience. This is a designed behavior right now.
Please take a look at this similar issue: TFS work items opened inside Visual Study no longer open in the web browser, they always open in the Visual Studio editor
According to the response from MSFT:
We have re-design the default landing page for work items in Visual
Studio 2019 which only works with server >= 2019. If server is <
2019, work items will be open in Visual Studio only.
Since you are using TFS 2018 with VS2019, you may have to open work item in web portal from browser directly right now. Otherwise, you have to upgrade your TFS version from 2018 to Azure DevOps 2019, if you insist on opening the work item in Visual Studio.
How can I find usages of single let's say editor template in Visual studio? Or maybe in other direction how can I goto template which is rendered with EditorFor?
There is one workaround/help. If you have Visual Studio 2013 and Web Essentials installed you can CTRL+click anywhere on the page and the menu like this pops up.
If you click Inspect you can click on any element on page and then you cursor in Visual Studio moves to corresponding View/PartialView/DisplayTemplate/...
Mads Kristensen post on Web essentials 2013
I remember a window in Visual Studio 2010 where I could see all of the sql calls made on runtime in my ASP.NET MVC project. I don't remember the window name and I cannot find it. Does anybody know/remember this?
Are you referring to the IntelliTrace window?
I'm helping develop a MVC application in Visual Studio 2008 using the Entity Model Framework. I've gotten the code from the source control and I'm wanting to add some new Models from the edmx file. I right click and then click "Custom Tool" but then I get the following error.
Cannot find custom tool 'EntityModelCodeGenerator' on this system.
I have Visual Studio 2008, .NET 3.5 SP1, MVC 1.0.
What am I missing?
Thanks in advance.
You need VS2008 SP1.
In case you are using Visual Studio 2019:
Open the Visual Studio Installer by clicking menu Tools -> Get Tools and Features in Visual Studio
Click the tab Individual components and search for "entity",
Under the header SDKs, libraries, and frameworks you should see Entity Framework 6 tools
Click the checkbox and press the install button