VS 2010 Extensions -- Missing Structure Adornment & AllMargins plugins - visual-studio

I am rebuilding my DEV image and I am no longer able to find neither of these two great plugins on the VS Extensions Gallery: Structure Adornment, AllMargins
Any ideas where did they go? Are there any replacements I can use? In the worst case, is it possible to extract Structure Adornment from my VS 2010 in my older image and install it into the new image?
Can't even imagine to go through thousands of lines of code without the nice vertical lines!

I uninstalled AllMargins after installing the Productivity Power Tools, but then realized there were some features of AllMargins that I liked better. This led me on a hunt to find it again. I had long since deleted my downloaded copy, and the official install has been removed from the VisualStudio Addons list.
However, I did find the source code still listed in Microsoft's archives, here:http://archive.msdn.microsoft.com/OverviewMargin/Release/ProjectReleases.aspx
The file download is named "OverviewMargin.zip" on the page, but the actual file it links to is "AllMargins.zip", which contains all the source code. It shouldn't be too hard to build and install it from there.
Also, if you plan on trying to build it from source, you have to have the VisualStudio 2010 SDK installed first.
Finally, there is this old blog post on how to configure AllMargins in the registry.
Edit:
I also updated this plugin to work with VisualStudio 2012, and renamed it to "OverviewMargin2012" : AllMargins / OverviewMargin extension updated to VisualStudio 2012

A bit late to the party but since my Google search for AllMargins resulted in this page I figured I would update. Someone updated AllMargins to work with VS2012.
AllMargins 2012 # Visual Studio Gallery.
It still works with VS 2010:

According to this blog post, AllMargins seems to have been superseded by Microsoft's own Productivity Power Tools. Commenters have pointed out that this is not the case.
However, the free version of CodeRush (CodeRush XPress) includes various navigation features including structural highlighting (which I think is equivalent to structure adornment). Note that, despite the name, this extension requires a full (not Express) version of Visual Studio.

Related

Visual Studio 2017 add item cross-platform missing

I have installed Visual Studio 2017 to follow along with online training for Xamarin created in May. They instructed us to add a new item and then selected Cross-Platform.
I did not have Cross-Platform as an option. I found a post for an older version of Visual Studio where they showed how to add it manually. I did this and it created the Cross-Platform item but this only contained four options instead of the ten in the video.
Has this been taken away in a newer release or do I need to do something to add all the items?
Many thanks
I have finally found a solution. I used the Visual Studio uninstaller to uninstall Mobile Development with .Net, rebooted and then installed it again. Works like a charm. There must have been old versions that were not getting updated or something was corrupt. Hope this helps someone.

Any quick ways to downgrade Visual Studio Ultimate/Enterprise edition to Professional?

I have Visual Studio Ultimate/Enterprise installed from a previous engagement. I've now started at a new place who only have licenses form VS Professional. So I need to downgrade but the supported route involves full uninstall and full reinstall which is obviously rather time consuming.
Are there any "clever" (probably unsupported) ways to do the downgrade?
It is not possible to downgrade an installation, as they are different products and can exist side by side. The components downloaded and installed for each product are different.
If you had previously installed VS Pro, as I had, you might be able to go to "Add/Remove Programs" and select "Microsoft Visual Studio Enterprise with Updates." Modify->Uninstall worked perfectly for me. Be sure to backup any settings, as some of mine got reset. My extensions stayed the same, though. To be clear, I had VS Pro first, and I installed Enterprise Evaluation side-by-side with it.
I'm in a similar situation, unfortunately there's no supported option besides the uninstall/reinstall route you've already mentioned. You could probably save some time by backing up all your extensions and settings etc. The processes outlined below might be different for more recent versions but I think the process would be similar
Backup and restore settings
Backup and restore extensions
Edit:
This is pretty weird, I'm starting to think that perhaps Drunken Code Monkey's solution is more accurate than I initially thought. I was expecting to have to follow the same process as Schneider described (uninstall / full reinstall), but as soon as the uninstall of VS Enterprise finished, I was able to open VS Pro as normal.
Edit 2:
Turns out it was not as normal, a bunch of things didn't work (creating ASP.NET MVC projects) and I had to do a repair. Not quite as bad as a full reinstall, fortunately.
Just had to do this. You must first uninstall the enterprise edition. Visual Stuido Installer will complete the uninstall and when it's finished will prompt if you'd like to install a different version, such as Community.
Down Grade visual studio from enterprise to Professional
we can download separate professional version of Visual studio EXE.
Professional and enterprise run side by side in our machine but need separate 2 license for those 2.
if you want to downgrade you visual studio from Enterprise to professional just need to install EXe using below link
https://my.visualstudio.com/downloads?pid=2234.

