Category "visual-studio"

Code Cleanup in Visual Studio 2022 For One Solution Only

I have some separated solutions in my hard disk. And I have configured my Visual Studio 2022 like this: But one of them (the oldest one) does not follow the co

Visual Studio: Centralized Output Folder - No 3rd Party Libraries Copied

I have a C# solution containing many projects (DLL and EXE projects) and decided to centralize the Output folder so that Visual Studio builds all projects to on

Resource view tab is missing - Microsoft Visual Studio Community 2022

I have Microsoft Visual Studio Professional 2022 and Microsoft Visual Studio Community 2022 installed on my notebook. Microsoft Visual Studio Professional 2022

How to delete a heap allocated std:::array

I have this pointer in a class: std::array<std::array<std::array<Item*, XSize>, YSize>, ZSize>* Items; In the constructor: Items = new std::a

Resource style not found even though I already remove it and not using in Styles.xml

I created this in Styles.xml <style name="Content.Right"> <item name="android:paddingTop">60dp</item> <item name="android:paddingLe

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