Category "visual-studio"

Visual Studio, collapse/expand all regions with the same name

In Visual Studio you can collapse/expand all regions with Ctrl+M+O / Ctrl+M+L But is it possible to collapse/expand only regions with the arbitrary name? #pragm

Get Identity Role id - ASP.NET Core MVC

I am new to ASP.NET Core MVC, and I'm trying to develop a popup modal for Edit and Create. The create popup works, but when it comes to edit I can't get the id

Visual Studio fetches data but not display

I've read all the related answers on stackoverflow. Reportviewer never fills up. There is data but it does not show

It keeps displaying the last data

I'm trying to let user to change the phone number of specific company user entered and displays the new information to user Currently, when I click the change b

Visual Studio - how to remove ellipsis?

Visual Studio (I'm using 2019, but all versions do it) adds these ellipsis all over the place (sometimes on every single line!) with suggestions on how to impro

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