6,938 questions with Visual Studio-related tags

Sort by: Updated
0 answers

Can't deploy Visual Studio Net 9.0 project with Android

While deploying a Visual Studio Net 9.0 project, it occasionally gives a warning: This project is not suitable for Android, check for errors. After deploying the project with Windows, it can be deployed on Android. This situation is repeated from time to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,647 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 0 Reputation points
3 answers

How do I add a project to Git (solution already added)

Hi all; This is weird, I have a solution with one project that is all in Git/DevOps. I created it and added it through VisualStudio. This is all working fine. I added a UnitTest project to the solution and it's added fine. But this project is not…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2022-04-05T17:50:51.987+00:00
David Thielen 3,136 Reputation points
answered 2024-11-21T07:59:51.31+00:00
Fevzi KARTAL 0 Reputation points
1 answer

The key combination (Ctrl+K, Ctrl+U) is linked to a command that is currently unavailable.

The key combination (Ctrl+K, Ctrl+U) is linked to a command that is currently unavailable. I don't do anything, But Ctrl+K can work, sometime Ctrl+K can not work. What should I do ? It is a bug?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-10-24T08:21:15.7866667+00:00
alice alice 40 Reputation points
commented 2024-11-21T06:23:02.98+00:00
Tianyu Sun-MSFT 31,411 Reputation points Microsoft Vendor
0 answers

Is there an error in this piece of code

