367 questions with Visual Studio Testing tags

Sort by: Updated
0 answers

VB 2010 , when create new EXE , why windows 10 security say its not virus and windows 11 say its virus file

VB 2010 , when create new EXE , why windows 10 security say its not virus and windows 11 say its virus file I create a new exe in vb 2010 or vb 2019  I use this setting also  <requestedExecutionLevel level="requireAdministrator"…

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.
367 questions
asked 2025-04-20T11:47:53.8666667+00:00
SPACE SOFT 0 Reputation points
0 answers

"INTERNAL COMPILER ERROR" CL.exe exited with code -529706956

VS2019 was fine on my small project. I found my problem to be close to https://godbolt.org/z/Y1xoGPMba reported one year ago without answer here…

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.
367 questions
asked 2025-04-10T13:16:27.4166667+00:00
Laurent Le Faucheur 0 Reputation points
commented 2025-04-10T13:50:13.4466667+00:00
Laurent Le Faucheur 0 Reputation points
0 answers

Change on the existing VS project for running it on Android

Hi, We built mobile app project to DLL file. How to ensure that the executable file is fine to be run on Android or the other OS? How to do the relevant change on the existing VS project for running it on Android or the other OS?

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.
367 questions
asked 2025-04-07T06:24:33.07+00:00
Peter_1985 2,731 Reputation points
edited the question 2025-04-08T04:25:09.7533333+00:00
Peter_1985 2,731 Reputation points
1 answer

"No Tests have been found in this workspace yet" - Unable to run jUnit

Hello! I'm having trouble running jUnit tests. The "Enable Junit Tests" button does not show up for me, however it was working previously to this day. I have some super simple code for an example: public class Greet { public String…

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.
367 questions
asked 2025-04-02T19:20:06.13+00:00
Maggie olanubi 0 Reputation points
answered 2025-04-03T07:11:57.1166667+00:00
Tianyu Sun-MSFT 34,306 Reputation points Microsoft External Staff
1 answer

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

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.
367 questions
asked 2025-03-01T02:31:13.1333333+00:00
Felgryn 0 Reputation points
commented 2025-03-24T06:32:13.0066667+00:00
Tianyu Sun-MSFT 34,306 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Is it possible to have copilot use my own standards for how it writes unit tests?

I find the most recent combo of VS2022 and copilot have gotten much better at writing unit tests. They have gone from doing 40-50% of the work to perhaps 80%, depending on the complexity of the class (I am using C#) I use a prompt like "using mstest…

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.
367 questions
asked 2025-03-16T14:32:28.7233333+00:00
Steven Bloomfield 20 Reputation points
commented 2025-03-20T17:28:39.9766667+00:00
Steven Bloomfield 20 Reputation points
1 answer

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…

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.
367 questions
asked 2025-03-05T08:23:21.96+00:00
Lorenzo Zambelli 165 Reputation points
commented 2025-03-19T06:51:39.47+00:00
Tianyu Sun-MSFT 34,306 Reputation points Microsoft External Staff
1 answer

Why does VS2022 insist on including the EXE in the Dependencies?

I have to set up a training version of a production system so that employees from a sister company can train on it before having to use the production system. I have made things as near identical as I can, but the thing that is bugging me at the moment…

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.
367 questions
asked 2025-03-17T09:53:37.5133333+00:00
Torquinian 1 Reputation point
commented 2025-03-18T09:38:07.5733333+00:00
Tianyu Sun-MSFT 34,306 Reputation points Microsoft External Staff
1 answer

Test Plan report needed with test run documentation attachments / screenshots

How do I extract test point support as part of a test plan summary report? I do not see this option within the current enhanced reporting, except to include attachments from the work item itself and not the test run.

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.
367 questions
asked 2025-03-10T15:11:09.7533333+00:00
Andrew Cooley 0 Reputation points
commented 2025-03-13T08:05:01.4+00:00
Dou Xu-MSFT 560 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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.
367 questions
asked 2025-02-07T02:18:20.4766667+00:00
Shi, Jason (Shanghai) 50 Reputation points
answered 2025-03-06T09:13:03.8833333+00:00
Shi, Jason (Shanghai) 50 Reputation points
2 answers One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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.
367 questions
asked 2024-01-28T19:45:56.46+00:00
Wayne Roseberry 20 Reputation points
edited an answer 2025-03-05T14:15:03.2433333+00:00
Alberto Martin 0 Reputation points
1 answer

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:…

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.
367 questions
asked 2025-01-28T14:45:03.52+00:00
ammamm 0 Reputation points
commented 2025-02-05T09:08:40.0633333+00:00
Anna Xiu-MSFT 30,956 Reputation points Microsoft External Staff
1 answer

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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.
367 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.
1,144 questions
asked 2025-02-01T00:00:07.2133333+00:00
Steiner, Thomas 0 Reputation points
edited a comment 2025-02-01T08:07:04.7066667+00:00
Viorel 121.3K Reputation points
1 answer

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?…

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.
367 questions
asked 2025-01-29T16:12:37.0466667+00:00
Nicolas Wright 0 Reputation points
answered 2025-01-30T04:52:13.08+00:00
Anna Xiu-MSFT 30,956 Reputation points Microsoft External Staff
1 answer

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…

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.
367 questions
asked 2025-01-28T02:21:43.17+00:00
Isac, D 0 Reputation points
answered 2025-01-28T04:08:38.9066667+00:00
Anna Xiu-MSFT 30,956 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

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…

Azure DevTest Labs
Azure DevTest Labs
An Azure service that is used for provisioning development and test environments.
287 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.
367 questions
Azure Load Testing
Azure Load Testing
An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application
78 questions
asked 2024-07-29T13:54:05.25+00:00
John Gaspar 20 Reputation points
edited the question 2025-01-27T04:27:40.4333333+00:00
Rakesh Gurram 14,130 Reputation points Microsoft External Staff
2 answers One of the answers was accepted by the question author.

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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,911 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.
367 questions
asked 2025-01-15T10:58:01.3766667+00:00
Julianis 20 Reputation points
accepted 2025-01-17T08:05:23.63+00:00
Julianis 20 Reputation points
0 answers

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…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,449 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,911 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.
1,066 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.
367 questions
asked 2025-01-15T17:57:11.9633333+00:00
Yuri 0 Reputation points
commented 2025-01-17T07:12:29.2533333+00:00
Minxin Yu 13,501 Reputation points Microsoft External Staff
1 answer

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.…

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.
367 questions
asked 2025-01-08T12:37:00.34+00:00
Alex 0 Reputation points
edited a comment 2025-01-16T07:05:50.0533333+00:00
Tianyu Sun-MSFT 34,306 Reputation points Microsoft External Staff
1 answer

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…

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.
367 questions
asked 2025-01-13T13:23:15.99+00:00
Stig Larsson 0 Reputation points
answered 2025-01-14T03:27:08.72+00:00
Anna Xiu-MSFT 30,956 Reputation points Microsoft External Staff