334 questions with Visual Studio Testing tags

Sort by: Updated
0 answers

How to fix "module was not instrumented." Reason:"path_is_excluded" error in Microsoft.CodeCoverage.Console tool?

I'm receiving the following problem while trying to instrument my dll with Microsoft.CodeCoverage.Console tool. module was not instrumented. Reason: path_is_excluded." I'm using Microsoft.CodeCoverage.A console tool for calculating code coverage.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,537 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,780 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,600 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.
334 questions
asked 2024-06-13T06:50:10.2966667+00:00
R M 0 Reputation points
edited a comment 2024-06-20T06:37:24.0566667+00:00
R M 0 Reputation points
2 answers

how to fix the start or execute task button in visual studio 2022

my start button does not work. when i click it it gives the pop up window please select a valid startup item and when i right click in the window it wont show execute task in the drop down window. thank in advance for you help

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.
334 questions
asked 2023-12-08T04:25:35.22+00:00
Joshua Thomas 10 Reputation points
commented 2024-06-14T05:08:10.6633333+00:00
J S 1 Reputation point
1 answer

Mocking objects of the library Microsoft.SqlServer.TransactSql.ScriptDom

I am currently writing the unit tests for a class using the Microsoft.SqlServer.TransactSql.ScriptDom library. I am unable write unit tests for my class as I am unable to set the properties of mocked objects as there is no setter for that property. For…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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,512 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.
334 questions
asked 2024-06-03T09:38:17.7333333+00:00
Ameen Ahmed 0 Reputation points
answered 2024-06-03T16:09:57.6266667+00:00
Bruce (SqlWork.com) 59,306 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,600 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.
334 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,756 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022: Error reopening files (error code 0x80004005)

I have the above error when I rebuild a solution. I used Resource Monitor to see who has the file in question (ABC.exe type) and it shows nobody has it. Following this issue's comments from others, I see no solution.

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.
334 questions
asked 2024-05-16T15:05:39.61+00:00
Robert Glover 1 Reputation point
commented 2024-05-17T03:31:06.8833333+00:00
Anna Xiu-MSFT 27,216 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Use of visual studio community edition for testing VSTO projects?

I am more familiar with Visual studio over VS code and I was wondering with my work PC if I could test some VSTO projects as to see if worth migrating our VBA projects to something modern. I was thinking for the testing to use the community edition.…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
334 questions
asked 2024-05-14T14:22:36.82+00:00
Jonathan Brotto 180 Reputation points
commented 2024-05-15T16:29:51.15+00:00
RLWA32 42,006 Reputation points
4 answers

Webbrowser not shown in Toolbox

I have activated the Webbrowser in Extras/Toolboxelements but its not shown in the Toolboxlist. What do i wrong?

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.
334 questions
asked 2020-12-07T09:00:51.273+00:00
Roland Löffler 21 Reputation points
edited a comment 2024-04-29T14:36:58.4+00:00
Ngô Khánh Dương 0 Reputation points
1 answer One of the answers was accepted by the question author.

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…

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.
334 questions
asked 2024-04-24T14:39:34.47+00:00
Mohammed Zahid 20 Reputation points
commented 2024-04-29T11:41:57.0966667+00:00
Mohammed Zahid 20 Reputation points
1 answer

unit test in visual studio for d365 fo using x++

