Category "visual-studio"

Unity, identify line of code that produces the error

Guys I'm new with Unity and I'm getting this error and I can't fix it. Why is the code line not signed?? NullReferenceException: Object reference not set to an

VS 2022 errors ENC0020, ENC0021 even though code changes were made prior to starting debug session

Does anyone know how to solve this problem? I have a solution with multiple projects, including: 2 Class Libraries, 1 REST API server, 1 Web server, 2 REST API

Launching integration test (MSTest) after starting the API without using two instances of Visual Studio

I have a .NET WebApi and an MSTest Project that contains the integration tests to call the API via HttpClient. Because I did not find a way how to let the MSTes

Set a default form backgroundimage in Visual Studio WYSIWYG editor

Context Viusal Studio 2019, Windows 11 .NET 5.0 Winforms Project I have a VB.NET application with 3 form backgroundimage depending on working environment (Produ

Get name of type behind type alias in function template

I'm working with Visual Studio 2013. When I need to know what types the compiler deduced for my template parameters, I usually trigger a compiler error like thi

Improve the build speed of Visual Studio -For Big Project

I have a large .NET project in C # that includes 78 library projects and one MVC project. Most of the projects are related and have been used in the MVC project

How Read File Path From a .dat file then open the program When Pressing The Launch Button?

I have a problem Where I cant make my program automatically read the given file path inside the .dat and be ready to launch the program when pressing launch fil

Unrecoverable build error - 0x8007000B in Setup Project

I have some .Net6 WinForm application that supposed to run PowerShell script via System.Management.Automation package Version="7.2.2". This app works fine. For

Customize Colors in Visual Studio

Is there any way to customize the color of variables in Visual Studio and not change the whole theme. For example: Is it possible to change variable's color to

.Net standard project docker COPY file not found visual studio

I have a .Net standard project called PrivateSales with a Dockerfile that looks like this #See https://aka.ms/containerfastmode to understand how Visual Stu

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