6,841 questions with Visual Studio-related tags

Sort by: Updated
1 answer

Console loses focus when running in debug mode

It's a c++ console app. When running in debug mode (F5), the console window (WindowsTerminal.exe) loses focus half of the time. There's no problem with running without debugging (ctrl+f5).

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
asked 2024-10-16T22:24:19.8366667+00:00
z l 0 Reputation points
commented 2024-10-19T19:53:57.44+00:00
z l 0 Reputation points
1 answer One of the answers was accepted by the question author.

Extension to detect when a string get hovered on the document

I'm trying to create a Visual Studio 2022 extension to detect whenever a specific string on a .cpp or .h file get hovered, the project atm have only two files. I have set a breakpoint on InitializeAsync of ImagePackage.cs, when i start debugging the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 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.
221 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 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.
221 questions
asked 2024-10-18T00:52:53.9333333+00:00
Masa Yuilki 20 Reputation points
accepted 2024-10-19T16:52:38.5333333+00:00
Masa Yuilki 20 Reputation points
1 answer One of the answers was accepted by the question author.

Extension to detect when a string get hovered on the document

I'm trying to create a Visual Studio 2022 extension to detect whenever a specific string on a .cpp or .h file get hovered, the project atm have only two files. I have set a breakpoint on InitializeAsync of ImagePackage.cs, when i start debugging the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 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.
221 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 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.
221 questions
asked 2024-10-18T00:52:53.9333333+00:00
Masa Yuilki 20 Reputation points
accepted 2024-10-19T16:52:38.5333333+00:00
Masa Yuilki 20 Reputation points
0 answers

why the C# pre-build and post-build events are not called if I import a custom target with my own build target in it.

why the C# pre-build and post-build events are not called if I import a custom target with my own build target in it ? I have a C# project file, which I modified by importing my own custom target file. Inside the target, I have defined a…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 questions
asked 2024-10-18T18:57:01.24+00:00
67883078 41 Reputation points
2 answers

I install visual studio 2022 community and install azure packages when i try to create azure function project i get error of CS0234 which is Microsoft. Azure packed not found

I installed Visual Studio 2022 community and installed Azure packages when I try to create an Azure function project I get an error of CS0234 which is Microsoft. Azure packed not found what is cause of this and what is solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
asked 2024-10-16T18:21:52.79+00:00
answered 2024-10-18T17:58:59.95+00:00
0 answers

Lifetime validation error. Token is expired

Hello,https://graph.microsoft.com/v1.0/me when i try to call this api from my .net core application. It says "Lifetime validation error. Token is expired" even if the token is new. Need your help

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,573 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,113 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,295 questions
asked 2024-10-18T13:45:22.4866667+00:00
Mayur 0 Reputation points
commented 2024-10-18T14:07:51.0833333+00:00
Tiny Wang-MSFT 2,721 Reputation points Microsoft Vendor
1 answer

Inserting TextAnnotation in graph c#

I creating simple graph with line as average (sample only), I have a code in HorizontalLineAnnotation (color red line) and TextAnnotation but the problem is that, the TextAnnotation not working properly. Here my code in HorizontalLineAnnotation and…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,962 questions
asked 2024-10-12T10:42:00.2033333+00:00
YUI-012 60 Reputation points
edited a comment 2024-10-18T14:05:51.15+00:00
YUI-012 60 Reputation points
2 answers

VS Version 17.11.5 - SSRS report RDLs open BLANK

Hello, Version 17.11.5 - SSRS report RDLs open BLANK I have submitted this from VS but have not received any help. It gets set to Triaged or marked as a duplicate and I have not heard back. I am a tad surprised this is not a widespread issue because…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,928 questions
asked 2024-10-11T18:40:50.0633333+00:00
Linda 21 Reputation points
commented 2024-10-18T13:24:42.6933333+00:00
Linda 21 Reputation points
1 answer

System.AccessViolationException when adding a new item in Visual Studio using IVsProject.AddItem

I'm encountering a System.AccessViolationException while working in Visual Studio 2022. The error occurs specifically when I try to add a new UI or CLR item to a project using the IVsProject.AddItem() method. Below is the full exception log: Aplicación:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
337 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,742 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,163 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,724 questions
asked 2024-10-16T21:32:58.7566667+00:00
Julius 0 Reputation points
answered 2024-10-18T09:30:59.86+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
4 answers

Visual Studio 2022 has stopped showing errors and intellisense

For the last 7 days Visual Studio 2022 no longer shows red squiggles under any errors in the IDE text editor and no errors in the Errors List window. If I try to build it fails and I can see the errors in the Output window, but no errors are listed in…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
asked 2024-05-09T15:17:14.2366667+00:00
Dave Barnard 20 Reputation points
commented 2024-10-18T07:59:56.8733333+00:00
Kyaku Kumo 0 Reputation points
1 answer

How to edit the visual studio, devenv.exe.config, file since it is read-only

