Microsoft Q&A

Visual Studio

3,882 questions

A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.

776 questions with Visual Studio-related tags

Sort by: Updated
0 answers

Visual Studio giving errors about incompatible packages that are not installed

I have an ASP.NET Blazor server-side solution that I (and other team members) have been working on for months. I just pulled the code from source control onto my lap top. However, VS gives errors like this... Package Microsoft.Win32.Registry…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
623 questions
asked 2022-11-20T14:52:38.523+00:00
Yossu 6 Reputation points
edited a comment 2023-02-02T22:51:49.4166667+00:00
Lord Asrothear 0 Reputation points
0 answers

Registered File Association no longer working in MFC App after porting to 64 bits?

Our application has stopped working when a user double clicks on a data file that has been registered with the shell. When the user double clicks the data file the application is still opened by windows and the '/dde' command line argument is received,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 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.
2,627 questions
asked 2023-02-02T17:41:07.6666667+00:00
John Wilk 0 Reputation points
commented 2023-02-02T21:52:40.04+00:00
John Wilk 0 Reputation points
0 answers

Visual Studio 2022 Designer Errors with .NET Core Windows Forms apps

I have noticed that as I am designing .NET Core Windows applications in Visual Studio 2022, it frequently yet randomly shows the error in the attached image. This usually comes up when I make changes to the form code (even if it doesn't affect any…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-02-02T21:12:59.0933333+00:00
Paul McConnell 0 Reputation points
0 answers

How fix The program '[54321] Python @ tcp://localhost:57777/' has exited with code 4294967295 (0xffffffff).

recently i start using visual studio for python with selenium automation. when i am running selenium automation from command line, everything working successfully. when i run tests from Visual studio 2022 , i am seeing below error The program '[54321]…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-02-02T20:01:38.9533333+00:00
Shankar Yalagonda 0 Reputation points
0 answers

MSVC compiler hangs on user defined operator overload

I have header which sets some identifier and also holds some sub class also and for interoperability we have defined operator overloads for main class and all its sub classes. And sample code like below, it takes lot of time to compile this. And some…

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.
2,627 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
370 questions
asked 2023-02-02T12:37:30.34+00:00
Mohammad Mohsin Siddiqui 5 Reputation points
commented 2023-02-02T15:04:48.03+00:00
David Lowndes 4,231 Reputation points Microsoft MVP
0 answers

Visual Studio 2022 another problem with class View

Ok so I open VS. Then I open an XAML file. I go to an ItemsSource and copy the property. Then I go to Class View. Well the search is not available. This is reproducable. And why is the class view not available all the time. The open source…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2022-12-31T18:18:57.333+00:00
Lloyd Sheen 776 Reputation points
commented 2023-02-02T09:25:02.5433333+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

Visual Studio Ent MSDN LSA OLV

Hi, Please help me to get a PDF document or a link that explains the features & benefits of Visual Studio Ent with MSDN under OV program?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-02-01T11:39:51.63+00:00
NH 141 Reputation points
edited the question 2023-02-02T08:20:07.67+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

Padding of TextBox does not work when using style through Resources

Hello, I am working on a project and trying to set padding in XAML through UserControl.Resources. I am able to configure Margin and Height, but Padding value does not make any change to TextBox controls. I have several ComboBoxes, which Padding works…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,182 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.
6,984 questions
asked 2023-02-02T02:52:34.71+00:00
VladPE 0 Reputation points
commented 2023-02-02T07:05:59.13+00:00
Hui Liu-MSFT 14,796 Reputation points Microsoft Employee
0 answers

How can I call a method of the original class from the its fake class method

I created a fake assembly called MyProject.Web.Customer.Fakes from the project MyProject.Web.Customer. I am trying to call Read method of the MyProject.Web.Customer from its fake object from the test method.The fake class there is a method I have given…

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 a test as a means of analysis or diagnosis.
252 questions
asked 2023-02-02T05:06:24.5466667+00:00
Polachan Paily 0 Reputation points
edited the question 2023-02-02T06:24:19.49+00:00
XuDong Peng-MSFT 4,576 Reputation points Microsoft Employee
0 answers

C# from text file to XML

How to create a XML file from a txt? Worker type Employee ID First name Last name Offer extended date Offer acceptance date Employment date Job title Monthly salary Retirement program Retirement…

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,182 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 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.
6,984 questions
asked 2023-02-02T04:10:34.54+00:00
donkey 0 Reputation points
commented 2023-02-02T05:23:42.5233333+00:00
Jack J Jun 19,216 Reputation points Microsoft Employee
0 answers

From visual studio 2019 not able to connect to GIT. Getting GIT Authentication failed error

From visual studio 2019 not able to connect to GIT. Getting GIT Authentication failed error. Git failed with a fatal error. Authentication failed for '' I have done all the below steps Removed the TFS related credentials from Credential Manager Cleared…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-02-01T05:10:25.7866667+00:00
Ashwitha K 0 Reputation points
edited a comment 2023-02-01T10:55:41.63+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee
0 answers

Share an Settings.settings file with a visual studio shared project

Hi, We have a VSIX project targeting VS2019 that we updated so it can support VS2022 as well. The recommended way to do that is to add a shared project with the original code and create two VSIX projects targeting each version of VS that reference the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-01-31T10:19:31.36+00:00
Ludovic Mainguy 0 Reputation points
commented 2023-02-01T10:26:14.82+00:00
Ludovic Mainguy 0 Reputation points
0 answers

Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022)

