Category "visual-studio"

Something in Visual Studio is constantly changing my c++ header Item Type assignments...how to track down the source?

I have a MSVS 2019 C++ project which includes Qt source files that are processed by the Qt moc. In order for my header files (and thus, class declarations) to b

Can't Install Nuget Package

I am trying to install System.Runtime.Handles so I can use SafeAccessTokenHandle and RunImpersonated, however when I try to install the package I get the error

Visual Studio, Copy files to project directory problem

I have Visual Studio community 2017. coming from eclipse it was just enough to copy file to project directory and hit refresh then files were appearing in proje

Passing spaces in arguments for Visual Studio Pro 2019

I am trying to debug a command line program inside Visual Studio. I am sharing my configuration with another machine using Box. The paths I am passing have sp

Setting up SSL certificate in Visual Studio

I have a fresh install of Visual Studio Community 2019 on a new computer. I started a web app project, ran it for the first time, and then when prompted to acce

Visual studio does not recognize newly added class

I am having a weird issue here, i am using vs 2019 and one of my projects refuses to recognize any newly added c# classes, i can not use it anywhere else in the

POST https://dc.services.visualstudio.com/v2/track 439

i have error which kill my application - app is running, but - thus, the data in the grids are not displayed - i think error in console browserLink:2843

How to remove Visual Studio 'IDE' warnings for a Unity project?

I've been trying to get rid off IDE warnings for a Unity project: While csc.rsp works for CS warnings, it doesn't for IDE warnings: -nowarn:CS0649,IDE0063,I

Visual Studio installation failed in MAC OS X

Downloaded Visual Studio installer from https://visualstudio.microsoft.com/vs/mac/ first and started the download and install process. At the end of the instal

Error XAAAS7001: System.NullReferenceException

I just installed Visual Studio 2019, and I created a Xamarin.Forms project. When I tried to execute it in the android emulator, I get this error : Gravit&eacut

Get Visual Studio 2022 'Go to' to exclude node_modules

When using the 'Go to' feature in VS 2022 (ctrl + ,) how can I get VS to ignore the node_modules folder. Note that the node_modules folder is already marked as

Possible to use or make shortcut to start project without a start page?

Sometimes I want to the project to start with the currently selected page, and other times I want the project to start without opening a page. I would really li

How to deal with SQL server error: The database cannot be opened because it is version 904. This server supports version 852 and earlier [closed]

While connecting to SQL Server database by attaching to an MDF file, the following error is returned: The database cannot be opened because it

MSBuild on NET 5 Core projects produces different bin/x64 and bin/Debug folder structures

I am having an awful time understanding how MSBuild works with NET Core project files (csproj) on Windows 11. I have 71 NET Core C# project files (executables,

form.show doesn't show all the content on the form like forms.showdialog

I am currently developing a GUI that helps users pick a test to run for a DUT. The program controls a bunch of lab equipment via visa com drivers and logs the d

Master branch disappeared from my local code

I have a repo that I cloned a long ago and I use the master that I push to create my branches to then merge with master. I opened visual studio and now I don't

VS2019 Online Extensions list is empty. Then full. Then empty again

A colleague is having a bizarre problem with Visual Studio. I am literally watching this happen live while we're on a Teams call and she shared her screen. In

Android AGDE in Visual Studio - how to package an AAB?

I'm using the Google Visual Studio plugin AGDE to generate an APK - which works fine. I'm trying to get it to output an AAB file - but not having much luck. Doe

Incompatible Target Framework on Visual Studio Community

I`ve been trying to make a unit test in my project following this tutorial: https://docs.microsoft.com/en-us/visualstudio/test/walkthrough-creating-and-running-

How to import functions from an external namespace onto my project in c sharp

I want to import functions from a different namespace in an external file into my c sharp project. But what's the right method to do it. I copied the .cs file w