7,048 questions with Visual Studio-related tags

Sort by: Updated
2 answers

.NET 9 UWP Build Error

A blank project created in Visual Studio 2022 using .NET 9 UWP generates a build error: Microsoft.UI.Xaml.Markup.winmd cannot be referenced. Referencing a Windows Metadata component directly when targeting .NET 5 or higher is not supported. For more…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
Universal Windows Platform (UWP)
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-12T08:26:00.6966667+00:00
Singh Wong 51 Reputation points
commented 2024-12-27T07:44:39.38+00:00
Junjie Zhu - MSFT 19,751 Reputation points Microsoft Vendor
1 answer

How do I make a richTextBox have a transparent background / show the image beneath it? (C#, Windows Forms App)

Hello, as per the title, I want to make the richTextBox in my project transparent, or have a way to show the image beneath it. Whenever I try to set the backcolor to transparent, i always get "Property value is not valid" with "Control…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,915 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,312 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.
11,154 questions
asked 2024-12-27T06:00:17.44+00:00
dorian tester 0 Reputation points
answered 2024-12-27T06:43:01.78+00:00
Jiale Xue - MSFT 48,441 Reputation points Microsoft Vendor
1 answer

Fix Winform Designer Error

Hi all ! Suddenly my designer decided to stop working for my project. I get the following error Any help is appreciated. Instances of this error (1) Hide Call Stack at…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,312 questions
asked 2024-12-21T08:13:12.5166667+00:00
Juan Manuel Sanchez 0 Reputation points
commented 2024-12-27T06:13:08.1666667+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Pipeline Failure Due to MSBuild Version Mismatch with .NET SDK 8.0.300

I am encountering an issue while running my Azure DevOps pipeline using Microsoft-hosted agents. My .NET code is built using version 8.0.300, which requires MSBuild version 17.8.3 or higher. However, the available MSBuild version on the Microsoft-hosted…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 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,312 questions
asked 2024-12-26T14:35:33.88+00:00
Niket Kumar Singh 390 Reputation points
accepted 2024-12-27T04:34:11.8666667+00:00
Niket Kumar Singh 390 Reputation points
1 answer

How to fix ASPNETCOMPILER(0,0): Error ASPRUNTIME: The specified path, file name, or both are too long

I keep having this error. Not sure how to fix it ASPNETCOMPILER(0,0): Error ASPRUNTIME: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-26T23:52:24.0866667+00:00
An Vu 0 Reputation points
answered 2024-12-27T02:39:40.2766667+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer

Maui project - Microsoft.AspNetCore.Aoo didnt work with the APP

1-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'iossimulator-x64'. 2-There was no runtime pack for Microsoft.AspNetCore.App available for the specified RuntimeIdentifier 'maccatalyst-x64'.

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,368 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
4,009 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,704 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
355 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.
352 questions
asked 2024-12-20T19:56:57.6366667+00:00
Maher Elmecery 0 Reputation points
commented 2024-12-27T02:19:26.53+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 46,281 Reputation points Microsoft Vendor
1 answer

Unable to Publish due to error

Hi, I can't publish my web application. Here is the error: Copying file .vs\RRP\FileContentIndex\0ac36fe6-802e-44a7-9b93-d944d227fb3a.vsidx 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,312 questions
asked 2024-12-26T23:13:53.5466667+00:00
An Vu 0 Reputation points
commented 2024-12-27T01:43:47.82+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer

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,312 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.
352 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,312 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.
352 questions
asked 2024-10-17T11:34:29.3066667+00:00
Nallamuthu Sundhararajan 20 Reputation points
answered 2024-12-26T17:28:30.6233333+00:00
Divyesh Govaerdhanan 155 Reputation points
1 answer

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,312 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.
352 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,312 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.
352 questions
asked 2024-10-17T11:34:29.3066667+00:00
Nallamuthu Sundhararajan 20 Reputation points
answered 2024-12-26T17:28:30.6233333+00:00
Divyesh Govaerdhanan 155 Reputation points
1 answer

how to develop wsl on windows

I use visual studio 2022. I already install WSL. and it show the message. I don't know what is the informaion. I only have one PC.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-26T09:19:25.41+00:00
alice alice 80 Reputation points
answered 2024-12-26T13:12:18.3033333+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor
1 answer

how to develop linux on docker

My system is windows11 and use visual studio 2022. I install docker on my windows and create a image docker How to use the vs to link the linux docker.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-26T09:13:03.74+00:00
alice alice 80 Reputation points
answered 2024-12-26T11:49:52.7233333+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor
1 answer

LinqToSql .net 8.0 need support NuGet package for System.Data.Linq library

When upgrading to V.S. 2022 .net 8.0, the Linq To Sql (DBML classes) are no longer included. I found a NuGet package that is unofficial. Is there an Official M.S. NuGet supported package for Linq To Sql libraries?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-18T14:27:49.4466667+00:00
Bernstein, Harvey 0 Reputation points
commented 2024-12-26T04:17:03.19+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer

How to specify location of command line dialog

Windows 11, Visual Studio 2019, Python in command line When the code is started the command line window opens beneath the VS dialog.  How can the location be set to a specific place other than beneath the primary VS dialog? Side question: Can the word…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-15T02:33:35.46+00:00
Bryan Kelly 381 Reputation points
commented 2024-12-26T03:41:16.7566667+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Visual Studio wants to install on C:\ even tho i changed every install path

I am currently trying to install Visual Studio 2022 but I don't want to install it on the C:\ drive. I changed the IDE install path, the Downloadcache path and i also changed the shared-folder path in my registry. If I try to install it I still get 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,312 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,067 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,312 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,067 questions
asked 2023-10-26T19:53:52.7833333+00:00
mnauno 20 Reputation points
commented 2024-12-26T00:06:18.1466667+00:00
DIEGO CAMILO SILVA TELLEZ 20 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio wants to install on C:\ even tho i changed every install path

I am currently trying to install Visual Studio 2022 but I don't want to install it on the C:\ drive. I changed the IDE install path, the Downloadcache path and i also changed the shared-folder path in my registry. If I try to install it I still get 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,312 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,067 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,312 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,067 questions
asked 2023-10-26T19:53:52.7833333+00:00
mnauno 20 Reputation points
commented 2024-12-26T00:06:18.1466667+00:00
DIEGO CAMILO SILVA TELLEZ 20 Reputation points
3 answers

Visual Studio 2022 automatically closing when i try to open it

I installed a new windows 10 on my pc after installing windows i download the visual studio 2022 community 17.6.2 .After successfull installation of visual studio when i try to launch it ,it closes or crashes after few seconds without showing any error…

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,908 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,312 questions
asked 2023-06-15T18:28:35.5666667+00:00
SYED ALI HUSSAIN 30 Reputation points
answered 2024-12-25T23:01:26.61+00:00
Богдан Фадеев 0 Reputation points
1 answer

When I try to restore nuget package or build the solution the visual studio is asking for credentials pop up continuously

when I try to restore NuGet package or build the solution the credentials are popping up continuously and I can't be able to restore or build the solution even I can install the packages because of the pop up. I have attached the image below. could you…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
729 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,312 questions
asked 2024-12-24T10:36:49.95+00:00
Sadiq Shaik 0 Reputation points Microsoft Vendor
edited the question 2024-12-25T11:41:21.25+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor
1 answer

i cant download microsoft visual c++ because it says setup failed 0x800705b4 i did not find any tutorials on youtube how to fix it,Please help me microsoft team

I wanted to install microsoft visual c++,when i download the microsoft visual c++ installer is stuck at initializing and then after 3-2 minutes it says setup failed.

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,908 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,559 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,807 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,067 questions
asked 2023-05-21T16:28:56.12+00:00
Mario Regele 5 Reputation points
commented 2024-12-25T10:03:08.7233333+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor
2 answers

How to disable pop-up window with tips etc. in VS 2022 v17.12.2.

I'm new to VS trying to teach myself some HTML. How do you disable the pop-up box from appearing?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,312 questions
asked 2024-12-02T23:09:37.3666667+00:00
Don 0 Reputation points
commented 2024-12-25T08:42:26.3+00:00
Anna Xiu-MSFT 30,391 Reputation points Microsoft Vendor
1 answer

Adding Blazor Identity to existing Blazer project fails with a 'null path' exception

Hi! I have the following: .Net SDK 9 Visual Studio Community 2022 v 17.12.3 Windows v10.0.19044 Blazer Server App When I try to add the Blazor Identity "scaffolding" I get a "There was an error running the selected code generator:…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,634 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,312 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.
11,154 questions
asked 2024-12-18T11:16:39.07+00:00
kodo65 0 Reputation points
commented 2024-12-25T08:20:56.4333333+00:00
Tianyu Sun-MSFT 31,956 Reputation points Microsoft Vendor