371 questions with Developer technologies | Visual Studio | Testing tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How can I run vstest.console.exe in 32-bit mode using Visual Studio 2022?

I’m working on a .NET solution that depends on a 32-bit native DLL. Due to this dependency, I need the test host process to run in 32-bit mode to avoid runtime issues. However, I'm facing the following challenges: I'm using Visual Studio 2022, which…

Developer technologies Visual Studio Testing
asked 2025-06-24T05:12:05.44+00:00
Mahesh Kumar 40 Reputation points
accepted 2025-06-26T05:48:12.7733333+00:00
Mahesh Kumar 40 Reputation points
0 answers

IAP is not initialized in a sideload UWP Unity app

I am developing a Unity UWP build in Visual Studio, which has in-app purchases from the Microsoft partner center. When I upload my packages to the partner center and install the app from the store, IAP is working fine. But for testing, I create a…

Developer technologies Visual Studio Testing
asked 2025-05-30T11:12:51.3466667+00:00
ayush shreshthi 0 Reputation points
5 answers

Read PDF file

Hi, Is there an example to read PDF file using Visual studio 2015?

Developer technologies Visual Studio Debugging
Developer technologies Visual Studio Testing
Developer technologies Visual Studio Other
Community Center Not monitored
asked 2020-11-01T10:15:01.21+00:00
Peter_1985 2,736 Reputation points
answered 2025-05-28T06:49:01.96+00:00
PDF Reader Pro 0 Reputation points
0 answers

How to 'publish' a test exe for a DirectX Game project in Visual Studio 2022

I'm attempting to publish an executable file to my disk to learn more about exporting and sharing projects from Visual Studio. I've modified the "DirectX Game UWP" project template, and followed part of the tutorials associated with the…

Developer technologies Visual Studio Testing
asked 2025-05-24T05:02:40.5333333+00:00
Andrew K 0 Reputation points
1 answer

SSH into Mac with VS22 17.13.6 and Mac Sequoia 15.14.1 and Xcode 16.3

With the latest updates to MacOS and Xcode, I am unable to connect my .NET and Xamarin applications to a MacMini. I am getting SSH connection errors when trying to connect to a Mac. I have a second Mac with 15.13.1 and Xcode 16.2. I would think the issue…

Developer technologies Visual Studio Testing
asked 2025-04-30T22:52:46.73+00:00
David Rodenberg 5 Reputation points
answered 2025-05-15T16:26:58.74+00:00
Pat Long 46 Reputation points
2 answers One of the answers was accepted by the question author.

Can't find Targetserverversion as Sql server 2016 in VS 2022

Hi, I have SQL 2016 and VS2022, recently upgraded visual studio to VS2022 and trying to edit the package compatible with version 2016. But, I can't find the targetserverversion as SQL 2016, only I can see SQL 2017, 2019, 2022. Please suggest the…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
Developer technologies Visual Studio Testing
Developer technologies Visual Studio Other
asked 2023-04-07T11:24:07.33+00:00
Sarojkumar 20 Reputation points
answered 2025-05-07T17:25:03.2466667+00:00
Paul D 0 Reputation points
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"…

Developer technologies Visual Studio Testing
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…

Developer technologies Visual Studio Testing
asked 2025-04-10T13:16:27.4166667+00:00
Laurent Le Faucheur 5 Reputation points
commented 2025-04-10T13:50:13.4466667+00:00
Laurent Le Faucheur 5 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?

Developer technologies Visual Studio Testing
asked 2025-04-07T06:24:33.07+00:00
Peter_1985 2,736 Reputation points
edited the question 2025-04-08T04:25:09.7533333+00:00
Peter_1985 2,736 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…

Developer technologies Visual Studio Testing
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,436 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…

Developer technologies Visual Studio Testing
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,436 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…

Developer technologies Visual Studio Testing
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…

Developer technologies Visual Studio Testing
asked 2025-03-05T08:23:21.96+00:00
Lorenzo Zambelli 180 Reputation points
commented 2025-03-19T06:51:39.47+00:00
Tianyu Sun-MSFT 34,436 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…

Developer technologies Visual Studio Testing
asked 2025-03-17T09:53:37.5133333+00:00
Torquinian 21 Reputation points
commented 2025-03-18T09:38:07.5733333+00:00
Tianyu Sun-MSFT 34,436 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.

Developer technologies Visual Studio Testing
asked 2025-03-10T15:11:09.7533333+00:00
Andrew Cooley 0 Reputation points
commented 2025-03-13T08:05:01.4+00:00
Anonymous
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…

Developer technologies Visual Studio Testing
Developer technologies Visual Studio Other
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…

Developer technologies Visual Studio Testing
Developer technologies Visual Studio Other
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:…

Developer technologies Visual Studio Testing
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 31,056 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…

Developer technologies Visual Studio Testing
Developer technologies Visual Studio Setup
Developer technologies Visual Studio Other
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 122.5K 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?…

Developer technologies Visual Studio Testing
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 31,056 Reputation points Microsoft External Staff