6,224 questions with Visual Studio-related tags

Sort by: Updated
1 answer

Unable to Open Python Files in VisualStudio 2022

An error occurred in 'Miscellaneous Files' while attempting to open 'statisfinapp.py' System.Runtime.InteropServices.COMException (0x80041FEB): Exception from HRESULT: 0x80041FEB at…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-10T22:35:02.15+00:00
shawnxhe 0 Reputation points
answered 2024-05-10T22:50:51.04+00:00
shawnxhe 0 Reputation points
2 answers

An old ASP.NET WebForms app won't build due to missing references and related

I maintain an old ASP.NET WebForms application, written using VB.NET so long ago that no one knows who started this application. The guy who maintained it, before I was given it, left before I joined. He didn't put anything in any source control, and he…

ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,288 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,643 questions
asked 2024-05-08T21:06:30.9666667+00:00
Falanga, Rod, DOH 80 Reputation points
commented 2024-05-10T22:28:36.3666667+00:00
Albert Kallal 4,806 Reputation points
1 answer One of the answers was accepted by the question author.

VS unable to debug unhandled exception

I have configured VS to debug all types: However, I still get this prompt when an app crashes: I just want to get a clue about where this crash comes from. All the code of the app is in try-catch blocks. Could anyone offer a tip?

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.
947 questions
asked 2024-05-10T13:52:03.9+00:00
Hong 1,051 Reputation points
accepted 2024-05-10T22:13:37.9666667+00:00
Hong 1,051 Reputation points
1 answer

vs 2022 – copy/paste from vs to ms word is not in color

Hi, coping text from vs 2022 to ms word shows no color. This happened in vs 2017,19, but fixed that. I cannot seem to find the fix for vs 2022. Here is what I tried.   Download power tools with productivity tools 2022. …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-10T19:29:15.1966667+00:00
iqworks Information Quality Works 236 Reputation points
answered 2024-05-10T20:45:18.23+00:00
Michael Taylor 48,826 Reputation points
2 answers

visual studio docker error: NU1301: Unable to > load the service index for source

Dear All. Can not containerize .NET Web Api project in Visual Studio 2022. Below is my dockerfile: FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base WORKDIR /app EXPOSE 80 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,389 questions
asked 2023-06-17T07:23:18.7533333+00:00
Teymur Hajiyev 35 Reputation points
commented 2024-05-10T19:19:14.9633333+00:00
Manny Saleta 0 Reputation points
2 answers

Issue creating ASP.NET Core web application in Visual Studio 2022

I'm having trouble creating a new ASP.NET Core web application project in Visual Studio 2022. I've tried creating a new project using the built-in templates, but when I do so, nothing appears in the solution that was created, even though the project…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,207 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,643 questions
asked 2023-02-18T15:14:52.12+00:00
sahar rst 10 Reputation points
commented 2024-05-10T18:07:47.8433333+00:00
Justin Fuller 0 Reputation points
0 answers

Need guidance on testing Word add-in project in Visual Studio

I'm currently working on my first Word task pane add-in project following the instructions provided in the Microsoft documentation https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/word-quickstart?tabs=visualstudio I'm using Visual Studio…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
673 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,643 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
883 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,532 questions
asked 2024-05-10T16:10:31.76+00:00
s w 80 Reputation points
edited the question 2024-05-10T17:37:13.1866667+00:00
s w 80 Reputation points
0 answers

How to stop Windows Task Manager from interfering with VS build

I often get the following error after an app under debugging crashes: DEP1000: Cannot copy file "E...\MY_APP\bin\x64\Debug\MY_APP.exe" to layout "E...\MY_APP.UWP\bin\x64\Debug\AppX\entrypoint\MY_APP.exe". IOException - The process…

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.
947 questions
asked 2024-05-10T15:55:53.4466667+00:00
Hong 1,051 Reputation points
1 answer

Visual Studio 2022 has stopped showing errors and intellisense

For the last 7 days Visual Studio 2022 no longer shows red squiggles under any errors in the IDE text editor and no errors in the Errors List window. If I try to build it fails and I can see the errors in the Output window, but no errors are listed in…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-09T15:17:14.2366667+00:00
Dave Barnard 0 Reputation points
commented 2024-05-10T15:40:48.5233333+00:00
Dave Barnard 0 Reputation points
0 answers

how to fix open visual studio problem on my windows ?

