Building, Testing and Debugging Visual Studio C++ project in Visual Studio Code

Notice

Starting from 2021/08/20 (as the result of this PR) Visual Studio Code documentation has been updated to include information about how to run Visual Studio Code outside of Developers Command Prompt.However, if you are interested in a story of how this happened or you need to run and debug Visual Studio tests using vstest.console.exe right from Visual Studio Code then, I invite you to continue reading the post.

Introduction


I started to code in C/Win32 API in the university and I continue to do this almost every day. I am not a professional C/C++ developer nor Windows internals specialist, however I like to write in C. Why I am telling this? Because it won’t be a surprise, all my C/C++ projects were always written in Visual Studio with all it’s goodies like IntelliSense, projects support and extensions like Visual Assist.

However, in a last few years working with .NET Core I’ve found myself doing almost all my coding in Visual Studio Code and to be honest I get used to its simplicity and blazing speed. So for me it was kind of logical and full of sense step to move my C/Win32 API development from Visual Studio to Visual Studio Code, and having previously a slick transition experience in .NET, I was expecting somewhat similar but it turned out to be not that simple, especially if you don’t want to cut off Visual Studio completely.

In this post I would like to share how you can configure Visual Studio Code to build, test and debug Visual Studio C++ project.

Continue reading “Building, Testing and Debugging Visual Studio C++ project in Visual Studio Code”

.NET R&D Digest (December, 2020)

2020 is ending. It was a long and tough year for everyone. However, in world of software engineering it also was a quite interesting one – we saw how a plan become true (at least in .NET world, where Mono and .NET now share the same repo and .NET 5 was released as promised), we attended a lot of online events, online trainings and spent tons of time on self-education and we also read … .NET R&D Digest πŸ™‚

This issue contains bits of Visual Studio, .NET, web, databases, cloud, and software engineering.

Enjoy and see you next year!

Continue reading “.NET R&D Digest (December, 2020)”

.NET R&D Digest (August, 2020)

The summer is over! 😦 But as Monday starts a new week (at least here in Belarus), September starts a Fall, where according to schedules, we can expect many new releases and events, so stay tuned!

This issue (August 2020) might seem smaller than usual but this isn’t entirely true … because 40% of it are pair posts or series! Which gives us not 10 but 21 positions in overall 😊

This issue includes bits of .NET, quantum computing, computer science, Visual Studio and PowerShell.

Have a great read!

Continue reading “.NET R&D Digest (August, 2020)”

.NET R&D Digest (March, 2020)

In this by no means difficult time we all spend a lot of time at home. Besides bad sides of isolation it is also a good chance to spend some extra time on self-development and learn something new. As usually this is the end of the month and this is a new issue of .NET R&D Digest – this time with bits of .NET, PowerShell and leaning materials 😊

Enjoy and stay safe!

Continue reading “.NET R&D Digest (March, 2020)”