Visual Studio 2022 17.12.4 can't connect test runner process
After upgrading visual studio 2022 to 17.12.4, for .net 8 test project which is using MSTest and Xunit at same time, it always fails to execute tests from test explorer. The error message is like below: "Unable to connect to testing platform runner…
How to do unit testing on node.js web application in visual studio?
I created a project in Visual Studio 2022. I created a node.js web application using the "Blank node.js web application" template. I want to create a unit test. What is the recommended way to do that? I hit problems following an article that…
Random MessageBox when executing tests
Hello, we are running vstest.console in Visual Studio 2022 Enterprise Edition on a Hyper-V Windows 11 24H2 virtual machine, and we randomly get the blocking messagebox you see in the screenshot below, does anyone know the cause of that and how to fix…
"Value does not fall within the expected range" error when editing XAML with VS 2022
Hi, I'm using Visual Studio 2022 to develop some WPF/XAML applications - i've previously been developing C# and python - and am now seeing an intermittent error when editing XAML files that i have not seen before: A popup that says: "Value does…
Unit tests cannot run
What is causing this error? Building Test Projects Starting test discovery for requested test run ========== Starting test discovery ========== You must install or update .NET to run this application. App:…
How to save/print "Compare with ..." output in Visual Studio?
Need to store code changes for each application change that will occur. Visual Studio 2022 "Compare with ..." produces the output I need to store but I don't know a way to print/export (save to a file) the compare window. Screenshots are not an…

Azure DevOps server 2022 - View execution of in-progress tests orchestrated with Maven
We are executing selenium tests using maven and the output of our task is a very standard JUNIT output. We do see a tab added to out build output with the test results which is helpful, now we need the output as we run the tests, how can we achieve that?…
Azure DevOps: How to export test results (outcome) to Excel?
How to export test results (outcome) to Excel in Azure DevOps? Google returns: "To export test results from Azure DevOps, you can use the built-in functionality within the Test Plans section, which allows you to export test cases and results…
How to set up encryption keys for a software implementation
To properly set up encryption keys for a software implementation, you must first determine whether you need to use symmetric or asymmetric algorithms. Symmetric algorithms require the creation of a key and an initialization vector (IV), while asymmetric…
How to execute in parallel C++ tests written with the Microsoft Unit Testing Framework ?
We are writing C++ tests with the help of Microsoft Unit Testing Framework (https://learn.microsoft.com/en-us/visualstudio/test/how-to-use-microsoft-test-framework-for-cpp?view=vs-2022#run-the-tests) Tests are running fine, it works within Visual…
How to fix LNK1181 error (including libs)
Severity Code Description Project File Line Suppression State Details Error LNK1181 cannot open input file 'C:\6money\libs.obj' Dll1 C:\6money\Money\Dll1\LINK 1 Hello, I'm currently facing an issue when trying to link the lua54.lib library in my…
How to use VSTest.Console.exe to get code coverage for changed files only
Visual Studio Enterprise's Analyze Code Coverage function supports Changeset Report. I want to be able to get a code coverage changeset report i.e. report for only the changes files in my current branch from the command line by using VSTest.Console.exe.…
Creation of test suites
When creating a test suite you specify an area path and select functional requirements. When you open the created suite the area path is not the same as you specified before creating the suite, Why? There is no information in the suite from which…
Is there a way to bulk import test cases with the summaries included (for example the descriptions) in Azure DevOps?
Hi All, Apologies if this is the incorrect tag for this question. I know understand there is a way to just import the test plans, however is there a way to bulk import test cases with the summaries included (for example the descriptions field on the…
"The ordinal 345 not found in the DLL" error
I am facing an issue with a Visual Studio solution that contains a development project and a newly added unit test project to test this development project. The unit test project compiles without any issues, but when I run it, I get the following error…

why I cannot login server for hotmail email by python?
i got error when logging in the server by python coding for hotmail account even I created a new one. server.login('******@hotmail.com', 'password')
Microsoft Fakes and real object constructor
I'm using .NET 4.8 and Microsoft Fakes to create Shim object for unit testing. This class (KRSampleManager) is using Lazy initialization to create an instance and implements IDisposable interface. namespace SampleManager { public class…
TUnit Test is not showing in the Test Explorer
I created this simple test: namespace TestingApplication { public class TestsExample { [Test] public async Task TestExample() { var sum=Add(3,5); await Assert.That(sum).IsEqualTo(3); } …
How to Retest Without Losing Previous Results in Azure Test Plans?
Hi everyone, I’ve already set up my Test Suite, Test Plans, and Test Cases. However, I’m trying to figure out how to run the same tests again while keeping the results from the previous runs intact. Any tips on how I can achieve this without overwriting…
Config file based pipeline trigger
ADO pipeline stages has to trigger based on config file Config file :- Ex:- triggerBlackDuck = true triggerBSP = false triggerSonarQube = true triggerCoverity = true triggerBuildSDK = false I have 5 stages in my pipeline, Based on…