6,271 questions with Visual Studio-related tags

Sort by: Updated
6 answers

Microsoft Visual Studio 2022 has detected that an operation is blocking user input. This can be caused by an active modal dialog or a task that needs to block user interaction. Would you like to shut down anyway?

Yes, there are questions and answers out there, but this is for VS 2022 I develop mainly BLAZOR Server applications at work. Beginning a couple updates ago, I've been getting this dialog: Microsoft Visual Studio has detected that an operation is…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2022-05-27T14:46:11.537+00:00
Mark Miller 51 Reputation points
answered 2024-05-21T17:09:21.8333333+00:00
Alireza Mazaheri 0 Reputation points
1 answer

How to prevent VS from breaking on handled exceptions?

I don't think VS did this until recently. It started breaking at handled exceptions. How do I prevent it?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-05-21T15:58:26.9933333+00:00
Aaron Gerber 0 Reputation points
answered 2024-05-21T17:02:52.9433333+00:00
RLWA32 40,941 Reputation points
0 answers

Custom fonts not working when uploading Maui Android project to Play Store

I have added custom fonts in the font directory of my Maui project's Resources directory and updated the MauiProgram.cs file accordingly. The fonts work fine when I deploy the application using Visual Studio, but when I publish the app and upload it to…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 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,364 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
0 answers

My <app>.dll.config.deploy file is missing in my Application files after publishing with ClickOnce

My windows form app is not running on other computers. I keep receiving the error that the <myappname>.dll.config.deploy is missing (a sentence like that). What should I do to fix that ? I'm stuck for days now.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,852 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,684 questions
asked 2024-05-21T16:54:23.15+00:00
Harold Selasssee Komlah KUMAHOR 0 Reputation points
0 answers

Mixing net standard and visual c++

Hello Using VS 2017, can one have both net standard 2.0 and visual c++ projects in the same solution with the net standard project referencing the visual c++ project (.vsxproj)? If I create one solution containing two projects of this kind using VS 2017…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,450 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,684 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,557 questions
asked 2024-05-21T08:47:24.7566667+00:00
Flade, David 0 Reputation points
commented 2024-05-21T14:45:28.48+00:00
Flade, David 0 Reputation points
0 answers

VS Nuget doesn't work with MAUI but does with WPF

I'm currently using Visual Studio Professional 2022 17.8.9. If I create a WPF project, I'm able to browse Nuget packages. However, if I create a MAUI project and try to browse Nuget, I get the following error message - [nuget.org] Unable to load the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,450 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,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-05-20T19:47:16.7166667+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
edited the question 2024-05-21T12:56:04.25+00:00
Surico, Joseph [CCC-OT] 0 Reputation points
1 answer

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,684 questions
asked 2024-05-20T11:36:54.8066667+00:00
Tsvetelina Ilieva 0 Reputation points
answered 2024-05-21T10:56:40.42+00:00
Tsvetelina Ilieva 0 Reputation points
0 answers

The build tools for v143 (Platform Toolset = 'v143') cannot be found

I am upgrading my application build environment from Visual Studio 2019 to Visual Studio 2022. I have installed and setup the Visual Studio 2022 Professional As VS2019 uses Platform toolset v142 while VS2022 uses platform toolset v143, I will have to…

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.
4,833 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,684 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.
949 questions
asked 2024-05-21T10:13:00.3333333+00:00
Kaustubh Dwivedi 0 Reputation points
commented 2024-05-21T10:46:50.1333333+00:00
RLWA32 40,941 Reputation points
1 answer

Is Microsoft C++ Build Tools - Visual Studio free for commercial use

Hello. Please help. We need to use in our organization Microsoft C++ Build Tools - Visual Studio for Python Library usage in Python. This library demands Microsoft C++ Build Tools for usage. Can we use Microsoft C++ Build Tools for free for commercial…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-05-21T07:47:27.5166667+00:00
Ksandr Yas 0 Reputation points
answered 2024-05-21T10:15:24.2833333+00:00
Tianyu Sun-MSFT 27,801 Reputation points Microsoft Vendor
5 answers

Web Design HTML & CSS

How can i start a web design i only have these options i cant see the stylesheet or javascript items this is a video from youtube as comparison of all the items i dont have heeeeeeeeeelp please

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 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.
178 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.
975 questions
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.
8 questions
asked 2024-05-16T16:08:51.37+00:00
antrax Rob 0 Reputation points
commented 2024-05-21T09:49:50.3066667+00:00
Anna Xiu-MSFT 26,561 Reputation points Microsoft Vendor
1 answer

Submitting EXE to Microsoft Store: Uninstall Policy 10.2.7

