Category "visual-studio"

How to find phpcs current default standard

I want to know my current PHPCS standard in Visual Studio e.g: { "phpcs.standard": "PSR2" } how to set it is given in the documentation phpcs --c

TypeScript type definitions IntelliSense errors

With Visual Studio 2022, I have a lot of IntelliSense errors in the error list window about type definitions of the node_modules folder. In my tsconfig.json fil

T-SQL C# CLR Execute permissions being lost on assemblies when are redeployed

I have inherited a VS2015 .NET C# project that deploys C# assemblies as CLR stored procedures to SQL Server 2016. It has worked seamlessly for many years. Howev

.NET 6 how to add webservice reference

How can I add reference to SOAP web service (.asmx) in .NET 6. In .NET Framework there is Web references in VS with autogenerated proxy classes. How to can I mi

Getting Select Action error while using Visual Studio

I am getting the below alert on a certain interval while using VS Code have attached the SS of the same. Using VS for quite sometime but never encountered this

SDL_image failing to initialise

When I try and initialise IMG or use IMG_Load, I get the error: "IMG_Init: Failed loading libpng16-16.dll: The specified module could not be found." From what I

How to remove BOM (Byte Order Mark) in CSV export using visual studio SSRS 2017

When I export data to CSV file using SSRS 2017 I got BOM (Byte Order Mark) in the data. How can I get rid of it? I tried the below link, but I cannot find rsr

How to debug Ruby code on Visual Studio Code?

I am new to VSCode, however, I did download the required extensions as I read in a website. So far, I can't debug Ruby on VSCode, and I am not sure where the pr

MSB3073 exited with code 1

Error 102 error MSB3073: The command "copy C:\Users\Bike Simulation\Desktop\testing_dll\DrivingSimulator_DLL\example\DrivingSimulatorTextClient....\bin\VS2010\

Strange GIT behaviour in VS2022 - Shows error but still completes action

I'm having a strange problem with Git i VS2022 and VS2019. When I Push, fetch or pulls I get a error saying "failed to fetch from the remote repository. see the

Visual Studio Emulator is Offline Not Launching C++ Mobile

You might let me explain my little issue. I switched from android studio to visual studio for mobile c++ developing. I installed VS (visual studio) and also an

Visual Studio Code - remove branches deleted on GitHub that still show in VS Code?

In VSCode, after I do a pull request and delete the branch on GitHub, that branch still shows up in Visual Studio Code. If I select the branch, it gives an Erro

[VS2019/2022]How exactly {ServicePort} in the Docker-Compose project works and can be configured?

How to use other service in the Docker-Compose to be paired with the {ServicePort}? I only want a web-server(like Nginx) service to be exposed. How can I point

Visual studio 2022 perform search into .xsd designer

I have a big project with an .xsd file that contains the dataset of all the tables of the database. I use the .xsd designer integrated with visual studio to add

Insert tabs instead of spaces

In my C++ document, I want to insert a tab when I press tab. Under Tools > Options > Text Editor > C/C++ > Tabs I chose to Keep tabs. However, when

the project doesn't know how to run the profile ConsoleApp

I just downloaded Visual Studio 2022 (Although I much preferred 2019 but can't find it) and as soon as I open a simple "Hello World" project and try to run it,

*System.Text.Json* unable to load when VisualStudio is not installed

I have a DLL based on netcoreapp3.1. The DLL references the NuGet package Microsoft.Extensions.Configuration.Json version 5.0.0. If I deploy the DLL to another

Lnk1104 cannot open file debug.obj

I have a C++ project in vs 2022 that giving me a lnk1104 error. I have made sure that "debug information format " is set to Z1, but the debug.obj or the .pdb fi

How to avoid non-copyable characters in a C application, run by Eclipse

I am working with a C application, which is tested by a Java application, run in Eclipse. The Java application runs the C application, using the standard way: R

Visual Studio 2017 Python Environment not working

I have a problem with my Visual Studio 2017 Community. I installed Visual with Python, but Intellisense doesn't detect Python modules. Screen1 Screen2 Screen