6,244 questions with Visual Studio-related tags

Sort by: Updated
1 answer

How to Make Visual Studio Update Itself Without Asking for Administrative Permission?

Hello, How can a standard user update Visual Studio without Windows 10 prompting for an administrator username/password? In my company, laptops are provided with only standard user access. Currently, when auto-update on closure is enabled, closing Visual…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,740 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
973 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,775 questions
asked 2024-05-15T16:22:54.68+00:00
answered 2024-05-15T20:19:38.91+00:00
RLWA32 40,856 Reputation points
0 answers

Hidd_Get*String functions don't work for builtin touchpad and keyboard

Hello, I have an application where I try to get a human readable string for raw input devices. I first get the devicename by running the following code twice. First with devicename == NULL, then allocate memory for the devicename, and then again to write…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,740 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-15T11:33:49.5166667+00:00
Wallby 46 Reputation points
commented 2024-05-15T19:09:35.8433333+00:00
Wallby 46 Reputation points
5 answers One of the answers was accepted by the question author.

Visual Studio 2022 won't connect to NuGet

Visual Studio 2022 gives an error when trying to browse NuGet. I get these errors on 2 different Windows Servers (2016) I’ve tried. One running Visual Studio 2017, the other running Visual Studio 2019 and 2022. Visual Studio 2017: “[nuget.org] Unable to…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
973 questions
asked 2022-08-08T17:50:50.513+00:00
mindmischief 36 Reputation points
commented 2024-05-15T17:24:39.9533333+00:00
Chrétien Nzanga 0 Reputation points
0 answers

Unable to sign-up a new developer M365 sandbox -

Hi I have not been able to finish sign-up process for a new M365 developer sandbox subscription. When I reach the "add phone number for security" part, regardless of which phone number I have entered ( have tried with my work / personal / brand…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-15T16:13:35.2066667+00:00
Jippe ZZZ 20 Reputation points
edited the question 2024-05-15T16:34:13.6633333+00:00
Jippe ZZZ 20 Reputation points
1 answer One of the answers was accepted by the question author.

Use of visual studio community edition for testing VSTO projects?

I am more familiar with Visual studio over VS code and I was wondering with my work PC if I could test some VSTO projects as to see if worth migrating our VBA projects to something modern. I was thinking for the testing to use the community edition.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
330 questions
asked 2024-05-14T14:22:36.82+00:00
Jonathan Brotto 80 Reputation points
commented 2024-05-15T16:29:51.15+00:00
RLWA32 40,856 Reputation points
0 answers

Can't find or use Fortran in Visual Studio 2022

I Can't find or use Fortran in Visual Studio 2022. I have installed the workloads “Desktop development with C++” and “.NET desktop development” in VS properly, AND installed Intel Visual Fortran properly, including oneAPI Base Toolkit and HPC Toolkit.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
177 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
973 questions
asked 2024-05-15T16:17:08.1166667+00:00
Patrick 0 Reputation points
12 answers

Not remembering source control plug-in (Git)

Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2023-09-06T18:51:27.7633333+00:00
Brad Knode 60 Reputation points
commented 2024-05-15T15:56:01.7733333+00:00
Adrian Stanley 0 Reputation points
0 answers

Ignoring macro error messages while running app

I have the following error message in this screenshot below: I need to resolve this issue, so that users won't see that message when they run my app if I package and deploy it.

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
681 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2024-05-15T12:17:54.08+00:00
John 426 Reputation points
commented 2024-05-15T15:32:06.11+00:00
John 426 Reputation points
1 answer One of the answers was accepted by the question author.

How to install all the nuget packages in one click ?

I want to install the nugets by "publisher1" and currently I see that I can do this one by one but the packages are so many , is there a way to install all of them ? For example how to install all of the packages from this…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,331 questions
asked 2024-05-14T22:51:29.5566667+00:00
William de 116 Reputation points
commented 2024-05-15T13:40:37.4266667+00:00
William de 116 Reputation points
0 answers

WPF extremely slow when using .Net Standard controls

WPF extremely slow when using .Net Standard controls I have a WPF application in .Net Framework 4.8 and I am trying to compile it in .Net 8. The application employs some DevExpress controls. I have added almost all the Dll's from the directory…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-15T01:48:30.4+00:00
zequion 111 Reputation points
commented 2024-05-15T13:38:52.0733333+00:00
Tianyu Sun-MSFT 27,701 Reputation points Microsoft Vendor
0 answers

how to fix open visual studio problem on my windows ?

https://streamable.com/yh2ieu

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-10T15:21:11.0466667+00:00
Leo Lee 0 Reputation points
commented 2024-05-15T11:34:30.4033333+00:00
Leo Lee 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to stop Windows Task Manager from interfering with VS build

I often get the following error after an app under debugging crashes: DEP1000: Cannot copy file "E...\MY_APP\bin\x64\Debug\MY_APP.exe" to layout "E...\MY_APP.UWP\bin\x64\Debug\AppX\entrypoint\MY_APP.exe". IOException - The process…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
asked 2024-05-10T15:55:53.4466667+00:00
Hong 1,091 Reputation points
commented 2024-05-15T11:17:37.08+00:00
Hong 1,091 Reputation points
0 answers

Як виправити помилку С2731: 'mian': function can be overloaded

int main(int argc, char** argv) { ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); }

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-15T08:55:52.4533333+00:00
matzenko art 0 Reputation points
1 answer

