116,148 questions
0
votes
0
answers
41
views
Can I create a configurations in Visual Studio that differs in command line options only?
I need to create several configurations with different command line options for my program in C/C++ (VS 2019).
I have created 2 new configurations - C1, C2 with "Create new solution ...
-3
votes
0
answers
43
views
Visual Studio C++, WinForms, Add external class to project
I have started a project with Visual Studio. I am creating a GUI with WinForms. My goal is to click the button and start an external class/function in C++/CLI.
Currently the GUI is locking like this:
...
-1
votes
0
answers
80
views
C++ MSB8041 Error: MFC libraries are required for this project
I installed every available MFC option, which is not out of support, restarted Visual Studio 2022, and I still get this error.
MFC libraries are required for this project. Install them from the ...
-4
votes
0
answers
68
views
I'm trying to run an elemental full-text search algorithm coded in C# using Visual Studio [closed]
I coded a full-text search algorithm in C#, which I want to run on Visual Studio Code 2022, by pasting it on a file. The code is the following:
using System;
using System.Collections.Generic;
using ...
0
votes
0
answers
41
views
Trying to seamlessly run a test site and its unit tests at the same time
We have a Blazor .NET 8.0 site that runs as a test site on a project we're working on. It runs fine, and everything works in Chrome (and we assume other browsers as well). We have some unit tests that ...
1
vote
2
answers
48
views
Visual Studio Pro 2022 React TS & ASP.NET Core Template Not Working from Creation
I am currently just learning to create websites and thought to use the existing Visual Studio Pro 2022 template to get started. I decided to go with the React TS & ASP.NET Core template and yet ...
0
votes
0
answers
27
views
Use launch.vs.json instead of launchSettings.json in Visual Studio
We are having a "main" application that starts one child "compute" worker processes one after the other. The "main" application creates a complex job that is handed over ...
0
votes
0
answers
38
views
Different behaviour of Visual Studio when two users link the same code
My colleague can build our project, while I get the following linker errors:
26>gtest.lib(gtest-all.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match ...
0
votes
0
answers
18
views
Force Resharper spell-checker not to accept a word
I understand that Resharper's spell checker has a user dictionary which can be set in foo.sln.DotSettings and foo.sln.DotSettings.user. This allows you to add additional words so they won't be ...
0
votes
0
answers
30
views
Unable to build Eigen3 with Cmake (MSVC & Clang)
I want to build Eigen3 on windows from source (verison 3.4.0). I have two problems:
When I try to configure it with Visual Studio 17 2022 (MSVC 19.42.34438.0), It's telling me that CXX 11 is not ...
-4
votes
1
answer
60
views
Revert master branch to previous merge in Visual Studio
I've tried cherry picking, checkouts, resetting, revert. I'm beginning to think that I'm still missing something and hopefully someone can point me in the right direction.
In the screenshot shown ...
0
votes
0
answers
14
views
Visual Studio Version 17.14.9 Preview 1.0 | The 'SccDisplayInformationPackage' package did not load correctly
I was using the IDE normally until multi-caret on certain scenario caused a consistent freezing (tried a dozen times. it was pretty consistent) and that lead me to disabling various options in the ...
2
votes
1
answer
102
views
Register-ScheduledTask : parameter in incorrect
I am trying to set up a GCP server running Windows Server 2025 Core Edition to remote debug a Visual Studio File. A required step for this is to run the command "msvsmon.exe" with arguments &...
0
votes
1
answer
87
views
How do I wite unit tests for a visual c++ project which builds a .dll without a .lib - the suggested methods of writing unit tests require a .lib
I have a project which builds a plugin .dll for another program - no .lib is produced for this, despite having several exports. Note that I have very little control over how the exports are defined in ...
1
vote
0
answers
52
views
How to make "Go to definition" work for default Blazor components in Visual Studio 2022?
How do I make options from Peak Definition through Go To Declaration work for default Blazor components, like NavLink or PageTitle? I want to see the source code of these components.
I've tried "...