6,324 questions with Visual Studio-related tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

objフォルダに生成されるはずのAxInterop.CoReportsViewU.dllが生成されない。

Windows10(64bit)、VS2017 Professional、Coreports Ver11で動作していたPGMを、Windows11(64bit)、VS2022 Professional、Coreports…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
asked 2024-05-24T09:38:05.2266667+00:00
Enomoto Hikaru/榎本 輝/JFE-SI 20 Reputation points
accepted 2024-05-30T00:41:45.4866667+00:00
Enomoto Hikaru/榎本 輝/JFE-SI 20 Reputation points
1 answer

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,729 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 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,423 questions
asked 2024-05-21T16:58:13.6333333+00:00
Mujtaba Ali Panjwani 0 Reputation points
answered 2024-05-29T12:34:47.2866667+00:00
Anton Moroder 0 Reputation points
2 answers One of the answers was accepted by the question author.

How to select syntax highlighting?

Visual Studio 2022. Part of ym project involves code for an arduino, which is based in C++, but the files end in ino, which vs studio doesn't automatically recognize as code. Is the only way to change the syntax highlighting by changing the file…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
asked 2023-05-31T05:37:27.07+00:00
Eric B 20 Reputation points
commented 2024-05-29T11:03:45.82+00:00
Matěj Bischof 0 Reputation points
0 answers

how to download system dlls of particular version/timestamp

I have a dump collected from a system that i dont have access to. Opening the dump in windbg shows incomplete callstack due to missing kernelbase dll. It should have been downloaded from microsoft symbol server but it has failed. This is a very frequent…

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,881 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.
954 questions
asked 2024-05-29T07:04:28.4566667+00:00
Dev Stability 7 Reputation points
commented 2024-05-29T09:56:51.11+00:00
Dev Stability 7 Reputation points
1 answer

Can't find or use Fortran in Visual Studio 2022

I Can't find or use Fortran in Visual Studio 2022. I have installed the workloads “Desktop development with C++” and “.NET desktop development” in VS properly, AND installed Intel Visual Fortran properly, including oneAPI Base Toolkit and HPC Toolkit.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 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.
182 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.
982 questions
asked 2024-05-15T16:17:08.1166667+00:00
Patrick 0 Reputation points
commented 2024-05-29T08:58:51.9866667+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Program output is correct, but VS reports an error during step-by-step debugging

