6,491 questions with Visual Studio-related tags

Sort by: Updated
1 answer

VS2022 AntiVirus Exclusions

Can Microsoft provide a set of antivirus exclusions for Visual Studio 2022? One from Microsoft is needed for use in our corporate setting.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2022-01-14T18:42:15.48+00:00
AJ 16 Reputation points
commented 2024-07-11T22:49:25.0433333+00:00
Barnes Daniel 1 Reputation point
2 answers

XSLT/XSL-FO transformation function stops working (Exception from HRESULT: 0x80131401)

Hello, My Visual Studio is again not working for XSLT/XSL-FO transformations. The error message that displays is: FileLoadException Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401). All…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-05-20T11:36:54.8066667+00:00
Tsvetelina Ilieva 15 Reputation points
commented 2024-07-11T18:45:55.8533333+00:00
Ash Wetzel 0 Reputation points
0 answers

.NET MAUI, Android emulator is not ready to be used

I have also tried cleaning project, but it did not workI have installed x64 android emulator with API 21 on AMD CPU to get higher performance when I try to start debugging on it, I get 'There were deployment errors' and in the output window: Waiting for…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,200 questions
asked 2024-06-22T18:32:18.0833333+00:00
Hossam Fares 5 Reputation points
commented 2024-07-11T13:51:36.17+00:00
David langlois 0 Reputation points
2 answers

Class library dll throwing exception Could not load file or assembly 'Microsoft.Data.SqlClient, Version=5.0.0.0 but it reference version 5.2.0

I have created Class Library using Visual Studio 2022 community v 17.9.6 TragetFramework 8 project file <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup>.0 <TargetFramework>net8.0</TargetFramework> …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-04-29T20:35:54.9266667+00:00
Moshe Yalovsky 5 Reputation points
answered 2024-07-11T13:12:23.4166667+00:00
Deepak Selvaraj 0 Reputation points
2 answers One of the answers was accepted by the question author.

<Title> tag not reflected in AssemblyInfo.cs

Hello <Title> tag is not reflected in the generated AssemblyInfo.cs. ConsoleApp1.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> …

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 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,620 questions
asked 2024-07-11T09:58:48.1333333+00:00
Hideo Yamada 20 Reputation points
accepted 2024-07-11T10:33:33.63+00:00
Hideo Yamada 20 Reputation points
2 answers

Extension manager suggestions: How can I remove some extensions from the suggestions ?

Hello, For example I don't like to see resharper any time when I open the extension manager. I would like to have a possibility to remove it from my suggestion list. Thanks.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
191 questions
asked 2024-07-10T10:14:13.0733333+00:00
Yuriy Prokofiev 0 Reputation points
accepted 2024-07-11T10:11:48.4066667+00:00
Yuriy Prokofiev 0 Reputation points
4 answers

VS 19, SSIS project, getting and error "The specified provider is not supported. Please choose different provider in connection manager" when choosing OLEDB as the connection type

Using Visual Studio 19 on new laptop. Have installed the SSIS template. I also have SSMS 19 installed. I create a new project and try and create a new Connection Manager. I select OLEDB and click Add... On the next screen to configure the OLE DB I select…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,520 questions
asked 2023-04-26T00:34:01.27+00:00
Seeley, Steve 15 Reputation points
commented 2024-07-11T08:21:06.97+00:00
Maxime Vyls 0 Reputation points
1 answer

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 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,627 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.
336 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
commented 2024-07-11T05:08:11.25+00:00
R M 0 Reputation points
3 answers

Unable to Add New Package Configurations in the Package Configuration Wizard

Why can't I add new package configurations? I am getting the error message below. TITLE: Microsoft Visual Studio Could not leave the wizard page. For help, click:…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,520 questions
asked 2024-07-08T18:15:50.4766667+00:00
Chris Curran 0 Reputation points
answered 2024-07-10T15:47:54.37+00:00
Yitzhak Khabinsky 25,731 Reputation points
3 answers

No dlls are visible when I run the VS debugger. No breakpoints are available

I have an HTTP API project that was originally built in VS 2019 and has been migrated to VS 2022. When I run the project with the debugger in Visual Studio, no dlls are listed in the module window and the breakpoints are all open circles. If I deploy…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 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.
966 questions
asked 2024-07-03T23:16:48.4466667+00:00
Michael Warden 0 Reputation points
commented 2024-07-10T02:57:29.7066667+00:00
Tianyu Sun-MSFT 29,351 Reputation points Microsoft Vendor
2 answers

