6,940 questions with Visual Studio-related tags

Sort by: Updated
0 answers

VS2022 vs ptrust.cpp

While attempting a C++ compile in VS2022 the following error is raised: LNK1104 cannot open file 'msvcurt.lib' A search for this file in the VS2022 file structure results in 'file not found'. Searching by file contents results in this file being…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,223 questions
asked 2024-11-21T14:22:28.62+00:00
J Slade 1 Reputation point
edited the question 2024-11-21T14:27:20.0033333+00:00
J Slade 1 Reputation point
6 answers

Apple Developer Account: Individual - error 'There was an error while trying to log in: Provide a properly configured and signed bearer token, and make sure that it has not expired learn more about generating tokens for API requests'

I have an issue when trying to sign in with my apple developer account on visual studio 2022 (v17.4.1). Firstly, I when trying to sign in as an 'individual account' I get this error ‘there was an error while loading your certificates: The Apple Developer…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,362 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,223 questions
asked 2022-11-22T08:48:18.217+00:00
Brian Kekana 26 Reputation points
commented 2024-11-21T14:09:19.7133333+00:00
AKS 0 Reputation points
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,223 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,743 questions
asked 2024-11-20T18:05:56.2533333+00:00
Todd Lerew 60 Reputation points
commented 2024-11-21T14:09:02.5533333+00:00
Todd Lerew 60 Reputation points
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,223 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,649 questions
asked 2024-11-21T08:43:20.9+00:00
Huseyin Unsal 0 Reputation points
commented 2024-11-21T13:36:23.23+00:00
Anna Xiu-MSFT 29,931 Reputation points Microsoft Vendor
1 answer

I can not use iis Express

I am experiencing issues where a message stating "Failed to run IIS" occurs on two different PCs. Here are the details: Environment Information OS: Windows 11 24H2 (OS Build: 26100.2033) Visual Studio: Visual Studio 2022 Professional…

Internet Information Services
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,223 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,743 questions
asked 2024-11-21T13:08:14.6466667+00:00
弘善 飯田 0 Reputation points
edited the question 2024-11-21T13:30:40.22+00:00
Anna Xiu-MSFT 29,931 Reputation points Microsoft Vendor
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,223 questions
asked 2024-11-14T21:16:21.94+00:00
Folkerts, Stephen [NN-US] 0 Reputation points
commented 2024-11-21T13:15:43.95+00:00
Folkerts, Stephen [NN-US] 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,223 questions
asked 2024-11-19T14:50:36.1533333+00:00
Jason Selburg 0 Reputation points
commented 2024-11-21T12:59:30.2166667+00:00
Kilian 345 Reputation points
1 answer

/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,223 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,774 questions
asked 2024-11-19T00:39:07.44+00:00
alice alice 40 Reputation points
edited an answer 2024-11-21T12:26:19.1066667+00:00
RLWA32 45,706 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,223 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,223 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
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,223 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

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,223 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,223 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,223 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,223 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 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,223 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,774 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,008 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,223 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,931 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,223 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,931 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,223 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
10,008 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