Visual Studio 2022 - BNU-CO453/ConsoleApps15 GitHub Wiki

Short Guide to Visual Studio 2022

VS 2022 17.01

Download Visual Studio 2022

For use at home you can download and install the Community edition of Visual Studio 2022 for free

Downloading Visual Studio for Windows and Mac

If you are going to be working on a Mac then you will need to use SQlite, MySQL or follow the video below to install Docker in order to access Microsoft SQL Server in a Linux virtual environment. This is only need for App03 and App04 both of which create a database

How to use Microsoft SQL Server in Docker on a Mac

Alternatively you can go to BucksAnywhere and use Visual Studio 2019 Enterprise edition. This does not install the software in the usual way. It uses Microsoft's System Centre Configuration Manager (SCCM) which has been available since 2012 and requires the installation of an AppsAnywhere client.

New Git Experience in Visual Studio

As of version 16.8.3 Visual Studio is now the default experience and there is a Git menu in the main menu bar.

This is summarised in this 5 minute video

More details can be found in this Microsoft Documentation

History of Visual Studio

History of Microsoft Development Languages Visual Studio History

This is a short video (15 mins) produced in 2020 plotting the history of language development by Microsoft from the early days of BASIC (1975) to C# today (2021).

Visual Studio Code

Visual Studio Code is a very different product, although the name is similar. It is a lightweight version of Visual Studio and lacks many of the advanced features. However it has proved very popular as a multiplatform tools for developing a wide range of languages, and its development over the last 10 years has been interesting. It could be used for console App development or ASP.NET Core development, but it cannot handle multiple projects as their is no concept of a solution containing projects. It is fundamentally based on folders containing files with Git built in. The Development of Visual Studio Code

You can use Visual Studio Code instead of Visual Studio as it is much smaller and will run much quicker on low performance computers. It does require the use of the command prompt though. How to use Visual Studio Code for C# Console Applications

Class Diagrams in Visual Studio

You must have selected Class Designer in the Individual Components tab in Visual Studio Installer. If you have not, reload Visual Studio Installer and Modify the installation.

Then watch the following video. How to Add a Class Diagram to Visual Studio

Class Designer

You can then created an empty Diagrams folder inside your project and right click on the folder and Add -> New Item -> Class Diagram

Class Diagram

Visual Paradigm

This is the best tool available for all sorts of Software Engineering diagrams including UML, Business Analysis, Project Management, Agile & Scrum Development. It is widely used by major software development firms and will enhance your CV and job prospects.

Visual Paradigm

Failed to Launch Debug Adaptor

Debug Adaptor

If this error occurs go to Debug -> Options and make sure that JavaScript Debugging is not selected as shown below

JavaScript Debugging

Moving Visual Studio Windows

This video shows you how to move the various Visual Studio Windows into different positions

BucksAnywhere

BucksAnywhere can be used currently with Visual Paradigm 16.3 which is the current version of VP or Visual Studio Enterprise Edition which should be 16.8.3 or 16.8.4
BucksAnywhere Login Page