The C++ code snippet is: class A { public: A(const std::string& ss, const std::string& tt) : s(ss), t(tt) {} void func1() const { std::cout << s; } void func2() const { std::cout << t; } using Action = void (A::*)()…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 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,571 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.
954 questions
asked 2024-05-29T01:58:25.83+00:00
zzzhhh 40 Reputation points
accepted 2024-05-29T07:36:29.5333333+00:00
zzzhhh 40 Reputation points
1 answer

How to configure virtual directory correctly with right permission on Visual Studio to serve Blazor Standalone frontend

I'm currently managing a .NET 6 Blazor standalone application that utilizes WebAssemblyHostBuilder. For deployment, the application is configured to operate under a virtual directory, enabling it to be accessed via a subpath (e.g., test.fr/subpath1/).…

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,435 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,729 questions
asked 2024-05-28T14:57:11.3966667+00:00
Quentin RODIC 0 Reputation points
commented 2024-05-29T06:51:13.39+00:00
Quentin RODIC 0 Reputation points
0 answers

Junk characters issue when trying to read Thai resources (.rc) in Windows App

I am working on the development of a windows app where when the .rc file used in this project is localized in thai junk characters appear on the app UI. We are using ANSI based rc files in this project. I understand that for my app to work I need 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,729 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,455 questions
asked 2024-05-28T14:41:40.8166667+00:00
Daman 0 Reputation points
commented 2024-05-29T02:51:51.62+00:00
Xiaopo Yang - MSFT 11,661 Reputation points Microsoft Vendor
1 answer

Most efficient way to create a layout for an offline installation of visual studio

I have created a layout for an offline installation of visual studio 2019 (community edition). This was done on machine1 which had internet access, using the command vs_community.exe --layout c:\vslayout --lang en-US --add…

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.
982 questions
asked 2024-01-15T18:02:32.6166667+00:00
Greg Booth 1,296 Reputation points
commented 2024-05-28T19:08:32.3433333+00:00
ragnaroktomorrow 0 Reputation points
2 answers

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,729 questions
asked 2024-05-20T11:36:54.8066667+00:00
Tsvetelina Ilieva 0 Reputation points
edited an answer 2024-05-28T15:45:22.2066667+00:00
Flavio Sampaio 0 Reputation points
5 answers

Why are Backspace, Enter, Navigation keys not working while editing any file in Visual Studio?

I am using Visual Studio Extensions, while creating a new solution through extension for the first time, we are only able to type alphabets. Backspace, Enter, Navigation keys are not working while editing any file. But when we force close the solution,…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 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,423 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.
182 questions
asked 2023-02-23T04:57:49.38+00:00
Apurva Kamshetty 25 Reputation points
answered 2024-05-28T15:13:11.97+00:00
Sean Houghton 0 Reputation points
0 answers

How to get Code Coverage in Visual Studio 2022 with CMake Cpp Projects with a Windows Compiler

I have a Cpp project that is being built with the MSVC compiler and using CMake. I need a code coverage solution, preferably one that either provides detailed reports or in Visual Studio code highlighting that is possible using CMake. So far I have tried…

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,571 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
332 questions
asked 2024-05-28T09:01:11.2366667+00:00
Hoad, Tom 0 Reputation points
commented 2024-05-28T13:37:45.93+00:00
Tianyu Sun-MSFT 28,066 Reputation points Microsoft Vendor
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,729 questions
asked 2024-05-21T15:58:26.9933333+00:00
Aaron Gerber 0 Reputation points
commented 2024-05-28T09:47:06.07+00:00
RLWA32 41,456 Reputation points
0 answers

Trouble Generating Dependency Graph for Remote CMake Project in Visual Studio 2017

Problem: I am trying to generate a dependency graph for a CMake project that is built and runs on a remote Linux server using Visual Studio 2017. Despite successfully building the project remotely, when I attempt to generate a dependency graph (.dgml…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
asked 2024-05-24T06:16:32.42+00:00
原 江 0 Reputation points
commented 2024-05-28T08:51:52.7133333+00:00
Tianyu Sun-MSFT 28,066 Reputation points Microsoft Vendor
0 answers

Change the default project name of a Visual Studio Project

I want to change the default project name for all projects in Visual Studio. Whenever I create a new project in Visual Studio, I want it to show the name that I have defined. For example, it should display names like 'NewWindowsApp1', 'NewWindowsApp2',…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
asked 2024-05-23T12:17:25.1633333+00:00
test code 1 Reputation point
commented 2024-05-28T04:43:41.8433333+00:00
Anna Xiu-MSFT 26,731 Reputation points Microsoft Vendor
1 answer

How to fix MSB4242, SDK Resolver Failure, saying it cannot access a file being used by another process

I resolved it already, but adding this here because there was no documentation about MSB4242 and I couldn't find any sites mentioning it along with the same exception message. Not sure why it started. My solution was building just fine before. I don't…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,482 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,729 questions
asked 2024-05-27T19:30:17.46+00:00
shwartz 0 Reputation points Microsoft Employee
edited the question 2024-05-28T04:35:34.0866667+00:00
Rob Caplan - MSFT 5,427 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

Visual Studio 2022- Couldn't install Microsoft.VisualCpp.Redist.14

I'm trying to install Desktop development with C++ for Visual Studio 2022. Attempting to install this using the Visual Studio Installer returns an error stating: Couldn't install Microsoft.VisualCpp.Redist.14 The log file mentions another log file that…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 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,571 questions
asked 2024-05-26T23:35:26.9733333+00:00
OldIslander 20 Reputation points
commented 2024-05-27T20:31:50.2966667+00:00
OldIslander 20 Reputation points
1 answer

XamlC error XFC0062: Undeclared xmlns prefix

Hi, I am doing a first test in .NET Maui but can't get this resolved. I keep getting the same compile error on : Error XFC0062 Undeclared xmlns prefix "mym". MyMauiApp C:\Users\thoma\source\repos\MyMauiApp\MainPage.xaml 17 Output window : …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,018 questions
asked 2024-05-27T15:14:18.1133333+00:00
ThomasB-3258 0 Reputation points
answered 2024-05-27T17:20:30.5633333+00:00
ThomasB-3258 0 Reputation points
2 answers 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,729 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,571 questions
asked 2024-05-04T19:10:34.6166667+00:00
Ahmet Haluk UZUNER 20 Reputation points
answered 2024-05-27T16:10:38.4833333+00:00
Ahmet Haluk UZUNER 20 Reputation points
0 answers

Unable to add Azure Service Authentication account from visual studio 2022

When i try to add new azure service authentication account from visual studio, i get below errors. Object doesn't support property or method 'addEventListener' …

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,729 questions
asked 2024-05-24T17:49:42.79+00:00
Babish Adapa 1 Reputation point
commented 2024-05-27T12:29:21.2333333+00:00
Tianyu Sun-MSFT 28,066 Reputation points Microsoft Vendor