Visual Studio for Mac - find out components versions in Terminal - xamarin

There is a cool GUI solution, like About Visual Studio > Show Details.
But is there any chance I can get the same output from CLI?
Thanks!

Terminal window is not a part of the built-in tools within Visual Studio for Mac. There might be some add-ins or extension for this, but I am not aware.
Here is an VS fro Mac add-in that allows you to open a terminal window and you can do something with CLI.
In addition , Team Foundation Version Control will use GUI Git tool , you can have a look at it .

Thanks, finally I asked the question on relevant MS site and received an answer that there is no such thing.
Meanwhile, I was able to find two similar questions and answers here on SO (which I missed earlier, likely due to different query phrasing, even though I tried many times).
Here they are:
https://stackoverflow.com/a/54393403/2518705
https://stackoverflow.com/a/47096260/2518705
Also note my comments to both of them.

Related

Documentation for all possible Visual Studio keyboard commands

The options window
I am interested in finding explanation for this entire list here.
All the searching on the Internet gets me to the popular commands, I want to see what all of them do.
You seem to be looking for microsoft visual studio documentation:
https://learn.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?source=recommendations&view=vs-2022

Could not start visual basic

When I try to start my visual basic to open a project it doesnt seem to be working and keep prompting a error 'VB6EXT.OLB' could not be register. What does that mean? Need helps on this matter, thanks
Just Right Click on VB6.exe and CLick On Run As Administrator..
Hope It works
VBE6EXT.OLB is the Visual Basic for Applications Extensibility Library. That filename seems to indicate that you're dealing with version 5.3, which apparently shipped with Microsoft Office 2000. It would seem your VB6 project is an Office Automation project then?
Google turns up the following links, which may be helpful:
BUG: Interface methods in the VBA Extensibility Library (VBE) are changed
PRB: Visual Studio Setup program may include Office OLB files in setup list
Neither seems to directly answer your question, but they seem like a good place to start.
Since Visual Basic 6 (and Microsoft Office 2000 as well) hit end-of-life well before Windows Vista was released, there may be a fundamental conflict between them. You might be better off trying to develop your application on an older version of Windows.
This just happened to me (literally seconds ago) and I came HERE first stop.
I was looking for THE answer. As it happened, MS-Office 2010 offered to repair the problem...
... and, skeptically, I accepted.
To my astonishment I was soon greeted by my FAVOURITE splash screen in the world - I've got my Rubberduck
Anyway, I'm relieved the Auto Fix worked...

