Setting the Language of a Visual Studio Code File without Saving

Ever use Visual Studio Code and want to set the language of a file without having to save it? Let’s say we have copied some code from somewhere, or we are creating a new file from scratch. Below I have some JavaScript in a file, and the code is all the same color, i.e. VS Code has not recognized this file as JavaScript: To change the language of the file, … Continue reading Setting the Language of a Visual Studio Code File without Saving

How to Use Emmet in Visual Studio Code for Faster Web Development

In Visual Studio Code, we can use Emmet to speed up our development. Let’s look at how to do this. In VS Code, create a new file called test.html: Enter doc and note the Emmit Abbreviation appears: Clicking on the information icon we can see what the snippet will look like: Press tab to get the HTML inserted into the document: Also, if we were to type ! instead, we … Continue reading How to Use Emmet in Visual Studio Code for Faster Web Development

Download and Install Accessibility Insights for Windows

To download and install Accessibility Insights for Windows, first go to https://accessibilityinsights.io/en/downloads and click Download for Windows: Open the MSI file: Click Next: Click Next: Click Next: Click Install: Click Finish: Accessibility Insights for Windows will load. You may see: You should now see: You should now be able to use Accessibility Insights for Windows:  

Switching Between GitHub Branches in Visual Studio

In this post, we will look at how to switch between GitHub branches in Visual Studio. First, open a solution that is connected to a GitHub repository and go to Branches: In this case, we have several branches – Master, release1, release1a, etc. We also have remote GitHub branches. We see the active branch in brackets, in this case master: Let’s open the Program.cs file in the solution: Now, if … Continue reading Switching Between GitHub Branches in Visual Studio

Creating a Branch of a Branch in GitHub

Let’s follow on from the example of creating a new branch in Github. We used 2 methods to create 2 branches, Release 1 and Release 2, from the Master branch. Let’s now create a branch of a branch. We will create Release 1a from Release1, and Release 2a from Release 2. Master currently looks like this: Method 1 – Visual Studio Here we are in Visual Studio in Release 1. … Continue reading Creating a Branch of a Branch in GitHub

Creating a New Branch in GitHub from Visual Studio

In this post, we will look at how to create a new branch in GitHub from Visual Studio. Method 1 – Creating a Branch in GitHub.com Let’s look at our GitHub repo for out app called my-console-app: In Visual Studio, we have a project that points to this GitHub repo: In the bottom right, we see we are connected to the Master branch: From GitHub, we can create a new … Continue reading Creating a New Branch in GitHub from Visual Studio

Creating a New Branch in GitHub

In this post we will look at how to create a branch in GitHub. In previous posts, we: Installed Git on Windows using SCM Signed up for GitHub Installed GitHub Desktop for Windows Cloned a Repository from GitHub. We now have a local repo in Windows Made changes and committed to our local Master Published our changes to GitHub In this post, we will create a new Branch, Commit and … Continue reading Creating a New Branch in GitHub

Installing Visual Studio 2019

The install Visual Studio 2019, go to https://visualstudio.microsoft.com/ and click Download: Select the edition. We will install Enterprise: Open the file. Click Continue: You will see: Now select the components to install, then click Install: The installer will run: And finally, the reboot: After restarting, select Visual Studio 2019: Select an option, e.g. Create a new project. You can now start using Visual Studio 2019:  

Using GitHub with Visual Studio

In this post, we will look at how to use GitHub with Visual Studio. Download and Install First, let’s download and install the GitHub extension for Visual Studio. In Visual Studio, select Mange Extensions and find the GitHub Extension for Visual Studio, then click Download: You will see a message to restart VS: Click Modify: We see the extension installing: Click Close when complete: Create Project Now let’s create a … Continue reading Using GitHub with Visual Studio

Compare 2 Assemblies Using Telerik JustAssembly

In this post, we will create an assembly, update it, and compare the compiled code using JustAssembly from Telerik. At the time of writing this is free software. First, let’s create 2 assemblies. Let’s open Visual Studio 2019. Some simple code with a method to add 2 numbers: The assembly looks like below: Let’s take a copy of this assembly, and now update the original assembly. We will add some … Continue reading Compare 2 Assemblies Using Telerik JustAssembly