6,228 questions with Visual Studio-related tags

Sort by: Updated
0 answers

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.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 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,545 questions
asked 2024-05-11T18:02:21.64+00:00
Samit Singh 0 Reputation points
commented 2024-05-12T00:10:50.09+00:00
David Lowndes 2,355 Reputation points MVP
0 answers

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
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 questions
asked 2024-05-11T22:47:30.2733333+00:00
iqworks Information Quality Works 236 Reputation points
edited the question 2024-05-11T22:48:36.1133333+00:00
iqworks Information Quality Works 236 Reputation points
1 answer One of the answers was accepted by the question author.

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,545 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-11T18:26:04.8366667+00:00
jbl 0 Reputation points
0 answers

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

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 questions
asked 2024-05-11T16:36:10.93+00:00
Jay 0 Reputation points
0 answers

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}"…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 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,310 questions
asked 2024-05-11T13:45:01.4433333+00:00
tim 120 Reputation points
0 answers

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

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.
5 questions
asked 2024-05-08T09:44:55.24+00:00
Iliana Tzima 0 Reputation points
commented 2024-05-11T13:15:35.6933333+00:00
Iliana Tzima 0 Reputation points
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,647 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,647 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,811 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,071 Reputation points
accepted 2024-05-10T22:13:37.9666667+00:00
Hong 1,071 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,647 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,647 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,208 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,647 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,647 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,071 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,647 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,647 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,647 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,647 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,927 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,647 questions
asked 2024-05-09T18:04:02.4766667+00:00
a_unique_name 401 Reputation points
accepted 2024-05-10T12:09:13.16+00:00
a_unique_name 401 Reputation points