I create the unit test in visual studio 2022. create the employ class and employTest class. the test class extends the sysTestcase and i add the test method the write in below: [SysTestMethodAttribute] void testName() { // Verify that the employee name…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
961 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.
334 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.
990 questions
asked 2024-04-26T05:12:47.0533333+00:00
Gokulraj Chandrasekaran 0 Reputation points
edited the question 2024-04-26T06:29:37.53+00:00
VarunTha 4,885 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How to change the mouse cursor color in Visual Studio 2022?

Hi to every one, I would like to change the color of the mouse cursor on Visual Studio Community 2022, as I have installed the "dark" theme, which I really like, but the mouse cursor is practically invisible. How can I go about changing it? I…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
188 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.
961 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.
334 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.
990 questions
asked 2023-03-15T16:31:08.15+00:00
Matteo Tomasetti 25 Reputation points
commented 2024-04-25T20:34:56.4766667+00:00
Juan Pablo Ramirez 0 Reputation points
1 answer

Load testing for signalR core

Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,300 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,379 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.
334 questions
asked 2021-09-20T21:25:19.077+00:00
Meray Wafik 1 Reputation point
commented 2024-04-23T14:08:53.4533333+00:00
Hossein Esmaeili 0 Reputation points
0 answers

vb.net Unit Test Project .NET Framework 4.8 has stopped seeing all subroutines and function in the project being tested.

I have created a vb.net project using .NET Framework 4.8 with a single public subroutine. Also, created a Unit Test project within the same solution and set the references in the Unit Test project pointing to the project being tested. I was able to…

VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,636 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.
334 questions
asked 2024-04-22T05:25:41.7233333+00:00
John Smith 0 Reputation points
edited a comment 2024-04-23T03:00:30.9933333+00:00
Anna Xiu-MSFT 27,216 Reputation points Microsoft Vendor
1 answer

can not find path for sqlite db in Maui app

i try to create local sqlite db in maui app . private const string DbName = "SweetsShopDb.db3"; private static string DbPath => Path.Combine(Environment.GetFolderPath( Environment.SpecialFolder.LocalApplicationData),…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,072 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,512 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.
961 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.
334 questions
asked 2024-04-17T07:00:39.2033333+00:00
amr yakout 40 Reputation points
answered 2024-04-18T07:50:38.5666667+00:00
Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 37,826 Reputation points Microsoft Vendor
1 answer

MSTest Tests in Test Explorer are arranged in reverse alphabetical order by default.

MSTest Tests are arranged in reverse alphabetical order by default. I want to execute the tests in alphabetical order but they are shown in Test Explorer in reverse alphabetical order by default

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
334 questions
asked 2023-02-04T18:22:39.1466667+00:00
Mohit Dadhich 0 Reputation points
commented 2024-04-09T08:27:54.3366667+00:00
Nitesh Shekhawat 0 Reputation points
1 answer

How can I remove Test Points from my Test Plan Progress Report

Hello, Test points are redundant as part of the reporting function in Azure Dev Ops when i do my test progress report, is there a way that they can be removed? If so please could a guide be provided ive searched online but cant find anything, below are…

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.
334 questions
asked 2024-04-08T11:03:47.2133333+00:00
John Stephenson 0 Reputation points
answered 2024-04-09T06:05:31.8133333+00:00
Anna Xiu-MSFT 27,216 Reputation points Microsoft Vendor
0 answers

Unit test command line arguments

How can I get the arguments specified in the following dialog: [TestMethod] public void Test1() { // How get the command line arguments? }

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.
334 questions
asked 2024-04-02T08:22:34.0433333+00:00
杨岑 166 Reputation points
commented 2024-04-03T06:52:24.2533333+00:00
Anna Xiu-MSFT 27,216 Reputation points Microsoft Vendor
0 answers

Visual Studio 2022 issue on DevBox - Status 400(Bad Request)

Hi, we are trying to run build on visual studio on DevBox. When opening VS it is asking to re-enter credentials. Entering credentials gives error 53003.  When account was removed and added again, it asks for 2FA and login in successfully. BUT! Running…

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
334 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.
990 questions
asked 2024-03-20T14:15:46.74+00:00
Alina De-Monti 20 Reputation points
commented 2024-03-26T13:56:34.1066667+00:00
Anna Xiu-MSFT 27,216 Reputation points Microsoft Vendor
0 answers

DevOps Build. How to build a multi-project solution (Windows Service) that has a windows forms test harness

We have an old Windows service I am trying to move to GIT and DevOps (on prem). The service project builds off of 3 other projects in the solution however there is a 5th project which is a windows forms app that we use to develop and debug. I would…

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.
961 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.
334 questions
asked 2024-03-23T23:11:01.74+00:00
McAninch, Robin 51 Reputation points
commented 2024-03-25T09:50:21.5566667+00:00
Tianyu Sun-MSFT 28,756 Reputation points Microsoft Vendor
1 answer

Visual Studio 2022 cannot start debugging

Created a new project using C# Console app and .NET 8 Framework and I cannot run my code as it is greyed out

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,780 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.
961 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.
334 questions
asked 2024-03-07T15:57:01.87+00:00
Vivek Kahar (Student) 0 Reputation points
commented 2024-03-20T05:26:00.8466667+00:00
Tianyu Sun-MSFT 28,756 Reputation points Microsoft Vendor
1 answer

Visual Studio 2022 Code Coverage

Visual Studio 2022 Enterprise has the unit test features. One of them is to record/show the code coverage. I would like to ask about... (1) Is the coverage level C0? (2) Do we have any options to switch the coverage level to C1 and/or C2?

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.
334 questions
asked 2022-04-14T02:07:48.623+00:00
answered 2024-03-15T03:06:03.4466667+00:00