Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

visual-studio

How can I use VS Code’s default keybindings in Visual Studio?

April 7, 2024 by Tarik

You can go to Tools -> Options -> Environment -> Keyboard as mentioned here.

Categories visual-studio Tags visual-studio, visual-studio-code Leave a comment

How do I create .NET framework 4.6 version of XUnit project in Visual Studio 2019?

April 7, 2024 by Tarik

First use the xUnit Test Project (.NET Core) project template. Then go edit the .csproj file and change <TargetFramework>netcoreapp2.2</TargetFramework> to <TargetFramework>net462</TargetFramework>. That’s it. 🙂

Categories c# Tags .net, c++, visual-studio, visual-studio-2019, xunit Leave a comment

How do I resolve ‘@echo’ is not a recognized command

April 6, 2024 by Tarik

The file is probably Unicode encoded and has a Byte Order Mark (BOM) at the start that is throwing off the batch processor. Save it as an ASCII file and you should be OK. You can do this in notepad – select Save As… from the File menu and ensure that the Encoding dropdown is … Read more

Categories asp.net Tags asp.net, visual-studio, visual-studio-2008 Leave a comment

How to turn off “Break when exception is thrown” for custom exception types

April 5, 2024 by Tarik

In the Debug > Exceptions dialog, click Add, select Common Language Runtime exceptions, and enter the full name (not the assembly-qualified name) of the exception. Then uncheck the Thrown checkbox for this exception.

Categories .net Tags .net, debugging, exception, visual-studio, visual-studio-2010 Leave a comment

How to install build tools for v141_xp for VC 2017?

April 5, 2024 by Tarik

I am not entirely clear on whether your issue is installing the C++ tools for Windows XP or modifying your project/solution to target that platform. Either way, the following link should help you out. Here is a summary on how to install the toolset: Bring up the Visual Studio installer (Tools -> Get Tools and … Read more

Categories visual-studio Tags visual-studio, visual-studio-2017 Leave a comment

Can I debug while running a VS Unit Test?

April 5, 2024 by Tarik

Yes, with the Visual Studio Test project, you can set breakpoints and step through your code. Be sure to run your tests with the Debug menu — Tests -> Debug -> Tests in Current Context. For any given test class or test method, use the keyboard shortcut Ctrl-R Ctrl-T. When your cursor is in a … Read more

Categories c# Tags .net, c++, unit-testing, visual-studio Leave a comment

No module named openai

April 4, 2024 by Tarik

I encountred the same problem and all what I did was: First uninstall the openai package with : pip uninstall openai Then I upgraded pip with : pip install –upgrade pip And i re-installed the openapi package with pip install openai And it worked.

Categories python Tags openai-api, python, visual-studio Leave a comment

MSVC – /EHsc vs /EHa (synchronous vs asynchronous exception handling)

April 4, 2024 by Tarik

When you use /EHsc, the compiler will only emit code for exception filters when it can detect that the code wrapped in the try {} block might throw a C++ exception. An exception filter ensures that the destructor of any local C++ objects get called when the stack is unwound while handling an exception. It … Read more

Categories c++ Tags c++, visual-studio Leave a comment

F12 – Go to Implementation of Interface

April 4, 2024 by Tarik

Visual Studio 2015 – Update 1 Added Edit.GoToImplementation which appeared in the context menu, but there was no keyboard shortcut associated with it by default. Visual Studio 2015 – Update 2 Added a default shortcut of Ctrl + F12

Categories visual-studio Tags interface, keyboard-shortcuts, visual-studio Leave a comment

How to highlight user-specified words in Visual Studio?

April 4, 2024 by Tarik

In the Tools menu go to Options -> Environment -> Task List. Here you can enter Tokens. These tokens will be added to the task list, but will not be highlighted. That can be achieved with one of the available TODO highlighters.

Categories visual-studio Tags syntax-highlighting, visual-studio Leave a comment
Older posts
Newer posts
← Previous Page1 Page2 Page3 Page4 … Page210 Next →

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa