6,784 questions with Visual Studio-related tags

Sort by: Updated
1 answer

Razor core app connects to DB, but integration test fails with Microsoft.Data.SqlClient.SqlException

I have an app that I've been writing and its working well. When I introduced an integration test, its unable to connect to the DB using the exact same connection string. Microsoft.Data.SqlClient.SqlException: 'A network-related or instance-specific…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,759 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,894 questions
asked 2024-09-28T14:36:46.4833333+00:00
Walter 1 Reputation point
commented 2024-10-01T21:28:59.7933333+00:00
Erland Sommarskog 110.8K Reputation points MVP
0 answers

How come I keep geting the errors when I use the simple shooter sample?

Theres a problem with this code: GameplayScreen.cpp `// Create a sphere primitive to represent the player.` ` // The sphere will be used to handle collisions and constrain the player in the world.` ` // It is not rendered so it is not added to 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,093 questions
asked 2024-10-01T20:26:45.3933333+00:00
Garrett Tiller 6 Reputation points
edited a comment 2024-10-01T20:48:04.58+00:00
Garrett Tiller 6 Reputation points
1 answer

Can't get VS Studio to see 6.0 or 8.0 Frameworks

I've been at this a while and can't seem to figure out where I am going wrong. I'm trying to get a .Net 6 or 8 Framework to show up when I create a windows forms .net app from the template. Only 4.x frameworks show up. I've reinstalled VS Studio…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,830 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,093 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,039 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,830 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,093 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,039 questions
asked 2024-10-01T15:22:53.4133333+00:00
answered 2024-10-01T16:22:07.77+00:00
Bruce (SqlWork.com) 64,826 Reputation points
1 answer

Can't get VS Studio to see 6.0 or 8.0 Frameworks

I've been at this a while and can't seem to figure out where I am going wrong. I'm trying to get a .Net 6 or 8 Framework to show up when I create a windows forms .net app from the template. Only 4.x frameworks show up. I've reinstalled VS Studio…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,830 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,093 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,039 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,830 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,093 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,039 questions
asked 2024-10-01T15:22:53.4133333+00:00
answered 2024-10-01T16:22:07.77+00:00
Bruce (SqlWork.com) 64,826 Reputation points
5 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,093 questions
asked 2023-12-27T15:03:36.6833333+00:00
Igor Pavlov 0 Reputation points
edited the question 2024-10-01T16:12:01.0133333+00:00
TP 93,611 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio 2019 crashes every time I open it

Every time I open Visual Studio 2019 Enterprise Edition, it crashes. I just looked at the event log and see this: Log Name: Application Source: .NET Runtime Date: 9/24/2024 2:58:16 PM Event ID: 1026 Task Category: None Level: …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
asked 2024-09-24T21:05:25.6133333+00:00
Falanga, Rod, DOH 190 Reputation points
accepted 2024-10-01T15:52:59.2966667+00:00
Falanga, Rod, DOH 190 Reputation points
1 answer

Slider vs SeekBar on Xamarin.Android in Visual Studio 2022

I am working on adding a Slider or SeekBar to a Xamarin.Android app. There are 2 scenarios in which I will be using this. The first one is just a simple standard select a value from x to y scenario. The second scenario is more unique, although I have…

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,347 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,830 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,093 questions
asked 2024-09-28T15:41:07.3533333+00:00
Nathan Sokalski 4,126 Reputation points
edited an answer 2024-10-01T15:12:54.1333333+00:00
Rob Caplan - MSFT 5,447 Reputation points Microsoft Employee
0 answers

Python Program Error: Missing Specific DLL Files

Hi everyone, I'm a beginner Python programmer and I'm currently facing an issue with a program I've been working on. While the program runs perfectly fine in Visual Studio Code, it encounters an error when executed as an executable file. Specifically, a…

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,372 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,093 questions
asked 2024-10-01T13:41:42.9933333+00:00
호균 김 0 Reputation points
0 answers

Microsoft Fakes and real object constructor

I'm using .NET 4.8 and Microsoft Fakes to create Shim object for unit testing. This class (KRSampleManager) is using Lazy initialization to create an instance and implements IDisposable interface. namespace SampleManager { public class…

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,894 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.
348 questions
asked 2024-10-01T09:08:03.5166667+00:00
Raja, Kushal 0 Reputation points
1 answer

How to fix "variable $(workspaceFolder) can not be resolved. Please open a folder."

error when debugging. It used to work just fine before idk what happed to visual studio

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.
998 questions
asked 2024-09-23T17:07:43.3166667+00:00
amrbahaa 0 Reputation points
commented 2024-10-01T09:06:40.5466667+00:00
Anna Xiu-MSFT 28,666 Reputation points Microsoft Vendor
1 answer

Problems starting Visual Studio Code on my companies Laptop

Hey. I have problems starting Visual Studio Code on my companies Laptop. The error message is in german but it's self explanatory: Thanks in advance for your suggestions. Regards Bayram

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,372 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,093 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.
998 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,570 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,372 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,093 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.
998 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,570 questions
asked 2024-10-01T07:08:48.4733333+00:00
BayramZengin-9587 0 Reputation points
answered 2024-10-01T08:39:18.9966667+00:00
Tianyu Sun-MSFT 30,556 Reputation points Microsoft Vendor
1 answer

Problems starting Visual Studio Code on my companies Laptop

Hey. I have problems starting Visual Studio Code on my companies Laptop. The error message is in german but it's self explanatory: Thanks in advance for your suggestions. Regards Bayram

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,372 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,093 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.
998 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,570 questions
Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,372 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,093 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.
998 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,570 questions
asked 2024-10-01T07:08:48.4733333+00:00
BayramZengin-9587 0 Reputation points
answered 2024-10-01T08:39:18.9966667+00:00
Tianyu Sun-MSFT 30,556 Reputation points Microsoft Vendor
0 answers

Visual Studio Professional Installation on Win 10 IoT Enterprise LTSC 2021 21H2 64-bit

Hi We use Win 10 IoT Enterprise LTSC 2021 21H2 64-bit. Requirement is to use VS 2022 professional /Enterprise edition for development. Is this windows version supported? Looks like no based on VS2022 support page. Why this is skipped? Is there a wayout?…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,549 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,093 questions
asked 2024-10-01T07:42:08.1333333+00:00
Shahaji Bhosle 0 Reputation points
1 answer

How to fix MSB4236The SDK 'Microsoft.NET.Sdk' specified could not be found.

Could not resolve SDK "Microsoft.NET.Sdk". Exactly one of the probing messages below indicates why we could not resolve the SDK. Investigate and resolve that message to correctly specify the SDK. The NuGetSdkResolver did not resolve this SDK…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
784 questions
asked 2024-09-27T04:52:34.4766667+00:00
Chris 0 Reputation points
commented 2024-10-01T07:27:49.5733333+00:00
Tianyu Sun-MSFT 30,556 Reputation points Microsoft Vendor
1 answer

TUnit Test is not showing in the Test Explorer

I created this simple test: namespace TestingApplication {     public class TestsExample     {         [Test]         public async Task TestExample()         {             var sum=Add(3,5);             await Assert.That(sum).IsEqualTo(3);         }     …

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.
348 questions
asked 2024-09-25T00:53:37.0866667+00:00
Muhammad Ghozlan 0 Reputation points
commented 2024-10-01T07:22:42.2066667+00:00
Anna Xiu-MSFT 28,666 Reputation points Microsoft Vendor
0 answers

This localhost page can’t be found No webpage was found for the web address: https://localhost:7165/Owner

I'm creating a basic visual studio code using C# and the component Blazor, where I want to show 2 different menus. One is for manufacturer section, the other for an owner. However, when attempting to run both pages, the manufacturer section stays…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
asked 2024-09-30T18:29:22.7233333+00:00
Jean C. Melendez 0 Reputation points
commented 2024-10-01T06:31:50.5033333+00:00
Tianyu Sun-MSFT 30,556 Reputation points Microsoft Vendor
3 answers

Unable to download Visual Studio Tools

I run Windows 11 that is up to date on all patches. I have gone to the https://visualstudio.microsoft.com/ page and trying to download the Visual Studio Community 2022 version. I click on Download and it takes me to a Thank you for downloading page, but…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
asked 2024-09-13T23:20:03.32+00:00
Aaron Sacco 0 Reputation points
commented 2024-10-01T06:15:17.5+00:00
Anna Xiu-MSFT 28,666 Reputation points Microsoft Vendor
0 answers

The older version of Microsoft Visual C++ X86 Minimum Runtime - 14.40.33810 cannot be removed. Contact your technical support group

Tried many times to install but says old version is still installed. Does not work. Need to install please help The troubleshooter tool did not work This If above troubleshooter tool doesn’t work, please try the method that shared by Brynne Stevens here…

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,714 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,039 questions
asked 2024-09-30T21:17:41+00:00
Daniel Da Costa 0 Reputation points
commented 2024-10-01T04:24:11.9566667+00:00
Tianyu Sun-MSFT 30,556 Reputation points Microsoft Vendor
1 answer

How do I connect my existing Visual Studio 2022 project to an existing github repository?

I set up a github repository to match the project I am working on in Visual Studio 2022. I did something wrong and only the project file exists. I followed a tutorial. But the tutorial was disappointing and the instruction was to drag the content of my…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
GitHub Training
GitHub Training
GitHub: A web-based hosting service for software development and version control using Git. Acquired by Microsoft in 2018.Training: Instruction to develop new skills.
41 questions
asked 2024-09-27T22:02:46.61+00:00
William Thompson 120 Reputation points
commented 2024-10-01T03:57:33.4866667+00:00
Pradeep M 3,190 Reputation points Microsoft Vendor
1 answer

Why did MS remove design tab in winui project?

Hello, I'm considering migrating my wpf app to WinUI and got a question. In WPF, I can see preview of UI design on design tab in wpf project. but I can't do that in WinUI one. why did MS remove it? if someone give me an answer for that, I'd be very…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,093 questions
asked 2024-09-29T09:57:05.76+00:00
c00012 716 Reputation points
commented 2024-10-01T03:35:17.15+00:00
Anna Xiu-MSFT 28,666 Reputation points Microsoft Vendor