Productivity Tips for Visual Studio 2017

I’ve written a few blog posts thus far regarding Visual Studio 2017, so I thought I would take some time to discuss the features that were introduced in this latest version that might help your productivity, or that you just may find useful.

You’ll notice that the title of this post mentions that they are “secret”. This is because all of these features are disabled by default, so you’ll need to enable them, either locally (per project) or globally, to take advantage.

Source: “Secret” Productivity Tips for Visual Studio 2017 – CodeProject

AutoHistory – Visual Studio Extension to easily roll back code a few minutes or hours.

Have you ever found yourself wishing you could roll back a few hours to a piece of code you had working but have made changes to? This extension provides an early preview of an automatic, no-configuration history tracking facility for your local machine. Just install the extension, and whatever you do in your projects and solutions, it silently and efficiently tracks the changes you make to any files that you have opened in the Visual Studio Editor. Then, when you find yourself in need of back-tracking to

Source: AutoHistory – Visual Studio Marketplace

See this Channel 9 video: http://go.microsoft.com/fwlink/?LinkID=390499

How do I get NuGet to re-install/update all the packages in the packages.config?

Reinstall all packages in project:
Update-Package -reinstall -Project YourProjectName
Reinstall package “Antlr” in project:
Update-Package -reinstall Antlr -Project YourProjectName

See more here:

The following command will update all packages in every project to the latest version available from nuget.org.
Update-Package
You can also restrict this down to one project.
Update-Package -Project YourProjectName
If you want to reinstall the packages to the same versions as were previously installed then you can use the -reinstall argument with Update-Package command.
Update-Package -reinstall
You can also restrict this down to one project.
Update-Package -reinstall -Project YourProjectName
The -reinstall option will first uninstall and then install the package back again into a project.
Or, you can update the packages using the Manage Packages dialog.

Source: How do I get NuGet to install/update all the packages in the packages.config? – Stack Overflow

 

Free Microsoft Virtual Machines

Download free virtual machines to test Microsoft Edge and IE8 to IE11:
Source: Free Virtual Machines from IE8 to MS Edge – Microsoft Edge Development

Get a Windows 10 development environment:

Start building Universal Windows Platform apps quickly using a virtual machine.

Start coding sooner with a virtual machine prepped for Windows 10 development. It has the latest versions of Windows, the developer tools, SDKs, and samples ready to go:

https://developer.microsoft.com/en-us/windows/downloads/virtual-machines

 

ASP.NET / .NET / VS blogs to follow

Microsoft Official

.NET Web Development and Tools Blog | Your official information source from the .NET Web Development and Tools group at Microsoft.
RSS: https://blogs.msdn.microsoft.com/webdev/feed

The Visual Studio Blog | The official source of product insight from the Visual Studio Engineering Team
RSS: https://blogs.msdn.microsoft.com/visualstudio/feed/

.NET Blog | A first-hand look from the .NET engineering teams
RSS: https://blogs.msdn.microsoft.com/dotnet/feed/

Non Microsoft

Dot Net Weekly:
http://www.dotnetweekly.com/
RSS: http://www.dotnetweekly.com/feed/

Remove git mapping in Visual Studio 2015 – Stack Overflow

You simply need to remove three files from the project Path. navigate to Your Project Folder then permanently delete (“SHIFT + DEL”)

the files to permanently delete are: (‘File’ .gitignore ,’File’ .gitattributes , and ‘folder’.git)

(may be hidden so ensure you have your folders and search options > View > show hidden files, folder, and drives(Radio Button) Selected)…reopen VS and their is no more relationship to the Git Source Control. if you wanted to take it as far as removing it from the registry as mentioned above you could but shouldn’t be necessary aside from the “house keeping” of your machine. hope this helps.

Source: Remove git mapping in Visual Studio 2015 – Stack Overflow