Why I can't Fake-Mock "System" in .net core 6.0(VS Enterprise 2022), I don't know what happened?   I was trying to use "using System.Fakes; " , But it alert "missing an assemly reference" after following …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 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 a test as a means of analysis or diagnosis.
252 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,571 questions
asked 2023-01-31T10:06:39.3233333+00:00
Angelina Jolie 0 Reputation points
commented 2023-02-01T10:12:28.0266667+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

Picture box not displaying Emgu.cv.mat.toBitmap image

Was following a tutorial on YouTube and tried to get my program to display the live video feed from my webcam into the forms picture box but for some reason the webcam comes on but the picture box isn't displaying anything I have tried checking if the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 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.
6,984 questions
Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,322 questions
asked 2023-01-31T12:26:49.3166667+00:00
Chidera Nwosu 0 Reputation points
commented 2023-02-01T01:49:20.9233333+00:00
Jiachen Li-MSFT 10,911 Reputation points Microsoft Employee
0 answers

Can VS Code or VS Community automatically update references in HTML project?

have a structure with multiple html, css and js files (for a plain html website) and I am looking for a way to keep my references up to date when I move or rename one of my file. For example, here is my initial structure: Initial structure After renaming…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-01-30T15:58:23.39+00:00
Alexandre 0 Reputation points
commented 2023-01-31T08:04:39.9533333+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

How to fix Error Code 6002 for streaming on Discovery +?

Though I can watch Discovery+ on my work laptop; I keep getting Error Code 6002 on my Surface Pro 10X. What is the code and how can I fix it?

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.
696 questions
asked 2023-01-30T17:13:00.6+00:00
Aaron Decker 0 Reputation points
commented 2023-01-31T07:43:00.2066667+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

How to connect to linux remote server ?

Hello , I have been trying to connect to remote server using SSH using Microsoft visual studio but nothing is happening after i add all needed data in the cross platform logging I receive the below error connecting then disconnecting 11:33:35.6941763…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
3,042 questions
asked 2023-01-30T12:48:25.81+00:00
NALB 1 Reputation point
commented 2023-01-31T07:19:18.49+00:00
Tianyu Sun-MSFT 13,071 Reputation points Microsoft Employee
0 answers

Xamarin Profiler Does Not Connect

I have an enterprise license, and I have tried to run the Xamarin Profiler with a sample application. The profiler never connects to the app, and subsequently terminates the application even though it is running correctly. The application is running on…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
623 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,813 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.
696 questions
asked 2023-01-23T10:59:02.7433333+00:00
Richard Clements 0 Reputation points
commented 2023-01-31T07:02:05.6033333+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 41,496 Reputation points Microsoft Employee
0 answers

Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.

Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on…

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.
6,984 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
370 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
623 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
911 questions
asked 2023-01-30T18:27:08.49+00:00
Priya Baghel 1 Reputation point
commented 2023-01-31T04:31:09.7233333+00:00
Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 15,741 Reputation points Microsoft Employee
0 answers

Visual Studio SDK how to access commit message text box

Hi, I wanted to develop an extension like this: https://marketplace.visualstudio.com/items?itemName=emilianox.flow-jira-commit-prefix but for Visual Studio 2022. I have trouble finding out how to get access to the commit message textbox under the…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,428 questions
asked 2023-01-29T19:26:01.46+00:00
Jaroslaw Sliwinski 0 Reputation points
commented 2023-01-30T14:13:20.08+00:00
Anna Xiu-MSFT 11,111 Reputation points Microsoft Employee