objフォルダに生成されるはずのAxInterop.CoReportsViewU.dllが生成されない。
Windows10(64bit)、VS2017 Professional、Coreports Ver11で動作していたPGMを、Windows11(64bit)、VS2022 Professional、Coreports…
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…
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…
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…
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.…
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::*)()…
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/).…
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…
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…
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…
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,…
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…
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?
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…
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',…
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…
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…
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 : …
.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…
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' …