Visual Studio Find All Not Referenced

In Visual Studio is there an automatic way to search over file(s) and find all classes/properties/methods that aren't referenced. Essentially abandoned code.
I don't want to manually have to right click on each and select "Find All References"
This is not a feature of Visual Studio in the current version. Using Roslyn you could code and Inspector yourself, but Roslyn doesn't offer one out of the box either at the moment. The walk-through on Semantic analysis should get you started. The roslyn forum is a good place to seek help or find examples, and there's a well monitored tag on StackOverflow as well of course.
Productivity plugins like Resharper and Code Rush offer this for sure. There are other similar tools that might have this feature JustCode, VisualAssist, CodeItRight are likely candidates.
You can also use something like Visual NDepend to detect unused methods. Their new command Linq to Code features should make it relatively easy to build a commandline tool that fishes out all unused calls.
A bit late but if you install SSDT (Sql Server Data Tools) this also add grayed reference count to each method in visual studio.
Note: This is actually "code lens" which is no longer available for VS2015. Installing the SSDT is the way you can have "code lens" in VS2015.

Using Visual Studio with TWL/Nitro SDK

Is there any way I can use Nintendo TWL or Nitro SDK on Visual Studio, along with their IS-NITRO-DEBUGGER? I know there're some workaround, since I heard people using Visual Studio to work on DS/DSi games. I don't want to use CodeWarrior for this.
PS: I have Visual Studio 2010 and 2012 express edition.
It should be pretty easy, I wrote a little wizard that creates projects for use on the devkitPro toolchain (supports the DS among others) that could probably be modified for use with the official devkit. VS 10 is a bit more friendly with this sort of setup but it works on VS12 as well.
http://pern.drunkencoders.com/
The wizard is here and you will have to install it then open and edit the javascript files...no access to the official devkit so can't comment on how much of an undertaking this might be.
You may simply be able to edit the libnds template makefiles to point at the official toolchain and the wizard will just work as is (other than having to create a debug association).
There are also some good debugging tools if the toolchain that is based on gcc that will let you debug directly in visual studio with memory watches and custom viewers.

MSDN Library download?

I spend a lot of time offline, and while normally I'm in the middle of some book or magazine for work, I've recently been reading through the MSDN Library documentation of Visual Studio 2010 Application Lifecycle Management (aka TFS 2010).
Unfortunately, this documentation doesn't seem to be included on either the Vs2010 nor the VsAlm2010 installation media anymore, and I can't find any downloads for it...does it simply not exist except in online form?
I'd find it hard to believe that the only way to get at this documentation would be to hit a website for every request. What am I missing?
Wow - I'm a little surprised. Even on the MSDN Subscriber download site, the MSDN library downloads only go up to 2007.
But, you can tell the VS 2010 installation to install the content locally.
Go to "Help|Manage Help Settings" and under "Choose online or local help" select "I want to use local help".
You can also use the Help Manager to install online help updates locally. This might get the specific docs you're looking for (TFS ALM) pulled down - I'm not sure, but might be worth a try.
Related: Download Windows API reference (MSDN) for offline use
Install Zeal and add MSDN docset feed - this will give you rather a huge (it contains 41'181 method, for example) flat list of methods, constants, classes etc, not something as nicely laid out as MSDN site, but the search is lightning fast. Download size is ~3'400Mb;
or
Use VSHD to download offline help files for Visual Studio Help Viewer (applicable for VS 2012+) - this offers you the pleasure of leaving VS itself firewalled as it honestly should be. Download size varies.
https://www.microsoft.com/en-us/download/details.aspx?id=34794
This download includes an ISO image file of the Visual Studio and .NET Framework documentation—overviews, how-to articles, API reference pages, sample code, and more—to help you in your development efforts.
Version:
See file name.
File Name:
VS2012Documentation.iso
VS2013Documentation.iso
Date Published:
6/10/2014
File Size:
2.7 GB
4.0 GB
If you have installed Visual Studio completely, you will find it locally. Goto Help > View Help or Press 'Ctrl + F1'

Resources