Category "visual-studio"

Multiple problems with Sobel algorithm in c

I'm trying to build an edge detection program using the code below. I have faced a variety of problems though, that I don't know how to solve. #include <stdl

How to customize functionality of "Delete Line" hotkey in Visual Studio Community 2022?

In most IDE's I've used, including VS Code, the "Edit.LineDelete" keyboard shortcut deletes the line and tries to keep the cursor in the same place on the follo

Efficient way to replace a substring in entire project

Problem: Imagine I have a very large code base with millions of lines that has hardcoded SQL queries. For Example: String AA_Table_Query = "Select AA_Column_1,

Restore NuGet packages failed for project ... : Could not find a part of the path

I'm trying to run a Unit Test project in Visual Studio (.NET Framework 4.72). The project is now building/running successfully, however there is still an error

Visual Studio 2019 doesn't see my git repo

After installing the latest VS update, VS doesn't see my git repo when I open project's folder. It offers me to create a new repo or to clone an existing one bu

Visual studio community necessary for flutter error how to resolve

If visual studio community is not necessary for flutter app development, and I dont have enough storage space for downloading it but i have vs code, android stu

How to use visual studio for GitHub actions?

We have a jenkins server setup in AWS on an ubuntu machine. Created two machines on windows server 2012 and each having visual studio enterprise edition install

Updated MacBook and now "code ." command in terminal is giving error. Any ideas how to fix?

I updated my 2020 MacBook to Monterey 12.3.1 and when I tried to open Visual Studio Code through the terminal using code . I got the error below /usr/local/bin/

Github with vs Code wants to commit non-exisiting files

I'm facing a weird problem with github in visual studio code. I accidentally tried to commit big files to my remote repo. Then I got the [remote rejected] messa

How do I make my sprite animate while the picture box is moving? It also needs to change position every time it passes a corner

Public Class Form1 Dim anm As Integer = 1 Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick

Visual Studio C++ static lib function exposing problem

I have created example of using static libraries. The goal is this functionality: DllTestFunctDll.dll links static_lib.lib (contains fnStaticLibrary()) example.

WPF Textbox Validation Error binded to Variable

In a .xaml file, I have a number of Textbox objects that are linked to data paths as such: <TextBox Text="{Binding Path=Var1}"> These variables (like Var

VS2022 IE8 WebDeploy - Could not connect

Why am I unable to publish my website? I am using Visual Studio 2022. I am running WebDeploy 3.6 on an AWS EC2 instance. I have setup up the connection paramete

WinSCP.SessionLocalException: The winscp.exe executable was not found at location of the assembly WinSCPnet

I am new working in a lab that sends data from a local computer to an HPC. I have been all day working around the following problem I am not familiar with it at

Team Foundation Server - Unauthorized intermittently

Recently I've had this error pop up intermittently when trying to do things in a project: Checking In Changes Making edits to a recently unchanged file (checkin

Cl/cl.h not found in Visual Studio Code 2019 AMD GPU Win10

I wanted to get started in GPU programming and since I have an AMD GPU I would like to start with OpenCL. I have installed on my Windows 10 machine Visual Studi

Android Studio - Kotlin - how to display scrollable text

I am new to Android Studio and Kotlin. I am outputting texts regularly to the display. Think of an old-fashioned ticker-tape newsfeed, where the latest text is

VSTO Project: 'Sub Main' not found after changing Project Assembly Name

I received above mentioned error after changing my project assembly name in Project > Properties > Application > Assembly Name Any Ideas how to solve

Instead of showing some modified files, Git shows all files in Solution as Added/Modified

I am using Visual Studio for development. I am on my local branch and I was about to commit/push. In Git changes I had about 16 files which were modified. Now s

Visual studio and git: "use" info from another repository?

I have access to a repository on GitHub that hosts C++ source files. Other people using this repository check out the code and build via the command line with