I have broken my Visual Studio set up. What should I do to fix it?

I installed Visual Studio Community edition a few months ago along with .NET MAUI and WinForms workloads. Everything was going smoothly until I decided I wanted to add WinUI3 workload. I thought I selected that properly, but after downloading that and…

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,008 questions
asked 2024-07-01T12:19:30.1966667+00:00
Joe Babb 60 Reputation points
commented 2024-07-10T02:53:01.82+00:00
Tianyu Sun-MSFT 29,351 Reputation points Microsoft Vendor
2 answers

How to repair the visual studio community bottom windows ?

I can't get rid of one of them and return to the default where there is one window at the bottom. I tried the dock on each window i tried to reset the templates or environment, i can't remember but i found in google something. but everything i tried…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-07-09T15:43:25.0366667+00:00
Chocolade 516 Reputation points
edited an answer 2024-07-10T02:35:29.84+00:00
Arman Sadeghi 0 Reputation points
0 answers

VisualStudio debug services on Docker-Compose not starting

Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,376 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2023-03-20T13:49:46.3733333+00:00
BenT 20 Reputation points
commented 2024-07-09T20:55:21.92+00:00
vsfonseca 0 Reputation points
2 answers

Deploying MAUI Android but getting iOS errors!

I am porting a project from XF to MAUI. I am trying to build a Signle Project Class Library that has TargetFrameworks of <TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks> I have Android and iOS specific files under…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,200 questions
asked 2024-06-28T17:08:33.76+00:00
Pat Long 46 Reputation points
answered 2024-07-09T16:40:29.9033333+00:00
Pat Long 46 Reputation points
0 answers

Visual studio 2022 errors: HRESULT: 0x80040402

I have installed Visual Studio 2022 Community edition. I create a new project. Select: Asp.net web application Select: Folder path, etc. Select: .net framework 4.8 Get the message: Exception from HRESULT: 0x80040402 Note: I have been using Visual…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-06-09T03:17:01.4466667+00:00
Herman Badenhorst 10 Reputation points
commented 2024-07-09T15:15:55.0966667+00:00
Chris A 0 Reputation points
1 answer One of the answers was accepted by the question author.

(Solved) False build errors in VS 2022, WPF C#

I'm working on a C# WPF music player in VS. I opened the project after a short break but with 17 build errors that weren't there before. I can normally build, run, use the running program. Everything included in the errors that is interactive works…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-07-09T08:17:41.4266667+00:00
Svatopluk Černý 20 Reputation points
edited the question 2024-07-09T15:09:21.4466667+00:00
Svatopluk Černý 20 Reputation points
1 answer One of the answers was accepted by the question author.

How to get rid of "Before you get started, we need to setup few things..." dialog

In an automation scenario, I want to install VS 2022 non-interactively. I download the VisualStudioSetup.exe and try running it with different parameters, but regardless of what I do that dreaded dialog pops up, requiring a button click. Which parameter…

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,008 questions
asked 2024-07-04T09:14:24.19+00:00
Mikhail Nikitin 20 Reputation points
commented 2024-07-09T13:53:00.49+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
1 answer

l am getting a machine learning Anoalous. 98% from Visual Studio

Why am l getting a machine learning anoalous when l create an desk top app in visual studio 2022. Malwarebytes has pick it while in debug mode, l allowed it to run why l was creating app then in release mode malwarebytes picks it up again. Thanks

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,866 questions
asked 2024-07-09T10:40:49.93+00:00
Bill Dabonde 0 Reputation points
answered 2024-07-09T13:48:30.5966667+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor
1 answer

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.
4,866 questions
asked 2023-05-18T08:08:58.8633333+00:00
Reuben Kruger 11 Reputation points
commented 2024-07-09T12:45:48.0433333+00:00
Alexander Voß 0 Reputation points
0 answers

IVsSccGlyphs2 didn't call GetCustomGlyphMonikerList() when the project(.net version) is loading

Hi. I am developing a VSIX project. When loading the project, the IVsSccGlyphs2 interface calls the GetCustomGlyphMonikerList member to apply all the badges in the Solution Explorer. However, when debugging a VSIX project, if the solution running is the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,613 questions
Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
191 questions
asked 2024-07-09T02:02:35.18+00:00
현서 고 0 Reputation points
commented 2024-07-09T11:06:21.7533333+00:00
Anna Xiu-MSFT 27,731 Reputation points Microsoft Vendor