Best VS2010 Extensions [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What are in your opinion the "must have" Visual Studio 2010 extensions?
OData Protocol Visualizer is fine
Solid Softfare Xplorer isn't free, but looks very nice
Just tried NuGet Tools and it's GREAT
Resharper 5.0 is the one I must have. Some others are nice to have as well.
I like the Visual Studio 2010 Pro Power Tools.
Mine are
PowerCommands for Visual Studio 2010 offer so much...
Triple Click - Select line with Triple Click
StructureAdornment - Show scope of code
Go To Definition And Them Editor - As mentioned by Noah
Matt's Visual Studio Color Theme Editor is proving to be really popular (over 10,000 downloads as of 4/18/10).
I've written a couple that are popular; Go To Definition is one of the most popular. If you do a search for my name ("Noah Richards"), you'll find some of the others (triple click to select whole lines, italicize comments, spell checking for strings and comments, and about 7 others).
There's at least one other spell check extension on the gallery, the HTML Spell Checker. It's more mature than the one I wrote but requires Office to work.
I love the Win7 Taskbar Extension, especiall when working with multiple solutions.
http://visualstudiogallery.msdn.microsoft.com/en-us/0c92dd87-50ac-489e-882b-b99de7624502
I have found the snippets to be useful for various tasks along the way, and so this is a good way to smooth out the maintenance of such snippets:
Snippet Designer
Description Adapted from the website:
A Snippet editor integrated inside of the IDE.
Opening any .snippet file
Uses the native Visual Studio code editor
Mark replacements with a convenient right click menu.
Snippet properties inside the Visual Studio properties window.
A Snippet Explorer tool
A right Click "Export as Snippet" menu option added to C#, VB and XML code editor to send highlighted code directly to the Snippet Editor
When using SVN
Visual SVN
saves a lot of time and it is very handy.
Can I put a plug in for my own extension? :)
PowerGUI Visual Studio Extension - Add PowerShell support to VS2010
I use these extensions:
Productivity Power Tools
Autoscroller
The first one has a lot of options, just enable the options you like. I liked the 'close selected tab' icon on the right corner in Visual studio 2008. You can enable that icon again with this extension. I also like the option to 'pin' tabs.
The autoscroller enables the scrolling in the main window, its also called 'middle-click scrolling'. I missed taht from VS 2008 as well.
Microsoft Silverlight 4 Tools for Visual Studio 2010 is a must have for WPF developers.
http://www.microsoft.com/downloads/details.aspx?FamilyID=eff8a0da-0a4d-48e8-8366-6ddf2ecad801&displaylang=en
Refactor is a must-have for me. CodeRush is also nice, though one of these years I need to seriously compare it to Resharper. I think most people stick with whichever they first use, as they both take a lot of time to learn.
http://www.devexpress.com/Downloads/Visual_Studio_Add-in/
Update
As pointed out below by Jonathan Allen, this functionality already exists in Visual Studio 2010 Pro Power Tools. Adding this extension, then, would be redundant if you already have that.
There are many ways to solve the posting of formatted code, but I liked the integrated nature of this extension and how you can tweak the resulting HTML:
Code4Blog
Description From Linked Page:
Code4Blog is a Visual Studio 2010 extension that allows to convert any code supported by Visual Studio IDE to HTML format with the same structure and colors. Main purpose of this extension is to prepare a code snippet to be published in rich documents, for example in blog posts, Microsoft Word documents or Help files. Some additional styling could be applied: max width and height of the code block, custom background (per code line), font family and font size, line numbering and others.
I'm using Visual Nunit which is rather nice if you don't have the money to stump up for something like ReSharper. It's only feature (as far as I'm aware) is to allow running nunit tests from within the IDE, which is nice becuase it means you don't have to revert to Nunit GUI every time you want to run some of your unit tests. Also seems pretty stable as of version 1.1.7.
I find the following useful
If you use TFS for ALM Management
Search Work Items for TFS 2010
VS10x Code Map is great for visually navigating classes
SpecFlow for mapping User Stories/Features to automated tests in a way that is readable by steak holders or team members without coding knowledge (Behaviour Driven Development)
And a Spell Checker for strings/comments is always good
I'm also going to plug my own extension - VSFileNav used for quickly finding a file in your solution using wildcards, camel case searches etc.
I developed it because there wasn't anything free (and good - SonicFileFinder was too slow) and used it many times every day.

What do you use to develop for PowerShell?