https://streamable.com/yh2ieu

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-10T15:21:11.0466667+00:00
Leo Lee 0 Reputation points
0 answers

I tried debugging .NET application but getting SSL CERT warning. How do I fix it?

I tried debugging .NET application in MS VS 2022, but getting SSL CERT warning. Should I install the certificate? Is it mandatory?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,415 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.
947 questions
asked 2024-05-10T14:53:45.1666667+00:00
Rishitha 0 Reputation points
0 answers

How to create a new dll file in vs2022

How to create a new dll file in vs2022, why after I created a new dll file, the compiler reported error C1854: The information formed during the precompilation header process of creating the object file "pch.obj" could not be overwritten.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-10T14:23:22.9433333+00:00
yx 0 Reputation points
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,643 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,922 questions
asked 2024-05-10T12:55:17.3633333+00:00
John Ivan D. Bachiller 0 Reputation points
1 answer One of the answers was accepted by the question author.

Where Does VS Save Breakpoints and Bookmarks?

TL,DR: What files do I need to back up in order to recover my breakpoints and book marks? .suo doesn't seem to be enough. Hello Folks: Developing on Win 10 Pro, Up to Date VS Community. One of my routines for backing up my code has been to save space…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-09T18:04:02.4766667+00:00
a_unique_name 381 Reputation points
accepted 2024-05-10T12:09:13.16+00:00
a_unique_name 381 Reputation points
0 answers

Visual Studio debugger will not step into code of a separate project that builds to a dll (within the same solution)

I have two projects in one solution. One compiles into an exe which depends on the other project that compiles into a dll. When I try to step into a function from the dll that is called within the exe code, it skips over it. My pdb file for the dll is…

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,544 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.
947 questions
asked 2024-05-09T23:39:57.78+00:00
jbl 0 Reputation points
commented 2024-05-10T11:35:26.0566667+00:00
RLWA32 40,771 Reputation points
0 answers

Application update management

I created an application with Visual Studio Community 2019 in VB.net, now I would like to insert, within the software, a link to check for any updates, but to do this I need to have a remote connection to a server or something similar , where I load 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,643 questions
asked 2024-05-10T10:39:38.48+00:00
Giorgio Scintu 0 Reputation points
3 answers

How to achieve that properties set in Myprops.props override those set for the project?

I want to reuse Visual Studio 2022 project settings, but have trouble to understand the docs. There is said: "Properties in a property sheet are overriden if the same property is set directly in the .vcxproj file. I assume that before adding a new…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-06T13:21:32.1466667+00:00
Fred Verhoeckx 0 Reputation points
commented 2024-05-10T09:56:36.8633333+00:00
Fred Verhoeckx 0 Reputation points
1 answer

Restore deleted package on Azure Devops Artifact Feed

We have an Azure Devops Artifact Feed, with NuGet as an upstream source. Somehow, I don't believe we have actually deleted them but we have some deleted packages that we are unable to restore. As you can see below (Searched on the Upstream Source), there…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 questions
asked 2024-05-09T13:38:50.1266667+00:00
James Baker 1 Reputation point
commented 2024-05-10T08:01:16.6566667+00:00
Anna Xiu-MSFT 25,891 Reputation points Microsoft Vendor
1 answer

How to get the index of duplicate elements along with the range of empty elements after it. LINQ

hi Dim ComplexArray As String() = Split("A C A B C A B A B C") Dim Arr3D = {({"A", ({"0-2", "5-9", "16-16", "19-20"})}), ({"B", ({"10-12",…

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,838 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,643 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,580 questions
asked 2024-05-04T15:38:26.2533333+00:00
Mansour_Dalir 1,591 Reputation points
commented 2024-05-10T06:32:29.4533333+00:00
Jiachen Li-MSFT 26,751 Reputation points Microsoft Vendor
9 answers One of the answers was accepted by the question author.

VS Code Debugger not working for python

I am experiencing debugging issue for my VS Code in WIN-10. It happened since weekend when I did OS restart . It was working fine before and I had launch.json configured too. Debugging was working fine. Any troubleshooting tips. It seems when I do…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,643 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.
947 questions
asked 2022-02-07T07:03:40.79+00:00
GHANASHYAM SATPATHY 301 Reputation points
commented 2024-05-10T05:46:52.09+00:00
Dahye Hwang 0 Reputation points