I've submitted an app-EXE to Microsoft Store. It was rejected. App review report says EXE does not comply with Security policy 10.2.7: Products need to clearly communicate how they can be removed. There is either no entry for your product in the Add or…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
Microsoft Partner Center
Microsoft Partner Center
A Microsoft website for partners that provides access to product support, a partner community, and other partner services.
886 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,364 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.
975 questions
asked 2023-02-08T18:16:30.34+00:00
TamSoft 0 Reputation points
edited a comment 2024-05-21T09:43:07.54+00:00
Sai Jarugula 0 Reputation points
1 answer

Questions about custom build steps

Hi, this is the same question posted at https://github.com/MicrosoftDocs/cpp-docs/pull/5034 I'm looking at the pages for adding custom build steps to an existing .vcxproj file (namely…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-05-21T07:03:17.48+00:00
Martin Galvan 0 Reputation points
answered 2024-05-21T08:51:22.3133333+00:00
Tianyu Sun-MSFT 27,801 Reputation points Microsoft Vendor
0 answers

Maui app for Android how to get rid of this dialog

Hello All. I use Ver 17.10 preview 7 and android Ver 34. I get the following dialog (image) and when I cancel it all go OK But every time I build my app it's appears and I need to cancel it to continue the build task. Please how I can get rid of it. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-05-19T08:46:12.7066667+00:00
Haviv Elbsz 1,946 Reputation points
commented 2024-05-21T07:58:19.79+00:00
Haviv Elbsz 1,946 Reputation points
1 answer One of the answers was accepted by the question author.

.net8 windows form design view problem.

I am developing Revit addin in Vidual Studio in c++/cli as class library. Before moving to .net platform everyhing was working fine. But in .net Windows form design views doesnt work. Though when I add form element by code. It compiles and works. The…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 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,557 questions
asked 2024-05-04T19:10:34.6166667+00:00
Ahmet Haluk UZUNER 20 Reputation points
edited a comment 2024-05-21T07:03:47.26+00:00
Ahmet Haluk UZUNER 20 Reputation points
1 answer

operation is not valid due to current state of object

I tried to create a new .net web application project, installed workloads are-> ASP.NET and web development, .NET desktop development, data storage and processing, VS extension development, I just change the location , instead of C:\program\user... …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-01-20T14:36:17.5633333+00:00
Shubham 10 Reputation points
commented 2024-05-21T06:10:34.6966667+00:00
Tianyu Sun-MSFT 27,801 Reputation points Microsoft Vendor
1 answer

Deploy a Layout on a Webserver with Authentication

I found the possibility to host my own layout on a webserver as described here https://learn.microsoft.com/en-us/visualstudio/install/create-a-network-installation-of-visual-studio?view=vs-2022 and using the --layoutUri option to specify the address of…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-05-17T13:10:02.53+00:00
Ruething Christoph 0 Reputation points
commented 2024-05-21T05:50:04.1+00:00
Anna Xiu-MSFT 26,561 Reputation points Microsoft Vendor
0 answers

Whenever I deploy my .NET MAUI application to my Android phone, it exits the code, producing an error "GetVersionTask" failed unexpectedly". What could be the solutions for this?

Whenever I deploy my application to my Android phone, it produces the error called ""GetVersionTask" failed unexpectedly." When I run it using Windows Machine, it runs completely normal. What could be the solution to this?

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
commented 2024-05-21T05:39:40.6766667+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor
7 answers

How to target .NET Framework 4.0 in VS 2022 on Windows 11?

Working on some old projects targeting .NET Framework 4.0. I used VS 2022 to open the solution and was told to install 4.0 targeting pack. I can't find the download link on the dotnet website, nor the installation option in Visual Studio Installer. …

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,364 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,130 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.
949 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
8,382 questions
asked 2022-09-05T07:41:23.313+00:00
Lee Feng 136 Reputation points
answered 2024-05-21T04:59:14.85+00:00
Ziya Ganjili 20 Reputation points
1 answer

Unhandled exception: System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).

I added an additional nuget package source to my project. I have entered my username and my password and I can install new nuget packages from the source. But I always get this error when I use the command dotnet tool restore in the Visual Studio…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
asked 2024-05-20T22:46:00.7466667+00:00
Kim Strasser 661 Reputation points
answered 2024-05-21T04:01:35.6166667+00:00
Anna Xiu-MSFT 26,561 Reputation points Microsoft Vendor
1 answer

.net maui MVVM exit button wont file but collection button does. what did I miss?

I'm converting a xaml app to .net maui. I'm not able to find where I'm missing code that is keeping the button from firing the exit code in my viewmodel. i've compared the code for the exit page to my collection page ( In which the button works) but I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,684 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,968 questions
asked 2024-05-20T14:54:19.5166667+00:00
tim 120 Reputation points
answered 2024-05-21T02:46:08.67+00:00
Leon Lu (Shanghai Wicresoft Co,.Ltd.) 69,311 Reputation points Microsoft Vendor