I don't see a Visual Studio plugin for it (although I didn't look that hard, so I might have missed it), and searches turn up random third-party solutions, but is there something that comes with PowerShell or something that plugs into Visual Studio?
Visual Studio templates are available here. And there are samples in the Server 2008 SDK for developing providers and hosts.
If you are talking about an IDE for scripting, see this question (How to Get Started with PowerShell)
I mostly use PowerGui Script Editor. It allows me to use multi-file editing and debugging as well as straight command-line stuff.
PowerShell v2 CTP has a nice GUI interface which includes the ability to run multiple runspaces, and edit and run scripts. The script editor has syntax highlighting which is very helpful. PSH v2 also has other useful features such as script cmdlets. It's very cool. PowerGUI is supposed to be pretty neat too although I haven't personally used it. Before PSH v2 thhough, I used to use Textpad with a syntax file that was created for the pre-release version of PowerShell - Monad.
Have you seen powershell.com which has a couple of excited reviews.
The beauty of PS is the command line. To be honest with you, I do the vast majority of my development at the command line. With the PowerTab snapin from //\O//, I have as good intellisense as I have found in any IDE for PS. Once I have all the parts worked out at the command line then I use VIM to put it all into a script.
PrimalScript by Sapien is good. It's pay though.
Depends on what you mean by "develop."
PowerShell can be used quite effectively from the command line without scripting. However, if you do get into scripting, products include PowerShell Plus, PrimalScript, and PowerGUI.
If you're developing cmdlets and snap-ins, Visual Studio doesn't require any plug-ins, although you do need the reference assemblies available in the Windows SDK.
Visual Studio has no plans to host PowerShell as a script editor - the Visual Studio team feels that most admins wouldn't have Visual Studio, and that their goal is to make better development tools, not scripting tools (which is pretty distinct in terms of features that you need to be more efficient). So don't look for PowerShell scripting to show up in Visual Studio, at least not in the immediate future. There are some third-party stuff to get it in there, but nothing as good as the dedicated script editors I listed above.
ISE is what comes with PowerShell(so you don't need to install anything). This is how you can get to it.
From Start menu go to Powershell command line.
Type ise , you should see something like this:
I actually find that Notepad++ is very useful to me when scripting in Powershell. I find it easier to navigate and visually understand the overall flow of a script with the intelligent markup, which includes If-Then-Else and For loop marking.
Sapiens Powershell Studio 2012 - hands down the best Powershell specific IDE.
http://www.sapien.com/software/powershell_studio

Recommended add-ons/plugins for Microsoft Visual Studio [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can anyone recommend any good add-ons or plugins for Microsoft Visual Studio?
Freebies are preferred, but if it is worth the cost then that's fine.
SmartPaster - (FREE) Copy/Paste code generator for strings
AnkhSvn - (FREE) SVN Source Control Integration for VS.NET
VisualSVN Server - (FREE) Source Control
ReSharper - IDE enhancement that helps with refactoring and productivity
CodeRush - Code gen macros on steroids
Refactor - Code refactoring aid
CodeMaid (FREE) - Code cleanup, organization and complexity analysis
CodeSmith - Code Generator
GhostDoc - (FREE) Simple code commenting tool
DXCore (FREE) and its many awesome plugins: DxCore Community Plugins, CR_Documentor, CodeStyleEnforcer, RedGreen
TestDriven.Net - (FREE/PAY) Unit Testing Aid
Reflector - (PAY) Feature rich .Net Disassembler Reflector AddIn's
Web Deployment Projects - Provides additional functionality to build and deploy Web sites and Web applications (source).
StudioTools - (FREE) Navigation assistant, code metrics tool, incremental search, file explorer in visual studio and tear off editor windows. Moved from old site (archive.org) to new site and discontinued.
Not free, but ReSharper is definitely one recommendation.
Whole Tomato's Visual Assist X. I absolutely swear by it. I would like to see a better plug in for Lint than Visual Lint by Riverblade, but since that will eventually be moved onto the build server I don't mind running it every couple of days manually.
PowerCommands is a Microsoft-created plugin that offers a variety of new features that one would think probably should have been in Visual Studio in the first place.
These include
Copying/Pasting project references!
"Open Containing Folder" to jump straight to the hard-drive location of a file or project
Automatic reorganizig and sorting of using statements
"Open Command Prompt Here" to open a command prompt in any of your project folders.
Collapse Projects
RockScroll is awesome, and free.
Addendum
As #Andrei points out, MetalScroll is a better alternative. It's Open Source, and corrects some annoying things about RS.
I'm a big fan of CodeRush and Refactor! Pro by DevExpress. I've been using them for a number of years, and without a doubt it makes me a faster developer. Also, both are built on a free framework called DXCore that allows you to develop your own plug-ins for Visual Studio, and the sky is the limit there...
Resharper
Resharper MbUnit Test Runner Add-On
SQL Prompt for Database Projects (works inside your SQL Management Studio as well)
Ankh SVN 2.0+ for free SVN support (v1.x pales in comparison)
TeamCity plug-in to monitor your builds, personal builds, and bug tracking
I find Ghost Doc to be very useful.
GhostDoc is a free add-in for Visual Studio that automatically generates XML
documentation comments for C#. Either by using existing documentation inherited
from base classes or implemented interfaces, or by deducing comments from
name and type of e.g. methods, properties or parameters.
If you use SVN for source control, definitely get VisualSVN. It enables TortoiseSVN interactions from within the Visual Studio IDE.
I also echo the Resharper comment. Retail price is a little steep, but if you're a student or otherwise educationally affiliated, it's actually pretty cheap.
+1 Visual Assist.
It's unfortunate that you need a plugin to get really good intellisense but it's definitely worth paying for.
LinqPad is great for testing linq to objects/xml/sql. Free download.
What about IncrediBuild? This is a nice distributed build system with visual studio integration.
Clipboard Manager
Maintains your clipboard data through removal of lines, a few other nice items but that one alone makes me happy.
Regionerate
While some have problems with regions I think if you use them, this tool is for you. Automatically region'izes your code into appropriate region blocks. Fully configurable for custom items etc.
VSCommands 2010
from the website:
Latest version supports:
Manage Reference Paths
Prevent accidental Drag & Drop in Solution Explorer
Prevent accidental linked file delete
Apply Fix (automatically fix build errors/warnings)
Open PowerShell
Show Assembly Details
Create Code Contract
Cancel Build when first project fails
Debug Output - custom formatting
Build Output - custom formatting
Search Output - custom formatting
Configure WPF Rendering
Configure Fusion Logs
Configure IE for debugging
Locate Source File
Thumbnails in IDE Navigator
Extended support for xaml, aspx, css, js and html files
Disable Ctrl + Mouse Wheel Zoom
Zoom to Mouse Pointer
Configurability
Attach to local IIS
Copy Full Path
Build Startup Projects
Open Command Prompt
Search Online
Build Statistics
Group linked items
Copy/Paste Reference
Copy/Paste as Link
Collapse Solution
Group items directly from user interface (DependantUpon)
Open In Expression Blend
Locate in Solution
Edit Project File
Edit Solution File
Show All Files
and others, so try it now!
http://trolltech.com/products/qt/">Qt Cross-Platform Application Framework
Qt is a cross-platform application framework for desktop and embedded development. It includes an intuitive API and a rich C++ class library, integrated tools for GUI development and internationalization, and support for Java™ and C++ development
They have a plug-in for Visual Studio that costs a bit of money, but it is worth every penny.
I've been using Visual Assist X for nearly two years now, and I find it so useful I can honestly say that if my employer didn't provide it, I'd have to pay for it myself.
I also use Cool Commands and SlickEdit (the free version), whose File Explorer and Command Spy tools are quite useful.
+1 for Visual Assist
And I will add VLH (Visual Local History) which provides a kind of local source control system. Every time you save a file, the plugin add a copy in the local repository.
ViEmu
vi/vim support inside VS
I found this site called Visual Studio Gallery - it has a lot of visual studio add-ins. I'm browsing it right now and I recommend everyone to visit it.
Consolas font
Free font from MS designed for reading code.
Try MetalScroll!! It's better than Rockscroll
Sonic File Finder for when you have loads of files in your solutions and searching for them in the solution explorer becomes a pain in the wrist.
You might also find DPack interesting. Several tools and enhancements rolled into one neat package.
MZTools is great too.
+1 for CodeRush & Refactor Pro. I've been using CodeRush since its Delphi incarnations, and it's utterly wonderful. The mantra of "Code at the speed of thought" is very close to reality ;)
Microsoft StyleCop provides code style checking for C#, we use it all the time and love it (free)
Axialis IconWorkshop has a Visual Studio add-in which is now free for VS2008 users.
Resharper Yes another vote, because I can't upvote everyone who suggests it :)
Workspace Whiz for C++, I used to live by Workspace Whiz but haven't used it in VS2008 as I hadn't realised there was an update. Will have to give it a try again.
If you're doing C++ coding, hands down Visual Assist.
I love CopySourceAsToHTML as a cool little addin. It's great if you want to copy code blocks for blogging and the like while maintaining your syntax formatting.
I think this is still the url.. you have to do some manual work to set it up with 08.
http://www.jtleigh.com/people/colin/software/CopySourceAsHtml/
For the laptop bound or for those with vi/vim key bindings burned into the brain I would recommend ViEmu.
If you have not tried editing with vi key bindings here is why you may want to try "Why, oh WHY, do those #?#! nutheads use vi?"
AtomineerUtils Pro Documentation - automatic DocXml/Doxygen/JavaDoc/Qt doc-comment generation/updating (similar to GhostDoc, but more powerful & flexible, and supports C#, C++, C++/CLI, C, Java and Visual Basic code).
The style of the generated comments is very configurable, and automatic re-formatting (such as whitespace control and word wrapping) can be optionally applied to keep the comments as readable as possible. It also has many helpers to allow users to read and convert most legacy doc-comments into any of the above formats.
(I'm the author, but I believe the above is an accurate and objective description. This add-in was free when this answer was first added, but to cover the costs of hosting, supporting, and continuing to improve the addin in monthly releases, it is now $10 with a 30-day free trial)
I'm always amazed that more people don't know about/use NDepend - it shows all dependencies at every level of your code, and will even draw pretty box and arrow pictures showing how confused your architecture really is :) Together with TestDriven.Net, I can't imagine working without it any more. Free/cheap.

Resources