a = 16 b = 25 c = 27 if a > b: if b > c: print ("a is greater than b and b is greater than c") else: print ("a is greater than b and less than c") elif a == b: print ("a is equal to…

Visual Studio Training
Visual Studio Training
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Training: Instruction to develop new skills.
24 questions
asked 2024-11-21T02:16:47.0666667+00:00
Taiyan Paige 0 Reputation points
commented 2024-11-21T05:55:32.0466667+00:00
Pradeep M 3,935 Reputation points Microsoft Vendor
0 answers

Copying Over Forms in VS2022

Hello everyone. I am having an issue in VS2022 that I have never had before and do not know why. I work for a company and I have created our ERP System in Visual Studio. We constantly add things or make changes to the programs, forms, reports, etc. There…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,742 questions
asked 2024-11-20T18:05:56.2533333+00:00
Todd Lerew 60 Reputation points
edited a comment 2024-11-21T03:14:22.56+00:00
Tianyu Sun-MSFT 31,411 Reputation points Microsoft Vendor
0 answers

/MT and /MD question

I build on windows and use cmake vs2022 I try to build cef project and it always show 命令列 warning D9025: 覆寫 '/MD',以 '/MT' Is it possible for four case? /MT => generate static lib /MT => generate dynamic lib /MD => generate dynamic lib /MD…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 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,773 questions
asked 2024-11-19T00:39:07.44+00:00
alice alice 40 Reputation points
edited a comment 2024-11-21T01:49:20.2133333+00:00
alice alice 40 Reputation points
7 answers

Keyboard not working correctly in Visual Studio 2022

Running VS2022 17.7.4. Frequently only alpha numeric keys work. All function keys, backspace etc not working. Keyboard works fine in all other programs. Reset Key mapping has no effect.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2023-09-24T15:22:24.3733333+00:00
Chris Davies 125 Reputation points
commented 2024-11-21T00:45:49.03+00:00
Reid Miller 0 Reputation points
2 answers

SQL71562: Unresolved Reference to Object [$(dbVariable)].[sys].[objects] After Upgrading to VS 2022 (17.12) Pro

A SQL Server Data Tools (SSDT) solution that has been used for several years includes multiple database projects, some referencing the master database and/or using [sys] tables in other referenced database projects within the same solution. This solution…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-11-19T14:50:36.1533333+00:00
Jason Selburg 0 Reputation points
answered 2024-11-20T21:38:46.7333333+00:00
Jason Selburg 0 Reputation points
2 answers

How to fix error : The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

I followed this https://stackoverflow.com/questions/67049414/windows-or-visual-studio-2022-cant-find-the-latest-installed-net-sdk-due-to-bi/67049415#67049415 and I still received the same error despite restarting the application to make sure the changes…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,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,053 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,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,053 questions
asked 2023-11-17T19:15:39.3766667+00:00
Brayan Escamilla Reyes 5 Reputation points
commented 2024-11-20T21:06:23.57+00:00
Nikolas Kostadinov 0 Reputation points
2 answers

How to fix error : The SDK 'Microsoft.NET.Sdk.Web' specified could not be found.

I followed this https://stackoverflow.com/questions/67049414/windows-or-visual-studio-2022-cant-find-the-latest-installed-net-sdk-due-to-bi/67049415#67049415 and I still received the same error despite restarting the application to make sure the changes…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,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,053 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,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,053 questions
asked 2023-11-17T19:15:39.3766667+00:00
Brayan Escamilla Reyes 5 Reputation points
commented 2024-11-20T21:06:23.57+00:00
Nikolas Kostadinov 0 Reputation points
1 answer

Use Visual Studio with an admin account

How do I update my Visual Studio license when using shift right-click, run as different user to my admin account given that no key is provided, and that I cannot sign in from Visual Studio? I started the trial but now have 5 days left. I am sometimes…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-11-14T21:16:21.94+00:00
Folkerts, Stephen [NN-US] 0 Reputation points
commented 2024-11-20T16:52:10.87+00:00
Folkerts, Stephen [NN-US] 0 Reputation points
1 answer One of the answers was accepted by the question author.

VC runtime redistributable

Hello, What type of license needs to be bought to commercially redistribute the VC runtime without any restrictions? https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170 Is it free if we own a Visual Studio 2022…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 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,773 questions
asked 2023-10-17T15:35:20.39+00:00
Services@MC 45 Reputation points
commented 2024-11-20T15:07:54.42+00:00
Steven Jeuris 0 Reputation points
1 answer

I'm running Windows 11 24H2 and using Visual Studio 2022 Professional. When debugging my program, it fails with "Error while trying to run project: unable to start the program".

However, this is working on my laptop just fine. It has Visual Studio 2022 and runs this same debug without issue. I think it is related to windows 24H2, but can't be sure. The program I'm debugging hasn't changed so it related to something else. I am…

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.
1,005 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,006 questions
asked 2024-11-04T16:48:00.14+00:00
Chris Hurtig 10 Reputation points
commented 2024-11-20T14:34:52.0066667+00:00
Chris Hurtig 10 Reputation points
1 answer

I just upgraded to win11. Now, visual studio 15 will not run. I need specific features in vs15 and do not want vs2022. How an I get vs15 to run in windows 11

I can’t download vs 15. It shows up grayed out on the download page. When I open vs15 in win11, it says “License: Prerelease Software , Your license has expired. any help would be appreciated.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-11-14T02:22:18.16+00:00
Alan Hawkins 0 Reputation points
answered 2024-11-20T13:18:12.48+00:00
Anna Xiu-MSFT 29,926 Reputation points Microsoft Vendor
0 answers

devenv.exe command line execution mode is not working as expected

Hello! I was using devenv.exe command mode to compile the whole Unreal Engine source code. As the VS doc says, I constructed the following bat code: "XXXXXX\devenv.exe" "xxxxxx\UE5.sln" /Rebuild "Development Editor|Win64"…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-11-18T03:58:42.38+00:00
Mao 0 Reputation points
commented 2024-11-20T12:19:03.6466667+00:00
Anna Xiu-MSFT 29,926 Reputation points Microsoft Vendor
1 answer

Visual Studio Community problems on Windows 11 platform

I've had projects made by Visual Studio Community on windows 10 platform. After upgrading to windows 11 none of my project can't rebuild although there are no errors. All the nuget packages lost. After reloading all the nuget packages; It writes…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,006 questions
asked 2024-11-16T07:21:00.69+00:00
Huseyin Unsal 0 Reputation points
commented 2024-11-20T06:59:23.1733333+00:00
Tianyu Sun-MSFT 31,411 Reputation points Microsoft Vendor
1 answer

VS 2022, Windows application development workload, and Dotnet 6

Dotnet 6 is now EOL. The current version of Visual Studio 2022, 17.12, requires Dotnet 6 to install the Windows application development workload. Who's responsible for for this workload in VS 2022?

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,053 questions
asked 2024-11-14T17:29:53.0933333+00:00
Sean Lively 0 Reputation points
edited the question 2024-11-20T01:42:47.19+00:00
Jack J Jun 24,516 Reputation points Microsoft Vendor
3 answers

Copilot suggestion not triggered with TAB

Im on the latest Visual studio 20022 and copilot installs. When trying to accept a copilot suggestion with tab it triggers intellisense instead... example: When I hit tab it selects "Connectionstrings" and not the copilot…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2023-05-18T08:08:58.8633333+00:00
Reuben Kruger 11 Reputation points
commented 2024-11-19T21:34:24.9866667+00:00
Tim Burris 0 Reputation points
3 answers

How to set a custom PS profile for VS Start Without Debugging action?

When console app is launched with the Start Without Debugging action, the Visual Studio (VS) 2022 opens a default PowerShell (PS) console for it. I would like to use a custom PS profile for that. How it can be done? The issue that I would like to solve…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2023-12-27T15:03:36.6833333+00:00
Igor Pavlov 0 Reputation points
commented 2024-11-19T16:36:27.47+00:00
nickfurry533 0 Reputation points
1 answer

Error "The Microsoft Store experiencing network issues" when trying to publish app

Whenever I try to link my app to the Microsoft Store, I encounter an error message saying, "The Microsoft Store is experiencing network issues." However, the Partner Center site works fine when accessed through a browser.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
asked 2024-11-19T08:41:30.93+00:00
Hamza Obaidat 0 Reputation points
edited the question 2024-11-19T08:45:05.4533333+00:00
Hamza Obaidat 0 Reputation points