The file devenv.exe.config is read-only. How do I edit it from within visual studio so that I can add the proxy to it.

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.
1,047 questions
asked 2024-10-15T17:56:14.24+00:00
Welsh, Scott E Collins 0 Reputation points
edited a comment 2024-10-18T06:44:47.9866667+00:00
Tianyu Sun-MSFT 30,821 Reputation points Microsoft Vendor
3 answers

Can't install Visual C++ 2008 Redistributable.

I don't know what is "Microsoft.VC90.ATL",and I can't find it on Microsoft.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,742 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.
1,047 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,742 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.
1,047 questions
asked 2024-10-15T14:43:36.08+00:00
Sky Walker 0 Reputation points
edited the question 2024-10-18T06:44:11.31+00:00
Tianyu Sun-MSFT 30,821 Reputation points Microsoft Vendor
3 answers

Can't install Visual C++ 2008 Redistributable.

I don't know what is "Microsoft.VC90.ATL",and I can't find it on Microsoft.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,742 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.
1,047 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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,742 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.
1,047 questions
asked 2024-10-15T14:43:36.08+00:00
Sky Walker 0 Reputation points
edited the question 2024-10-18T06:44:11.31+00:00
Tianyu Sun-MSFT 30,821 Reputation points Microsoft Vendor
0 answers

Microsoft Partner Center Registration Form Not Working. Can't Pay $19 Registration Fee

I was creating my account on Microsoft Partner Center to submit my software to the Windows Store and when I get to the screen to pay the $19 registration fee - it does not work. I entered all the payment information and hit the "save" button…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
993 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.
221 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.
1,047 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
993 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.
221 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.
1,047 questions
asked 2024-10-17T16:03:30.3566667+00:00
Dania Schneider 0 Reputation points
commented 2024-10-18T05:16:46.7166667+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
0 answers

Microsoft Partner Center Registration Form Not Working. Can't Pay $19 Registration Fee

I was creating my account on Microsoft Partner Center to submit my software to the Windows Store and when I get to the screen to pay the $19 registration fee - it does not work. I entered all the payment information and hit the "save" button…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
993 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.
221 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.
1,047 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,894 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
993 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.
221 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.
1,047 questions
asked 2024-10-17T16:03:30.3566667+00:00
Dania Schneider 0 Reputation points
commented 2024-10-18T05:16:46.7166667+00:00
Junjie Zhu - MSFT 18,081 Reputation points Microsoft Vendor
0 answers

An unexpected network error has occurred. The app list cannot be refreshed. Please retry by pressing the Refresh button. Visual Studio 2022

Hello everyone, I’m experiencing an issue with Visual Studio 2022 while trying to create a new publish store package. When I first reached the app list panel, I was facing the issue that it didn’t sync my account, and I couldn’t see any of my store app…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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.
350 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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.
350 questions
asked 2024-10-17T11:34:29.3066667+00:00
Nallamuthu Sundhararajan 0 Reputation points
commented 2024-10-18T03:09:32.92+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
0 answers

An unexpected network error has occurred. The app list cannot be refreshed. Please retry by pressing the Refresh button. Visual Studio 2022

Hello everyone, I’m experiencing an issue with Visual Studio 2022 while trying to create a new publish store package. When I first reached the app list panel, I was facing the issue that it didn’t sync my account, and I couldn’t see any of my store app…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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.
350 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 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.
350 questions
asked 2024-10-17T11:34:29.3066667+00:00
Nallamuthu Sundhararajan 0 Reputation points
commented 2024-10-18T03:09:32.92+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
1 answer

Visual Studio 2022 Enterprise class library not load solution

My MVC website project has two class libraries that can't be loaded in Visual Studio, and both of these libraries have Web.config files. Other classes can be opened because they don't have Web.config files. However, I can open the same project on another…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
asked 2024-10-15T13:59:15.81+00:00
Phạm Quang Hưng 0 Reputation points
commented 2024-10-18T02:16:34.4133333+00:00
Anna Xiu-MSFT 29,096 Reputation points Microsoft Vendor
1 answer

Help analyse BSOD BugcheckCode 268435583

Hello, I am getting a BSOD with BugcheckCode 268435583 whenever I try to run Acronis backup using an external USB drive. Can someone please help with analysing the cause of the problem? I can submit the mini dump files for analysis. Thanks.

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.
999 questions
asked 2024-10-12T00:46:48.4+00:00
Sam 0 Reputation points
commented 2024-10-17T21:33:36.7033333+00:00
Sam 0 Reputation points
9 answers

Visual Studio 2019 constantly crashing

Hi. I'm at my wit's end with this. I've used VS2017 for years, it was mostly solid. Just a few little quirks. I recently installed 2019 Community so I could use .NET 5 and it's nothing but headache after headache. It's laggy, has a lot more quirks…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,142 questions
asked 2021-05-31T21:39:03.66+00:00
Doug Matthews 26 Reputation points
commented 2024-10-17T17:00:07.5233333+00:00
Falanga, Rod, DOH 190 Reputation points