Error squiggle not showing in visual studio code
Can't see error squiggles I have three files in my new C++ empty project, two of which are main.cpp and functions.cpp. I can see error squiggles in main.cpp but it is not in functions.cpp. The show squiggle option is on.
web.config bindingRedirect not working
Hi, I have two projects. I have a MVC web application called MBSAnalysisMVCWebApp. I also have a .net framework MVC project called Mbsa. I want to access a controller method in MBSAnalysisMVCWebApp, from an Mbsa controller method. MBSAnalysisMVCWebApp…
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…
Visual studio 2022 Maui missing android and windows dependencies
Hi, I'm working on the maui and pretty sure when creating a project I had all dependencies - android, ios, mac, & window. Today I just noticed only two dependecies. How can I get the other two (android & windows) back? Thanks, J
how to read ObservableCollection to an array
I may be doing this the long way , I want to read all the Line in my listview. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding Key}"…
In section "Add code to transform and select random images" executing it found some error
This code in jupyter cell images, labels = dataiter.next() returns error "'_SingleProcessDataLoaderIter' object has no attribute 'next'" So found out that the syntax is next(dataiter) and then the even the next cell run successfully
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…