Microsoft Visual C++ 2019 Runtime Error

When I was installed and run 'AutoCAD 2023' program, The POP-UP like above that, display on my desktop. If I choose ok, an error like the second picture will appear, and if I press cancel, the installation will be cancelled. How can I solve this…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
973 questions
asked 2024-05-04T17:18:33.4933333+00:00
강한솔 강한솔 0 Reputation points
commented 2024-05-15T08:49:16.01+00:00
Anna Xiu-MSFT 26,311 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MS Visual Studio 2022 not able to open source files with path length more than 120 characters

While building a project on the MS visual studio 2022. I'm getting the following error: Error C1083 Cannot open source file:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-14T10:37:08.3+00:00
Tony Josi 0 Reputation points
accepted 2024-05-15T08:28:06.32+00:00
Tony Josi 0 Reputation points
1 answer

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application.

I'm using VS for developing .net application in my system. Whenever the system restarts or whenever the application reopens, Visual studio doesn't recognize it as a .net application and publish option wouldn't be available when I try to deploy and some…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,433 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-14T20:58:27.2933333+00:00
Rishitha 0 Reputation points
edited an answer 2024-05-15T07:27:10.28+00:00
Jiachen Li-MSFT 26,831 Reputation points Microsoft Vendor
4 answers

How to achieve that properties set in Myprops.props override those set for the project?

I want to reuse Visual Studio 2022 project settings, but have trouble to understand the docs. There is said: "Properties in a property sheet are overriden if the same property is set directly in the .vcxproj file. I assume that before adding a new…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
asked 2024-05-06T13:21:32.1466667+00:00
Fred Verhoeckx 0 Reputation points
commented 2024-05-15T05:59:20.7533333+00:00
Anna Xiu-MSFT 26,311 Reputation points Microsoft Vendor
0 answers

Error squiggle not showing in visual studio code

Can't see error squiggles I have three files in my new C++ empty project, two of which are main.cpp and functions.cpp. I can see error squiggles in main.cpp but it is not in functions.cpp. The show squiggle option is on.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,548 questions
asked 2024-05-11T18:02:21.64+00:00
Samit Singh 0 Reputation points
commented 2024-05-15T04:18:50.4633333+00:00
Anna Xiu-MSFT 26,311 Reputation points Microsoft Vendor
3 answers

Visual studio 2022 is not responding ,technically stops responding when i want to run the codes

Hey guys . For the past week visual studio has been slow ,it takes forever to launch , it doesn't want to display forms (whenever i press the start run thing after coding it will just freeze after a while it will say visual is not responding maybe after…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,660 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,336 questions
asked 2023-04-13T18:47:44.6733333+00:00
56140202 10 Reputation points
edited a comment 2024-05-15T02:25:01.8733333+00:00
Abd-ur-rehman Mustafa 0 Reputation points
0 answers

what could cause breakpoints to be ignored?

Sometimes I have the problem that break points don't stop. And instead of guessing around, I'd rather like to understand how they work and why the sometimes fail. Now, from my understanding, a break point is a special cpu command "int 3" which…

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
948 questions
asked 2024-05-14T21:21:41.89+00:00
Rudolf Meier 271 Reputation points
commented 2024-05-14T23:21:12.7133333+00:00
David Lowndes 2,355 Reputation points MVP