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…
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…
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…
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?
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 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…
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…
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…
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 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…
how to fix open visual studio problem on my windows ?
https://streamable.com/yh2ieu
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?
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.
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?
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…
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…
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…
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…
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",…
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…